Rake tasks fetching failed with (working directory /home/........

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

Rake tasks fetching failed with (working directory /home/........

by javaman-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,



I'm new to JRuby, and am continuously running into a problem with creating a new Ruby on Rails application.  When I click finish in the create new project wizard it makes it 25% of the way through then says "Rake tasks fetching failed with (working directory /home/blah/blah/CoreDev):



There is no other information provided.  I checked enable WAR on the first page, I have rake, rails, jruby, open ssl, etc everything is up to date.  Using PostgresSQL and JDBC connection.



I know there is an FAQ  http://wiki.netbeans.org/FaqRubyRakeFetchingFailed but I keep getting a 502 Proxy Error.



Running Ubuntu and Netbeans 6.5, JRuby 1.1.5 everything should be up to date.

Have Glassfish V3 Prelude and Warbler as well.



Thanks for the help, this is driving me nuts






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


Re: Rake tasks fetching failed with (working directory /home/........

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

javaman wrote:

> Hi,
>
>
>
> I'm new to JRuby, and am continuously running into a problem with creating a new Ruby on Rails application.  When I click finish in the create new project wizard it makes it 25% of the way through then says "Rake tasks fetching failed with (working directory /home/blah/blah/CoreDev):
>
>
>
> There is no other information provided.  I checked enable WAR on the first page, I have rake, rails, jruby, open ssl, etc everything is up to date.  Using PostgresSQL and JDBC connection.
>
>
>
> I know there is an FAQ  http://wiki.netbeans.org/FaqRubyRakeFetchingFailed but I keep getting a 502 Proxy Error.
>  

The wiki was down for a couple of days, but it is now back up again, so
please check the page for instructions on what to do - in particular
running 'rake -D' from the command line (in the project dir) should tell
why fetching tasks fails.

Also, please consider upgrading NB to 6.7.1, it will show you more info
on why fetching fails w/o having to use the command line.

Let us know if that doesn't help,

Erno

>
>
> Running Ubuntu and Netbeans 6.5, JRuby 1.1.5 everything should be up to date.
>
> Have Glassfish V3 Prelude and Warbler as well.
>
>
>
> Thanks for the help, this is driving me nuts
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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@...


Rake tasks fetching failed with (working directory /home/........

by javaman-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,



Thanks for the reply, I ran rake -D and it threw an error that there was no rake file.  I would have thought though that since this is a new project there wouldn't have been a rake file in the first place.



Am I wrong?  Do I need a rake file elsewhere?






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


Rake tasks fetching failed with (working directory /home/........

by javaman-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


If I use the built in JRuby it is fine, but not JRuby from an external package






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


Re: Rake tasks fetching failed with (working directory /home/........

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am not sure if this will help...

http://blogs.sun.com/divas/entry/installing_your_own_jruby_to

Make sure that external package's JRuby bin directory is in your path
and try 'rake -D' from the command line. What happens?

javaman wrote:

> If I use the built in JRuby it is fine, but not JRuby from an external package
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  

--
Chris Kutler
Sun Cloud Learning Services


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


Re: Rake tasks fetching failed with (working directory /home/........

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


You might have been facing this rubygems issue:
http://rubyforge.org/tracker/index.php?func=detail&aid=25935&group_id=126&atid=575

Upgrading rubygems to 1.3.5 should help:

gem update --system

For the built-in JRuby you can update rubygems as follows:

<nb_install_dir>/ruby2/jruby-1.3.1/bin/jruby -S gem update --system


Erno


javaman wrote:

> Hi,
>
>
>
> Thanks for the reply, I ran rake -D and it threw an error that there was no rake file.  I would have thought though that since this is a new project there wouldn't have been a rake file in the first place.
>
>
>
> Am I wrong?  Do I need a rake file elsewhere?
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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@...