This project is archived and is in readonly mode.
"ruby script/console" won't work with paths containing ":"
Reported by Vladimir Zakharov | July 26th, 2008 @ 12:18 AM | in 2.x
ruby script/console won't launch if the project path contains the ":" character.
Algorithm:
create a project "app"
run ruby script/console (OK)
rename the project directory to "app:"
run ruby script/console, and you get the following error:
=====
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- application
(MissingSourceFile)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
`new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require'
from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/console_with_helpers.rb:19
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
`new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require'
from /usr/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:250:in `each'
from /usr/lib/ruby/1.8/irb/init.rb:250:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/bin/irb:13
=====
my system is: EeePC with Xandros linux
Comments and changes to this ticket
-
til July 28th, 2008 @ 07:16 PM
Confirmed on Ubuntu,
$ rails -v
Rails 2.1.0
$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
-
Tarmo Tänav September 18th, 2008 @ 06:02 AM
- State changed from new to invalid
- Tag changed from activesupport, bug to activesupport, bug
Closing since this is a ruby bug.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>