diff options
author | Kite <ixkaito@gmail.com> | 2015-08-14 18:42:44 +0900 |
---|---|---|
committer | KITE <ixkaito@gmail.com> | 2015-08-14 23:37:01 +0900 |
commit | f2c72df110371f51f6ffdabda5e23a9db74903a6 (patch) | |
tree | f756d170c139de57cbf4eae8dd5ff6b06bbaf382 | |
parent | 9c0b4081765093096bee06ff30809f1cb7076d78 (diff) | |
download | rails-f2c72df110371f51f6ffdabda5e23a9db74903a6.tar.gz rails-f2c72df110371f51f6ffdabda5e23a9db74903a6.tar.bz2 rails-f2c72df110371f51f6ffdabda5e23a9db74903a6.zip |
Remove `version` argument in install.rb
-rw-r--r-- | install.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/install.rb b/install.rb index 933e5ee9a2..d5ea1422ae 100644 --- a/install.rb +++ b/install.rb @@ -1,9 +1,6 @@ -version = ARGV.pop +# Usage: ruby install.rb -if version.nil? - puts "Usage: ruby install.rb version" - exit(64) -end +version = File.read(File.expand_path('../RAILS_VERSION', __FILE__)).strip %w( activesupport activemodel activerecord actionpack actionview actionmailer railties activejob ).each do |framework| puts "Installing #{framework}..." |