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:
parent
01c35c8175
commit
d699084f7a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue