Please do the following steps to fix the problem:
Make sure that the following commands returns the proper version of ruby:
$ rbenv versions system 2.0.0-p353 $ rbenv local ruby-2.0.0 $ rbenv version 2.0.0-p353
Make sure that getting the version of ruby is correct:
$ bundle exec ruby -v ruby 2.0.0-p353 (2013-11-22 revision 43784) [x86_64-linux]
If you got invalid version of ruby, you shell to verify that problem is in
bundler
by calling:$ bundle exec ruby -v ruby 1.8.7 $ which bundle /usr/bin/bundle
It says that it will call system ruby to proceed ruby scripts.
Reinstall bundler, and then make sure that now current ruby is valid:
$ gem install bundler $ bundle exec ruby -v ruby 2.0.0-p353 (2013-11-22 revision 43784) [x86_64-linux]
Also refer to how to properly set up a ruby project, which is being developed under rbenv/rvm here: