I am looking at a Rails project which I would like to be able to work with using IntelliJ 15.0.3 (full version) under Ubuntu 15.10.
The project builds with "bundle install". Rails run from the command line using "rails s". IntelliJ (and RubyMine 8.0.3) does not want to launch Rails but complains with "[No Rails found in SDK]".
I have tried the default ruby in Ubuntu. I have tried compiling Ruby 2.3.0 and installing it in my own home folder. There is a rails binary next to the ruby binary. The gem is installed. I cannot use jruby for this project as gems with native extensions are needed.
I am suspecting I may be hitting a bug in the Ruby plugin. Is there a workaround or similar I can use?
For me, I didn't need to reinstall any version of ruby, but I did have to go into
RubyMine -> Preferences -> Language & Frameworks -> Ruby SDK Gems
then from there reselect the version of ruby stated in my gemfile.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With