Alex Rivera | Logout

RVM bundle not found

Asked 2011-04-14T08:30:48.387
9

I just installed rvm and then the bundler gem.

➜  ~  ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.7.0]
➜  ~  gem list|grep bundler
bundler (1.0.12)

But when I try to run the bundle command then I got the following error:

➜  ~  which bundle
bundle not found

The interesting thing is that it works if I prepend "rvm ruby"

➜  ~  rvm ruby bundle

Still, I don't think like I should prepend rvm ruby before any command. Is this behavior correct?

EDIT: apparently the problem is that the default configuration is not remembered between shells.

If I type "rvm 1.8.7 --default" then it works, but as soon as I open a new shell it doesn't.

Edit
Report

1 Answer

5

My problem was that I had .rvm/bin on my path on .zshrc, which was causing all kind of troubles

answered 2011-04-15T09:19:09.377

Your Answer