aboutsummaryrefslogtreecommitdiffstats
path: root/install.rb
blob: bf843e251efa672aec01f3370b49f8280fabe1e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
version = ARGV.pop

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

puts "Installing Rails..."
`gem build rails.gemspec`
`gem install rails-#{version}.gem --local --no-ri --no-rdoc `
`rm rails-#{version}.gem`