Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

"ruby script/console" won't work with paths containing ":"

#708

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

Reported by Vladimir Zakharov · July 26th, 2008 @ 12:18 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. til
    til

    Confirmed on Ubuntu,

    $ rails -v

    Rails 2.1.0

    $ ruby -v

    ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]

    July 28th, 2008 @ 07:16 PM

  2. Vladimir Zakharov
  3. Tarmo Tänav
    Tarmo Tänav
    • State changed from new to invalid
    • Tag changed from activesupport, bug to activesupport, bug

    Closing since this is a ruby bug.

    September 18th, 2008 @ 06:02 AM

  4. bingbing