On 5 February 2016 at 11:47, Colin Law <clan...@gmail.com> wrote:
> On 5 February 2016 at 10:55, Yuri Redaelli <li...@ruby-forum.com> wrote:
>> Colin Law wrote in post #1181203:
>>> On 5 February 2016 at 09:43, Yuri Redaelli <li...@ruby-forum.com> wrote:
>>>> Hi all,
>>>>
>>>> for first sorry for my english.
>>>>
>>>> I'm trying to create a Rails migration but I encouter this error:
>>>>
>>>> .rvm/gems/ruby-1.9.3-p327@global/gems/json-1.8.0/lib/json/common.rb:67:
>>>> [BUG] Segmentation fault
>>>> ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]
>>>
>>> What do
>>>
>>> ruby -v
>>>
>>> and
>>>
>>> which ruby
>>>
>>> show (is 'which ruby' the right command on OSX for findinq which
>>> executable is being called when you run ruby?  If not then run
>>> whatever command will tell you that).
>>>
>>> Colin
>>
>> Hi Colin
>>
>> ruby -v
>> ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]
>>
>> 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

>
> 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%3D0gLuwkzApRamaKFNumtGuk8pANhphdmsLe7z7y9PHAs_6tQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to