mirror of
https://github.com/github/rails.git
synced 2026-01-08 06:13:56 -05:00
Add install script for testing gems locally
This commit is contained in:
11
install.rb
Normal file
11
install.rb
Normal file
@@ -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`
|
||||||
Reference in New Issue
Block a user