1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

script/console quotes RAILS_ROOT in irb command line so it works with spaces in the path. Closes #7955.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2007-04-09 17:34:24 +00:00
parent 01c35c8175
commit d699084f7a

View file

@ -10,7 +10,7 @@ OptionParser.new do |opt|
end
libs = " -r irb/completion"
libs << " -r #{RAILS_ROOT}/config/environment"
libs << %( -r "#{RAILS_ROOT}/config/environment")
libs << " -r console_app"
libs << " -r console_sandbox" if options[:sandbox]
libs << " -r console_with_helpers"