Warble executable needs ruby?

At the top of warble executables I see:

#!/usr/bin/env ruby

It is executed under ruby and not jruby?

Are u using rvm?
I’ve had issues with executables getting the shebang broken (normally
they tend to switch to the latest ruby installed)

Lus

2011/5/28 Luís Landeiro R. [email protected]:

Are u using rvm?

No I use only jruby.
I have also ruby installed because some linux debian packages require
it but for rails I use, and I want to use, only jruby.
So why warble wants ruby?

2011/5/28 Luís Landeiro R. [email protected]:

If u put jruby bin dir first in $PATH,
it should work properly

Ok, I put

if [ -d “$HOME/jruby/bin” ] ; then
PATH="$HOME/jruby/bin:$PATH"
fi

in my .profile.

If u put jruby bin dir first in $PATH,
it should work properly

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs