From: Musdev Musdev on
Vitaliy Yanchuk wrote:
> Check you PATH
> echo $PATH in terminal
> which of ruby bin files are first to be found would be the one is used
> as default

Okay I see, When I want to run a ruby program, I just use ruby19 file.rb
instead of the first ruby file.rb found in bin and it works :)

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

From: Musdev Musdev on
Joseph E. Savard wrote:
> RVM is your best bet.. The work is already done for you through scripts
> and
> such.
>
> http://rvm.beginrescueend.com/rvm/install/

Hey Joe

I need help integrating textmate with 1.9. Right now at default its
integrating with 1.8.6

I went through the steps via rvm(I love this) here at
http://rvm.beginrescueend.com/integration/textmate/
I followed every single step, but every time I run a rb file I get this
error message:

ERROR: Missing RVM environment file:
'/Users/musdev/.rvm/environments/system'

I looked in that directory located the system file but there was nothing
written to the system file. Im missing something, could u guide me in
the right direction to get up and running?

Thanks you

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

From: Joseph E. Savard on
Musdev,

Yhea, this is an issue of textmate's path as it launched. I normally launch
this from the command line with in the RVM terminal I am working in.

If you launch textmate from CMD-SpaceBar or launch it from finder it will
take on the path of your system. This, in many cases, will not be the RVM
youv'e setup.

I would launch textmate from the terminal

ie: mate ~/dev/foo0 &

Make sense?

> From: Musdev Musdev <devrubygem(a)gmail.com>
> Reply-To: <ruby-talk(a)ruby-lang.org>
> Newsgroups: comp.lang.ruby
> Date: Wed, 21 Jul 2010 18:09:56 +0900
> To: ruby-talk ML <ruby-talk(a)ruby-lang.org>
> Subject: Re: Can't get ruby 1.9 to work after install on OSX
>
> Joseph E. Savard wrote:
>> RVM is your best bet.. The work is already done for you through scripts
>> and
>> such.
>>
>> http://rvm.beginrescueend.com/rvm/install/
>
> Hey Joe
>
> I need help integrating textmate with 1.9. Right now at default its
> integrating with 1.8.6
>
> I went through the steps via rvm(I love this) here at
> http://rvm.beginrescueend.com/integration/textmate/
> I followed every single step, but every time I run a rb file I get this
> error message:
>
> ERROR: Missing RVM environment file:
> '/Users/musdev/.rvm/environments/system'
>
> I looked in that directory located the system file but there was nothing
> written to the system file. Im missing something, could u guide me in
> the right direction to get up and running?
>
> Thanks you
>
> --
> Posted via http://www.ruby-forum.com/.
>


From: skim on
[Note: parts of this message were removed to make it a legal post.]

Or you can always default to the Ruby you want to use.

Example:

rvm --default 1.9.1

On Wed, Jul 21, 2010 at 09:11, Joseph E. Savard <
joseph.savard(a)sabre-holdings.com> wrote:

> Musdev,
>
> Yhea, this is an issue of textmate's path as it launched. I normally
> launch
> this from the command line with in the RVM terminal I am working in.
>
> If you launch textmate from CMD-SpaceBar or launch it from finder it will
> take on the path of your system. This, in many cases, will not be the RVM
> youv'e setup.
>
> I would launch textmate from the terminal
>
> ie: mate ~/dev/foo0 &
>
> Make sense?
>
> > From: Musdev Musdev <devrubygem(a)gmail.com>
> > Reply-To: <ruby-talk(a)ruby-lang.org>
> > Newsgroups: comp.lang.ruby
> > Date: Wed, 21 Jul 2010 18:09:56 +0900
> > To: ruby-talk ML <ruby-talk(a)ruby-lang.org>
> > Subject: Re: Can't get ruby 1.9 to work after install on OSX
> >
> > Joseph E. Savard wrote:
> >> RVM is your best bet.. The work is already done for you through scripts
> >> and
> >> such.
> >>
> >> http://rvm.beginrescueend.com/rvm/install/
> >
> > Hey Joe
> >
> > I need help integrating textmate with 1.9. Right now at default its
> > integrating with 1.8.6
> >
> > I went through the steps via rvm(I love this) here at
> > http://rvm.beginrescueend.com/integration/textmate/
> > I followed every single step, but every time I run a rb file I get this
> > error message:
> >
> > ERROR: Missing RVM environment file:
> > '/Users/musdev/.rvm/environments/system'
> >
> > I looked in that directory located the system file but there was nothing
> > written to the system file. Im missing something, could u guide me in
> > the right direction to get up and running?
> >
> > Thanks you
> >
> > --
> > Posted via http://www.ruby-forum.com/.
> >
>
>
>

From: Joseph E. Savard on
I wouldn't make RVM my standard shell. In this case I think he wants to
bounce back an forth.

Therefore, its better to handle it from the shell.

But, as you say you could default it if you are using only one versioned
environment. And that being the case why use RVM at all?

Cheers mate,
j



> From: skim <skim.la(a)gmail.com>
> Reply-To: <ruby-talk(a)ruby-lang.org>
> Date: Wed, 21 Jul 2010 23:15:36 +0900
> To: ruby-talk ML <ruby-talk(a)ruby-lang.org>
> Subject: Re: Can't get ruby 1.9 to work after install on OSX
>
> Or you can always default to the Ruby you want to use.
>
> Example:
>
> rvm --default 1.9.1
>
> On Wed, Jul 21, 2010 at 09:11, Joseph E. Savard <
> joseph.savard(a)sabre-holdings.com> wrote:
>
>> Musdev,
>>
>> Yhea, this is an issue of textmate's path as it launched. I normally
>> launch
>> this from the command line with in the RVM terminal I am working in.
>>
>> If you launch textmate from CMD-SpaceBar or launch it from finder it will
>> take on the path of your system. This, in many cases, will not be the RVM
>> youv'e setup.
>>
>> I would launch textmate from the terminal
>>
>> ie: mate ~/dev/foo0 &
>>
>> Make sense?
>>
>>> From: Musdev Musdev <devrubygem(a)gmail.com>
>>> Reply-To: <ruby-talk(a)ruby-lang.org>
>>> Newsgroups: comp.lang.ruby
>>> Date: Wed, 21 Jul 2010 18:09:56 +0900
>>> To: ruby-talk ML <ruby-talk(a)ruby-lang.org>
>>> Subject: Re: Can't get ruby 1.9 to work after install on OSX
>>>
>>> Joseph E. Savard wrote:
>>>> RVM is your best bet.. The work is already done for you through scripts
>>>> and
>>>> such.
>>>>
>>>> http://rvm.beginrescueend.com/rvm/install/
>>>
>>> Hey Joe
>>>
>>> I need help integrating textmate with 1.9. Right now at default its
>>> integrating with 1.8.6
>>>
>>> I went through the steps via rvm(I love this) here at
>>> http://rvm.beginrescueend.com/integration/textmate/
>>> I followed every single step, but every time I run a rb file I get this
>>> error message:
>>>
>>> ERROR: Missing RVM environment file:
>>> '/Users/musdev/.rvm/environments/system'
>>>
>>> I looked in that directory located the system file but there was nothing
>>> written to the system file. Im missing something, could u guide me in
>>> the right direction to get up and running?
>>>
>>> Thanks you
>>>
>>> --
>>> Posted via http://www.ruby-forum.com/.
>>>
>>
>>
>>