How to fix the error "Error at startup: [No rails in the SDK]"?

I am watching a Rails project that I would like to work with using IntelliJ 15.0.3 (full version) under Ubuntu 15.10.

The project is built using the "bundle install". Rails are run from the command line using "rails s". IntelliJ (and RubyMine 8.0.3) does not want to run Rails, but complains about "[No Rails found in SDK]".

I tried using the default ruby โ€‹โ€‹in Ubuntu. I tried compiling Ruby 2.3.0 and installing it in my home folder. There is a binary rail next to a ruby โ€‹โ€‹binary. Pearls set. I cannot use jruby for this project, since gems with native extensions are needed.

I suspect I might hit a bug in the Ruby plugin. Can I use a workaround or similar?

+9
java intellij-idea ruby-on-rails rubymine
source share
1 answer

I finished to go to

RubyMine โ†’ Settings โ†’ Language and Framework โ†’ Ruby SDK Gems

then from there re-select the ruby โ€‹โ€‹version specified in my gemfile.

0
source share

All Articles