postmodern / chruby

Changes the current Ruby
MIT License
2.88k stars 189 forks source link

Rubinius 2.2.10 installed, but gems installed to .gem/rbx/2.1.0??? #282

Closed phuongnd08 closed 10 years ago

phuongnd08 commented 10 years ago

I'm install rbx 2.2.10 with ruby-build then use chruby to manage the version. Later, I install bundler with gem install bundler Then bundle install and get:

Your Ruby version is 2.1.0, but your Gemfile specified rbx-2.2.10

Look like bundler is installed to the wrong path:

$ which bundle
/Users/phuongnd08/.gem/rbx/2.1.0/bin/bundle
postmodern commented 10 years ago

This is a bundler issue. The Gemfile probably contains something like ruby '2.2.10', engine: 'rbx'.