Skip to content
Browse files

Merge pull request #8729 from timraymond/help_message_for_install_script

Adding a usage message to install.rb script
  • Loading branch information...
2 parents a896609 + 66258c0 commit fdd6271e1bd61bbe19069224de0dc124da690ff1 @rafaelfranca rafaelfranca committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 install.rb
5 install.rb
@@ -1,5 +1,10 @@
version = ARGV.pop
+if version.nil?
+ puts "Usage: ruby install.rb version"
+ exit(64)
%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`

0 comments on commit fdd6271

Please sign in to comment.
Something went wrong with that request. Please try again.