Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add install script for testing gems locally

  • Loading branch information...
commit f79f9a74a4b593e8c36d14c43a030b9a12c69255 1 parent 06b9531
@dhh dhh authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 install.rb
View
11 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`
Please sign in to comment.
Something went wrong with that request. Please try again.