![]() rvmrc file to uncomment the rvm use section as described above. rvmrc file are only applied after project restart. If rvm use command is commented out, RubyMine doesn't change settings.Īny changes made to the project. rvmrc file, are shown in the Ruby SDK and Gems page of the Settings dialog. The Ruby SDK and gem sets, specified in the project. ![]() rvmrc file for your project, RubyMine parses this file on project opening. Here's a solution I implemented after reading what JetBrains says about. So I am not sure why the gemset that RubyMine shows is using for the project is not the one it is using to check for the gems it needs. Not sure why it was complaining about missing gems I ran the bundle install command through RubyMine and it went ahead and installed all the gems under a different version of ruby that I am not using for this project. ![]() I also confirmed that in RubyMines under the gemset being used. I then tried to run a Cucumber Scenario Step and it complained that cucumber-rails gem wasn't installed but doing a "bundle show cucumber-rails" on the command line showed it was installed in the right place. However when I load the project it complained about missing gems - whereas "bundle install" on my command line indicated everything was good. The same gemset is shown to be used in RubyMine Settings under "Ruby SDK and Gems". ruby-gemset files setup correctly in the project so when I go to my project directory the right gemset is automatically getting used. ![]() I am new to RubyMine and I have imported an existing project to the IDE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |