diff options
-rw-r--r-- | install.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/install.rb b/install.rb new file mode 100644 index 0000000000..05bba27a14 --- /dev/null +++ b/install.rb @@ -0,0 +1,11 @@ +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`
\ No newline at end of file |