|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Adding a new JRuby version fails...I'm trying to add a new JRuby version (happens to be 1.1.6) on NetBeans 6.5.1 on Windows 2000. When I select the Autodetect Platforms it fails to find it (even though I made the new version the default on my box). If I manually point it to the jruby.bat file under JRuby's bin directory it gives me the "C:\jruby-1.1.6\bin\jruby.bat" does not seem to be a valid Ruby interpreter error (seems to think about it for 1 minute). The file does exist there and is callable from the command line. If I do jruby -v it shows: jruby 1.1.6 (ruby 1.8.6 patchlevel 114) (2008-12-17 rev 8388) [x86-java] Any help would be appreciated. Thanks, -Chris[/code] --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Adding a new JRuby version fails...Hi Chris,
Unfortunately can't tell off hand what's the problem, could you please turn on detailed logging (http://wiki.netbeans.org/FaqRubyNBLogging), try to add the platform again and the send the log file to me? Also, can you check whether you can add it in 6.7 dev builds (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)? Thanks, Erno christophereck wrote: > I'm trying to add a new JRuby version (happens to be 1.1.6) on NetBeans 6.5.1 on Windows 2000. When I select the Autodetect Platforms it fails to find it (even though I made the new version the default on my box). If I manually point it to the jruby.bat file under JRuby's bin directory it gives me the "C:\jruby-1.1.6\bin\jruby.bat" does not seem to be a valid Ruby interpreter error (seems to think about it for 1 minute). The file does exist there and is callable from the command line. If I do jruby -v it shows: > > > > jruby 1.1.6 (ruby 1.8.6 patchlevel 114) (2008-12-17 rev 8388) [x86-java] > > > > Any help would be appreciated. > > > > Thanks, > > > > -Chris[/code] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Adding a new JRuby version fails...Erno Mononen wrote:
> Hi Chris, > > Unfortunately can't tell off hand what's the problem, could you please > turn on detailed logging (http://wiki.netbeans.org/FaqRubyNBLogging), > try to add the platform again and the send the log file to me? Also, > can you check whether you can add it in 6.7 dev builds > (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)? > > > Thanks, > Erno > > christophereck wrote: >> I'm trying to add a new JRuby version (happens to be 1.1.6) on >> NetBeans 6.5.1 on Windows 2000. When I select the Autodetect >> Platforms it fails to find it (even though I made the new version the >> default on my box). If I manually point it to the jruby.bat file >> under JRuby's bin directory it gives me the >> "C:\jruby-1.1.6\bin\jruby.bat" does not seem to be a valid Ruby >> interpreter error (seems to think about it for 1 minute). The file >> does exist there and is callable from the command line. If I do >> jruby -v it shows: >> >> >> >> jruby 1.1.6 (ruby 1.8.6 patchlevel 114) (2008-12-17 rev 8388) [x86-java] >> Netbeans 6.7 solved the problem Regards Paul F Fraser --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Adding a new JRuby version fails...Hi Erno, Attached is the log for trying to add the new JRuby platform. I'll download 6.7 and see if that fixes the issue. Thanks, --Chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Adding a new JRuby version fails...I've run into this before on my Mac. The problem was that NetBeans
seemed to be using Java 1.5 despite the fact that my JAVA_HOME and Java Preferences where set to use 1.6. In my case manually setting netbeans_jdkhome in netbeans.conf solved the problem. -lenny On May 22, 2009, at 11:58 AM, christophereck wrote: > > Hi Erno, > > > > Attached is the log for trying to add the new JRuby platform. I'll > download 6.7 and see if that fixes the issue. > > > > Thanks, > > > > --Chris > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Adding a new JRuby version fails...Hi Lenny, Thanks for the suggestion. I looked at the netbeans.config and it seems to be using the correct Java version. 6.7 is failing with this also. --Chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Adding a new JRuby version fails...Hi Erno, The problem appears to be on this version of Windows it can't use the long file names with spaces. As if I replicate what it is trying to do from the command line as it throws errors having to do with the path. If I use the short names like this: C:\jruby-1.1.6\bin\jruby.bat C:\Progra~1\NetBea~1.1\ruby2\platform_info.rb It runs that utility and outputs as expected. Is this something you can put in a fix for? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Adding a new JRuby version fails...Hi Chris,
That's good info, thanks for tracking this down. I'll try to fix it in the IDE. As a workaround, does it work if you use the short name when adding the platform in the IDE (I'd try it myself, but don't have Windows installed right now)? Cheers, Erno christophereck wrote: > Hi Erno, > > > > The problem appears to be on this version of Windows it can't use the long file names with spaces. As if I replicate what it is trying to do from the command line as it throws errors having to do with the path. If I use the short names like this: > > > > C:\jruby-1.1.6\bin\jruby.bat C:\Progra~1\NetBea~1.1\ruby2\platform_info.rb > > > > It runs that utility and outputs as expected. > > > > Is this something you can put in a fix for? > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Adding a new JRuby version fails...It did not work adding in the IDE using the default install directory. It did work in the IDE when I reinstalled the IDE to be in shorter directories with no spaces in the name. --Chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |