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
-
agmcleod August 24th, 2010 @ 01:01 AM
Would you be able to pull the most recent source and give it another go (make sure you do git submodule update, bin/redcar install and the build steps). I tried it with: ruby 1.9.2dev (2010-04-30 trunk 27557) [x86_64-darwin10.3.0] and it worked for me.
-
Steven Hancock August 24th, 2010 @ 01:25 AM
I posted this before I was given commit access. I pushed this change yesterday, so it works now.
-
tim.felgentreff (at student.hpi.uni-potsdam) February 19th, 2011 @ 01:00 PM
- State changed from new to resolved
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.
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.