mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Automatically require rubygems when --dev flag is given.
This commit is contained in:
parent
79376e3c9d
commit
d0f98420ea
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ if %w(--version -v).include? ARGV.first
|
|||
exit(0)
|
||||
end
|
||||
|
||||
ARGV << "--help" if ARGV.empty?
|
||||
ARGV << "--help" if ARGV.empty?
|
||||
require 'rubygems' if ARGV.include?("--dev")
|
||||
|
||||
require 'rails/generators'
|
||||
require 'generators/rails/app/app_generator'
|
||||
|
|
Loading…
Reference in a new issue