Permalink
Browse files

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
  • Loading branch information...
jeremy committed Apr 9, 2007
1 parent 01c35c8 commit d699084f7a050b1aaffe81ce0be84d72e2530eb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/commands/console.rb
@@ -10,7 +10,7 @@
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"

0 comments on commit d699084

Please sign in to comment.