Select the correct version of ruby you want to use then press green arrow in the middle of the panels to make it default for current project,Īfter applying changes you might need to restart RubyMine to pick up the changes. This helps in running server as well as running RSPEC tests from within Rubymine, when running spec tests or a server it picks up correct version of gems. Setting up default Ruby version for a current Project ![]() Once gem is installed you should be good to run the project in Rubymine. It might prompt you about missing “ruby-debug-ide” gem and will give you an option to install that, say yes Rubymine will install missing gem for you, Select PostgreSQL as Data Sourceįrom Run menu, you can run the newly created project in regular or debug mode, when running it debug mode, Then go to Database tool window, and press”New” button to add database configuration. ![]() Go to View menu -> Toolbar windows, select Database. You can setup Database tool to point to your PG database which makes it easier to view table records in RubyMine itself. Once project is created, you will be prompted to add git root in order to hook up with git for VCS operations.Ĭlick on configure link in the pop up above, once presented with Version Control settings everything should already be populated for, press “Ok” there This will prompt you about the directory selected in Location field not being empty, go-ahead and press “Yes” ![]() Select Ruby SDK version to point to correct Ruby version, that should auto select correct Rails version for you. Select to Add “Rails application” on the left, then in Location point to the location where you have source code checked out for example “/home/hkataria/dev/manageiq”
0 Comments
Leave a Reply. |