> If you are using RVM it creates a °∆ruby°« symlink to jruby (see
>> ~/.rvm/rubies/jruby-1.5.2/). I°«m guessing in your case you installed JRuby
>> by itself which won°«t have created the symlink.
> 
> 
> I would have thought that pik would do something similar, but I guess 
> not.

Yeah unfortunately it doesn't.  You could, however, create a file 
"ruby.bat" within your jruby\bin folder that just calls jruby, like:

jruby %*

Then you'd have it.

> My other problem is that I can't use jruby at all unless I go into 
> command
> prompt and type *pik use jruby.

Yeah you can only have one default, which is determined by your system's 
PATH setting.  If you were to add your jruby bin folder to the beginning 
of your path, you would then have it by default (as jruby).  Pik doesn't 
do anything but switch *away* from the default.  The default you must 
manually set up (I think, anyway).  Another way to set up jruby as a 
default is to use their one click installer, and check the "setup my 
path for me" button.

GL.
-r


> *If I close command prompt, and open it
> again, I have to do it all over. Below is just showing that I have to 
> *pik
> use jruby* and once it's set to Jruby it won't recognize *ruby -v*.
> 
> C:\Users\Jared>ruby -v
> 
> ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
> 
> 
>> C:\Users\Jared>jruby -v
> 
> 'jruby' is not recognized as an internal or external command,
> 
> operable program or batch file.
> 
> 
>> C:\Users\Jared>pik list
> 
>   153: jruby 1.5.3 (ruby 1.8.7 patchlevel 249) (2010-09-28 7ca06d7) 
> (Java
>> HotSpot(TM) Client VM 1.6.0_21)...
> 
>   186: ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32]
> 
> 
>> C:\Users\Jared>pik use jruby
> 
> 
>> C:\Users\Jared>pik list
> 
> * 153: jruby 1.5.3 (ruby 1.8.7 patchlevel 249) (2010-09-28 7ca06d7) 
> (Java
>> HotSpot(TM) Client VM 1.6.0_21)...
> 
>   186: ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32]
> 
> 
>> C:\Users\Jared>jruby -v
> 
> jruby 1.5.3 (ruby 1.8.7 patchlevel 249) (2010-09-28 7ca06d7) (Java
>> HotSpot(TM) Client VM 1.6.0_21) [x86-java]
> 
> 
>> C:\Users\Jared>ruby -v
> 
> 'ruby' is not recognized as an internal or external command,
> 
> operable program or batch file.
> 
> 
> Any thoughts, guys and gals?
> ---
> Jared Miller

-- 
Posted via http://www.ruby-forum.com/.