#287 ✓resolved
Steven Hancock

Problem running Redcar with Ruby 1.9.2

Reported by Steven Hancock | August 19th, 2010 @ 03:10 AM

I just upgraded my RVM default ruby to 1.9.2-p0 and when I try to run bin/redcar this is all I get...

ruby-1.9.2-p0
steven@deathstar:~/redcar$ bin/redcar
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- bin/../lib/redcar_quick_start (LoadError)
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from bin/redcar:4:in `<main>'

Apparently this has something to do with changes made in the way Ruby 1.9.2 handles the load path. The solution I found was to use File.expand_path on the four 'require' lines that use File.join. My fix can be found here...
http://github.com/stevenh512/redcar/tree/run_on_192

This runs on 1.9.2-p0, I also tested it on 1.8.7-p302 and jruby 1.5.1 just to make sure it doesn't break anything there. :)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

Pages