Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.5
-
Fix Version/s: JRuby 1.2
-
Component/s: Miscellaneous
-
Labels:None
-
Environment:OS X 10.5.5 under the standard terminal running bash
-
Number of attachments :
Description
$ cd ~/Downloads/test\ spaces/jruby-1.1.5/bin/
$ export PATH=`pwd`:$PATH
$ which jruby
/Users/adam/Downloads/test spaces/jruby-1.1.5/bin/jruby
$ jruby
Exception in thread "main" java.lang.NoClassDefFoundError:
spaces/jruby-1/1/5/lib/native/darwin
jgem, jirb, etc, give the same error.
I also have the same problem if I don't put jruby on the PATH and instead just got to the jruby bin folder and run ./jruby
Patch to fix launching using absolute path when jruby path has spaces. Patched against 1.1.6 tag.