On 5 February 2016 at 12:02, Yuri Redaelli <li...@ruby-forum.com> wrote:
> Colin Law wrote in post #1181211:
>> On 5 February 2016 at 11:47, Colin Law <clan...@gmail.com> wrote:
>>>>>> [BUG] Segmentation fault
>>>>> show (is 'which ruby' the right command on OSX for findinq which
>>>> which ruby
>>>> /usr/bin/ruby
>>>
>>> You are using the wrong ruby.  Since you are using rvm you should be
>>> using the one from the .rvm directory.  You have probably done
>>> something like compiling the gems with 1.9.3 but running them with
>>> 2.0.0.
>>>
>>> That means something is wrong with your rvm setup.  Did you install it
>>> using the instructions at
>>> https://rvm.io/
>>
>> Also what does
>> rvm info
>> show?
>>
>> Colin
>
> Uhm ... I've got this.
>
> Warning! PATH is not properly set up,
> '/Users/myname/.rvm/gems/ruby-1.9.3-p327@global/bin' is not at first
> place,
>          usually this is caused by shell initialization files - check
> them for 'PATH=...' entries,
>          it might also help to re-add RVM to your dotfiles: 'rvm get
> stable --auto-dotfiles',
>          to fix temporarily in this shell session run: 'rvm use
> ruby-1.9.3-p327@global'.
>
> I've to say that the problem now not occurs and I didn't do nothing to
> fix it.
> It seems randomic

The message says that your path is not correctly setup, so it may pick
up the wrong ruby.
'which ruby' should show the one in .rvm, if it doesn't you will get
problems.  I don't know about Macs so don't know how you should fix
it.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuNfMEpG-M5%2BcC8riLu6CysgntwL1O3t2LciLjpsxrVow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to