Tomas
Tomas

Reputation: 81

RubyMine Cannot switch SDK. RVM SDK '2.2.0@rails-devise' wasn't found

I switch to new version of ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux], then RubyMine show me this blody message:

Cannot switch SDK. RVM SDK '2.2.0@rails-devise' wasn't found

When i go to RubyMine SDK Settings, i see, that evyrything is in place:

https://i.sstatic.net/sdIfr.png

Anyone can help me with that ?

Thanks

Upvotes: 1

Views: 1156

Answers (2)

rfellons
rfellons

Reputation: 666

RubyMine 6.3.3 I had the same problem.

Try to replace .ruby-version with .ruby-gemset and put inside

2.2.0@rails-devise

Upvotes: 2

Lupius
Lupius

Reputation: 178

It's a known bug if your .ruby-version file contains only the version number. They're working on it here https://youtrack.jetbrains.com/issue/RUBY-15058

Upvotes: 1

Related Questions