problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

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

problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by dyrathror :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello all,



I just tried to switch in NB 6.7 RC1 from jruby 1.3.0 to jruby 1.3.1 on Vista and got the strange effect that my rake tasks are all gone and I cannot start my project any more from NB.



In a shell everything works fine though.



Switching back to 1.3.0 didn't help. Somehow he complains no to find the right rails gem but the gem manager shows all installed gems correctly.



D.

------------------------
If all else fails, read the manuals.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

dyrathror wrote:
> Hello all,
>
>
>
> I just tried to switch in NB 6.7 RC1 from jruby 1.3.0 to jruby 1.3.1 on Vista and got the strange effect that my rake tasks are all gone and I cannot start my project any more from NB.
>  

This is probably due to the problem below, when the right Rails gem is
not found, the building of the rake task list fails.

>
>
> In a shell everything works fine though.
>
>
>
> Switching back to 1.3.0 didn't help. Somehow he complains no to find the right rails gem but the gem manager shows all installed gems correctly.
>  

Strange, not sure off hand what could be the problem here if the right
Rails version is shown as installed in the gem manager.  Could  you turn
on detailed logging as per the instructions at
http://wiki.netbeans.org/FaqRubyNBLogging67 and send the log file to me?

Thanks,
Erno

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by dyrathror :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello Erno,



I attach the logfile.

I have my gems installed in a different folder "c:\rubygems".



I can start my rake tasks from shell and run the server, ...



Only not from NB any more :-/



D.

------------------------
If all else fails, read the manuals.




Attachments:
http://forums.netbeans.org//files/log_601.txt



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

It seems that your JRuby 1.3.1 installation doesn't have rake installed,
can you check that? What does

C:\jruby-1.3.1\bin\jruby -S gem list --local

output, can you see rake there?

Erno

dyrathror wrote:

> Hello Erno,
>
>
>
> I attach the logfile.
>
> I have my gems installed in a different folder "c:\rubygems".
>
>
>
> I can start my rake tasks from shell and run the server, ...
>
>
>
> Only not from NB any more :-/
>
>
>
> D.
>
> ------------------------
> If all else fails, read the manuals.
>
>
>
>
> Attachments:
> http://forums.netbeans.org//files/log_601.txt
>
>
>
> ---------------------------------------------------------------------
> 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@...


problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by dyrathror :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello Erno,



yes, rake is installed in version 0.8.7



From the command line everything works fine. Only from NB after the switch to JRuby 1.3.1 it doesn't work any more.



D.

------------------------
If all else fails, read the manuals.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


OK, thanks for the info. Another thing I noticed from the log is that
you have GEM_HOME=c:/rubygems, is that correct for you JRuby
installation? If not, can you try unsetting it?

Erno

dyrathror wrote:

> Hello Erno,
>
>
>
> yes, rake is installed in version 0.8.7
>
>
>
> From the command line everything works fine. Only from NB after the switch to JRuby 1.3.1 it doesn't work any more.
>
>
>
> D.
>
> ------------------------
> If all else fails, read the manuals.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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@...


problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by dyrathror :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jupp, that is correct.



Due to several times of changing the JRuby Version and running two versions at the same time I decided to put the gems into their own directory.



BTW, I am just downloading RC2. Perhaps a reinstall will save my problem.

How important would you think is it to find the bug in my installation? Am I the only one who reported these problems with a JRuby version switch?



D.

------------------------
If all else fails, read the manuals.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by dyrathror :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I finally downloaded RC2 and installed it.



JRuby doesn't run any more either with this new installation :-/



I attached the log file which was building up continuously after the start. Perhaps it helps you to see anything.



The next step from my side will be a complete deinstall of all NB versions and workspaces and re-installing :( Hope that at least this will solve my problem.



D.

------------------------
If all else fails, read the manuals.




Attachments:
http://forums.netbeans.org//files/messageslog_181.gz



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by dyrathror :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Ok, I deleted all NB installations.



Then I installed RC2 only and tried JRuby 1.2.0 (internal) worked with locally installed rails gems under NB JRuby dir.



Then I switched to my JRuby 1.3.1 installation and suddenly the rake gem didn't show up any more. I suppose it is because the rake gem was installed in the gem dir under the 1.3.1 installation and not in the GEM_HOME dir.



I installed rake which went into the GEM_HOME this time and now everything works fine.



Hope this description can help you figure out where the problem lies.



D.

------------------------
If all else fails, read the manuals.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Glad to hear you solved it. BTW, did you have the gem home correctly set
for the 1.3.1 platform in Ruby Platform Manager? Perhaps the problem was
that the IDE didn't set it up correctly when you added the platform.

Cheers,
Erno


dyrathror wrote:

> Ok, I deleted all NB installations.
>
>
>
> Then I installed RC2 only and tried JRuby 1.2.0 (internal) worked with locally installed rails gems under NB JRuby dir.
>
>
>
> Then I switched to my JRuby 1.3.1 installation and suddenly the rake gem didn't show up any more. I suppose it is because the rake gem was installed in the gem dir under the 1.3.1 installation and not in the GEM_HOME dir.
>
>
>
> I installed rake which went into the GEM_HOME this time and now everything works fine.
>
>
>
> Hope this description can help you figure out where the problem lies.
>
>
>
> D.
>
> ------------------------
> If all else fails, read the manuals.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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@...


problems with NB 6.7 RC1 switching from jruby 1.3.0 => jruby 1.3.1

by dyrathror :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello Erno,



in the Ruby Platform Manager I've set the following:



GEM_HOME=c:\rubygems

GEM_PATH=c:\jruby-1.3.1\lib\ruby\gems\1.8\gems:c:\rubygems



its the same I did for 1.3.0



D.

------------------------
If all else fails, read the manuals.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...