1

When I try to bundle exec I'm getting

You have already activated rake 0.9.3.beta.1, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this. ...

I have rake, version 0.9.3.beta.1

I would like to have version 0.9.2.2

How do I switch to it?

I'm on Ubuntu11

Michael Durrant
  • 41,213
  • 69
  • 165
  • 232

1 Answers1

3

Have you tried installing the required version with gem?

$ gem install rake --version 0.9.2.2
D_Bye
  • 13,797
  • 3
  • 42
  • 31
  • This worked. Furthermore I didn't need to 'remove' my 0.9.3.beta.1 I just installed 0.9.2.2 and it's now my new version. Now I can `rake spec` without `bundle exec` ! – Michael Durrant Jun 19 '12 at 11:26