Re: [Rails] Ruby 2.0 is running, but Rails 4 doesn't see it.
Alphonse 23 <lists@ruby-forum.com> wrote:
> What am I doing wrong??
>
> ****@ubuntu:~/ruby/things_i_bought$ rake db:migrate
>
> Rails 4 prefers to run on Ruby 2.0.
>
> You're running
> ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
>
> Please upgrade to Ruby 1.9.3 or newer to continue.
>
> ****@ubuntu:~/ruby/things_i_bought$ ruby -v
> ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]
> ****@ubuntu:~/ruby/things_i_bought$ rvm list
>
> rvm rubies
>
> ruby-1.9.3-p374 [ i686 ]
> ruby-1.9.3-p392 [ i686 ]
> =* ruby-2.0.0-p0 [ i686 ]
>
> # => - current
> # =* - current && default
> # * - default
>
> ****@ubuntu:~/ruby/things_i_bought$
Check:
$ which rake
$ `which rake` --version
I suspect you aren't executing the one in the Rails.root/bin directory.
--
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+unsubscribe@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/51abc3ea.e672320a.3645.ffffe8e6%40mx.google.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home