mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Require rails_version instead of version
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
d40d3e0b7b
commit
08a010eb1b
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ end
|
||||||
|
|
||||||
Signal.trap("INT") { puts; exit }
|
Signal.trap("INT") { puts; exit }
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../lib/version'
|
require File.dirname(__FILE__) + '/../lib/rails_version'
|
||||||
abort "Rails #{Rails::Version::STRING}" if %w(--version -v).include? ARGV.first
|
abort "Rails #{Rails::Version::STRING}" if %w(--version -v).include? ARGV.first
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../lib/rails_generator'
|
require File.dirname(__FILE__) + '/../lib/rails_generator'
|
||||||
|
|
Loading…
Reference in a new issue