I'm not sure where the right place to put this is, since it could be a problem with RubyMine or something else, but I figured I'd give it a shot.
We were using the default version of Ruby on Mac OSX which is 1.8. I decided to be the team guinea pig for updating to 2.0 today and ran into a blocking issue. I did the following:
- Installed Homebrew: ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
- Installed RVM: \curl -L https://get.rvm.io | bash -s stable --ruby
- Ran through the instructions here: http://architects.dzone.com/articles/upgrading-ruby-20-mountain
- Opened the RubyMine settings
- [Settings Dialog] Changeed the Ruby SDK and Gems settings to use the new ruby version (Under Ruby SDK)
- [Settings Dialog] Selected Update Gems
- [Update Gems Dialog] Selected any items that need updating and then press the Update button
After that, RubyMine no longer plays nice and I get this error message: Error running Smoke Test: Cucumber Gem isn't installed for RVM: ruby-2.0.0-p247 [global] SDK
Anyone else use this setup that might have an idea what caused the issue and how to fix it? I have spent several hours trying to figure it out. :)
Thanks,
Teresa