osx - Heroku Toolbelt requires Ruby 1.9+ -


during heroku login in terminal message:

heroku toolbelt requires ruby 1.9+ 

i'm using vagrant, while in vagrant ran which ruby command , got: /usr/bin/ruby, , ruby -v gives me:

ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] 

running which ruby command in bash gives me:

/usr/local/rbenv/shims/ruby 

and ruby -v gives me:

ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin14.0] 

so seems have update mac osx version 1.9+, i'm not sure how. also, don't believe have rvm installed. i'm new , appreciated. everyone.

vagrant virtual machine, host different environment current machine.

you need log in vagrant box, , upgrade ruby inside vagrant container.

you can either manually, rvm or rbenv. first port of call try sudo apt-get install ruby1.9.3 inside vagrant vm.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -