Clear RUBYOPT when spawning packaged ruby environment to avoid trying to require system gems
Reported by Mat Schaffer | January 25th, 2010 @ 08:44 PM
If RUBYOPT="-rubygemsf" you can run into problems like this:
e:\dev\digitalarchive_trunk>redcar
Redcar 0.3.2dev (jruby )
Exception in thread "main" :1: no such file to load -- ubygemsf
(LoadError)
...internal jruby stack elided...
from (unknown).(unknown)(:1)
Because the packaged jruby is picking up on RUBYOPT. We should have some sort of strategy for avoiding this sort of error.
Originally from this thread:
http://groups.google.com/group/redcar-editor/browse_thread/thread/8...
Comments and changes to this ticket
-
Daniel Lucraft January 31st, 2010 @ 07:44 AM
- State changed from new to open
-
Roger February 4th, 2010 @ 06:14 PM
- Tag set to startup
http://github.com/rdp/redcar/commit/7fc4efa0180f213c220a6c26b2f0cc4... might help (seems to work for me on doze)
-
Daniel Lucraft February 14th, 2010 @ 06:37 PM
- State changed from open to resolved
Great, thanks.
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.