sstephenson/rbenv — Issue #178: rehash problem with rubinius master
Author: Marchino
Created: 2012-01-17 12:04:50+00:00
State: open

Hello,
I'm trying to get rubinius to work with rbenv but I'm having no luck with that.

What i did is:
- compiled and installed rubinius to ~/.rbenv/versions/rbx-2.0.0-dev.
- rbx console seems to work fine.
- cd my-project-dir (which has a .rbenv-version file pointing to rbx-2.0.0-dev)
- rbx gem install bundler
- rbenv rehash
- bundle install

What i get is :

rbenv: bundle: command not found

The `bundle' command exists in these Ruby versions:
1.9.2-p290
1.9.3-p0
1.9.3-preview1
rbx-1.2.4

I tried running bundle install from the gem folder with

~/.rbenv/versions/rbx-2.0.0-dev/gems/1.9/gems/bundler-1.0.21/bin/bundle install

and it worked (although it gave an error installing a gem, but that's not rbenv's fault).

Anyone has an idea on what's going on?

Thanks a lot

Marco