1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/install.rb
Brook Riggio 856f13ab05 Whitespace only: Use single newline at end of file.
Bring these files into accordance with the prevailing convention.
2012-01-27 23:24:23 -08:00

11 lines
456 B
Ruby

version = ARGV.pop
%w( activesupport activemodel activerecord activeresource actionpack actionmailer railties ).each do |framework|
puts "Installing #{framework}..."
`cd #{framework} && gem build #{framework}.gemspec && gem install #{framework}-#{version}.gem --no-ri --no-rdoc && rm #{framework}-#{version}.gem`
end
puts "Installing Rails..."
`gem build rails.gemspec`
`gem install rails-#{version}.gem --no-ri --no-rdoc `
`rm rails-#{version}.gem`