mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user