When I attempt to run the application in RubyMine it outputs an error: No Rails found in SDK. Note that this functionality is supported only for local interpreters. There are too few gems listed in RubyMine for this remote interpreter: bundler (1.8.4)Īn actual list printed by gem list in SSH console: actionmailer (4.2.4) RubyMine provides the capability to work with gemsets for the RVM and rbenv version managers. It also integrates with popular frameworks and libraries via library-specific gems. However, when I open the New Project dialog and select New Application (Rails), there is no SDK selected in the Ruby SDK and Rails Version dropdown menus. The SDK supports Ruby 2.4+ and the most recent JRuby versions. In RubyMine, I've successfully added that box as a deployment server, and the remote-rvm Ruby interpreter in the Ruby SDK and Gems window. ![]() Ruby interpreter path: /home/vagrant/.rvm/rubies/ruby-2.2.1/bin/ruby (an output of which ruby command) I set up Ruby and Rails via RVM in a Vagrant box.Settings > Languages & Frameworks > Ruby SDK and gems > Add > New remote. Remote Ruby interpreter has been configured in a following way: ![]() The Vagrant machine ( hashicorp/precise32) is set up, RVM, Ruby 2.2.1p85 ( revision 49769), Rails 4.2.4 and other required gems are installed and my application runs when started by rails server command. I decided to use remote Ruby SDK in RubyMine 7.1.4.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |