Ok, that is echo $PATH:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
X11R6/bin:/opt/jruby-1.3.1/bin/:/opt/SDK/bin/

thx a lot, but appears another problem:

# jruby -S rake gems
(in /opt/SDK/domains/domain1/autodeploy/jruby_deploy_test)

I = Installed
F = Frozen
R = Framework (loaded before rails starts)

despite all gems are installed..


On 5 авг, 02:15, Hassan Schroeder <[email protected]> wrote:
> On Tue, Aug 4, 2009 at 2:26 PM, Luthien<[email protected]> wrote:
>
> > luth...@luthien-laptop:~$ jruby -S rake gems
> > /opt/jruby-1.3.1/bin/jruby: line 337: /etc/java//bin/java: No such
> > file or directory
> > luth...@luthien-laptop:~$ which java
> > /usr/bin/java
>
> OK, that's wierd -- what does `java -version` produce?
>
> > luth...@luthien-laptop:~$ echo $PATH
> > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
> > games:
>
> I would:
> delete => 
> /opt/jruby-1.3.1/lib/ruby/gems/1.8/gems/glassfish-0.9.5-universal-java/bin
> put this first in your path => /opt/jruby-1.3.1/bin
> delete => /opt/jruby-1.3.1/lib/ruby/gems/1.8/gems
>
> And try again, using the "jruby -S" command format
>
> --
> Hassan Schroeder ------------------------ [email protected]
> twitter: @hassan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to