Project .ruby-version Settings: Cannot switch SDK. RVM SDK '2.1.2@frontend' wasn't found

Hello,

I'm very new to the Ruby Plugin and am wondering if I need to setup my IntelliJ so it knows where things are... Having opened a Rails project in IntelliJ, installed the Ruby Plugin and restarted I'm faced with the following issues...

10:26:24 Update Info: A new version of IntelliJ IDEA is available! (show balloon)
10:26:25 Project .ruby-version Settings: Cannot switch SDK. RVM SDK '2.1.2@dough' wasn't found. (show balloon)
10:26:25 Project .ruby-version Settings: Cannot switch SDK. RVM SDK '2.1.2@frontend' wasn't found. (show balloon)
10:26:28 Frameworks detected: Sass stdlib framework is detected in the project Configure
10:26:30 Ruby Plugin Gem Manager
         Ruby plugin has detected that
         some of the gems required for 'frontend'
         are not installed
         Install missing gems
         (show balloon)



Also, since opening the project into IntelliJ, my local site has now stopped working with the following error...

NameError at /

uninitialized constant ApplicationController


If someone could help, that would be great.


Thanks,
Nick

0
1 comment
Avatar
Permanently deleted user

Hi,

it looks like the project contains .ruby-version and .ruby-gemset files and we are unable to switch to the specified ruby/gemset (I think we have fixed this in
the latest plugin version for Idea 15 EAP).
So, you may have mis-configured ruby sdk and thus you see the message from "Ruby Plugin Gem Manager" about missing gems.
If you have missing gems but run the app you may have any (unexpected) problem.
I'd suggest to configure the sdk manually and make sure all required gems are availble there.

Regards, Oleg.

0

Please sign in to leave a comment.