Hmmm… I don't see any output of `which ruby`, probably missordered PATH-variable? Please check.
HTH Norbert 2013/6/3 Alphonse 23 <li...@ruby-forum.com> > Colin Law wrote in post #1111099: > > On 2 June 2013 22:20, Alphonse 23 <li...@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] > > > > Try > > bundle exec rake db:migrate > > > > Colin > > ****@ubuntu:~/ruby/things_i_bought$ bundle exec 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$ > > nope, thanks though > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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/c574b82357e646175af4ac0923ab2d9c%40ruby-forum.com?hl=en-US > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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/CA%2BbCVsu6PzRLthgATtrf87ttx_OKM4uUhjr5wQ8%3DbAEk8TQOrg%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.