Jruby Snow Leopard Issue (JIT)

View: New views
5 Messages — Rating Filter:   Alert me  

Jruby Snow Leopard Issue (JIT)

by Matthew Kanwisher-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anyone else seeing the problem on snow leopard, I constantly see it on my macbook air (Jruby 1.3.1)  and now with the new release I'm starting to see it on my macbook also on Jruby 1.4RC2. 
 
:$ jruby -S gem 
Error, could not compile; pass -d or -J-Djruby.jit.logging.verbose=true for more details

~Matt

Re: Jruby Snow Leopard Issue (JIT)

by Mario Camou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would first check what the result is for:

$ java -version
$ which jruby

-Mario.

--
I want to change the world but they won't give me the source code.


On Thu, Oct 22, 2009 at 18:49, Matthew Kanwisher <Matt@...> wrote:
Anyone else seeing the problem on snow leopard, I constantly see it on my macbook air (Jruby 1.3.1)  and now with the new release I'm starting to see it on my macbook also on Jruby 1.4RC2. 
 
:$ jruby -S gem 
Error, could not compile; pass -d or -J-Djruby.jit.logging.verbose=true for more details

~Matt


Re: Jruby Snow Leopard Issue (JIT)

by Hassan Schroeder-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 22, 2009 at 9:49 AM, Matthew Kanwisher <Matt@...> wrote:
> Anyone else seeing the problem on snow leopard, I constantly see it on my
> macbook air (Jruby 1.3.1)  and now with the new release I'm starting to see
> it on my macbook also on Jruby 1.4RC2.
>
> :$ jruby -S gem
> Error, could not compile; pass -d or -J-Djruby.jit.logging.verbose=true for
> more details

And what does the verbose logging give you?

--
Hassan Schroeder ------------------------ hassan.schroeder@...
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Jruby Snow Leopard Issue (JIT)

by Matthew Kanwisher-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ROFLOL solution is rather funny, I install jruby in "/java/jruby" so when it was compiling gem it was coming up with a classname thats invalid since it starts with java, I changed the install directory to "/matt/jruby" and all is well. 

jruby -S gem -J-Djruby.jit.logging.verbose=true
could not compile: /java/jruby/bin/gem because of: "Prohibited package name: java.jruby.bin"
java.lang.SecurityException: Prohibited package name: java.jruby.bin
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:559)
at java.lang.ClassLoader.defineClass(ClassLoader.java:694)
at org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:22)
at org.jruby.compiler.impl.StandardASMCompiler.loadClass(StandardASMCompiler.java:191)
at org.jruby.Ruby.tryCompile(Ruby.java:579)
at org.jruby.Ruby.tryCompile(Ruby.java:559)
at org.jruby.Ruby.runNormally(Ruby.java:540)
at org.jruby.Ruby.runFromMain(Ruby.java:396)
at org.jruby.Main.run(Main.java:272)
at org.jruby.Main.run(Main.java:117)
at org.jruby.Main.main(Main.java:97)



~Matt

On Thu, Oct 22, 2009 at 2:05 PM, Hassan Schroeder <hassan.schroeder@...> wrote:
On Thu, Oct 22, 2009 at 9:49 AM, Matthew Kanwisher <Matt@...> wrote:
> Anyone else seeing the problem on snow leopard, I constantly see it on my
> macbook air (Jruby 1.3.1)  and now with the new release I'm starting to see
> it on my macbook also on Jruby 1.4RC2.
>
> :$ jruby -S gem
> Error, could not compile; pass -d or -J-Djruby.jit.logging.verbose=true for
> more details

And what does the verbose logging give you?

--
Hassan Schroeder ------------------------ hassan.schroeder@...
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Jruby Snow Leopard Issue (JIT)

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you file a big for this? We should have a better solution...

On Thursday, October 22, 2009, Matthew Kanwisher <Matt@...> wrote:

> ROFLOL solution is rather funny, I install jruby in "/java/jruby" so when it was compiling gem it was coming up with a classname thats invalid since it starts with java, I changed the install directory to "/matt/jruby" and all is well.
>
>
> jruby -S gem -J-Djruby.jit.logging.verbose=truecould not compile: /java/jruby/bin/gem because of: "Prohibited package name: java.jruby.bin"java.lang.SecurityException: Prohibited package name: java.jruby.bin
>
> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:559) at java.lang.ClassLoader.defineClass(ClassLoader.java:694)
>
> at org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:22) at org.jruby.compiler.impl.StandardASMCompiler.loadClass(StandardASMCompiler.java:191)
>
> at org.jruby.Ruby.tryCompile(Ruby.java:579) at org.jruby.Ruby.tryCompile(Ruby.java:559)
>
> at org.jruby.Ruby.runNormally(Ruby.java:540) at org.jruby.Ruby.runFromMain(Ruby.java:396)
>
> at org.jruby.Main.run(Main.java:272) at org.jruby.Main.run(Main.java:117)
>
> at org.jruby.Main.main(Main.java:97)
>
>
> ~Matt
> On Thu, Oct 22, 2009 at 2:05 PM, Hassan Schroeder <hassan.schroeder@... <javascript:_e({}, 'cvml', 'hassan.schroeder@...');>> wrote:
> On Thu, Oct 22, 2009 at 9:49 AM, Matthew Kanwisher <Matt@... <javascript:_e({}, 'cvml', 'Matt@...');>> wrote:
>> Anyone else seeing the problem on snow leopard, I constantly see it on my
>> macbook air (Jruby 1.3.1)  and now with the new release I'm starting to see
>> it on my macbook also on Jruby 1.4RC2.
>>
>> :$ jruby -S gem
>> Error, could not compile; pass -d or -J-Djruby.jit.logging.verbose=true for
>> more details
>
> And what does the verbose logging give you?
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@... <javascript:_e({}, 'cvml', 'hassan.schroeder@...');>
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email