Do not use --local option when installing the gems

This commit is contained in:
Rafael Mendonça França 2013-02-25 11:51:06 -03:00
parent c0bc9ce38c
commit 2eb89627d8
1 changed files with 3 additions and 3 deletions

View File

@ -7,10 +7,10 @@ end
%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`
`cd #{framework} && gem build #{framework}.gemspec && gem install #{framework}-#{version}.gem --no-ri --no-rdoc && rm #{framework}-#{version}.gem`
end
puts "Installing Rails..."
puts "Installing rails..."
`gem build rails.gemspec`
`gem install rails-#{version}.gem --local --no-ri --no-rdoc `
`gem install rails-#{version}.gem --no-ri --no-rdoc `
`rm rails-#{version}.gem`