RubyMine – No Ruby interpreter configured for the project
I faced this problem when I moved my project to another PC running a different version of JRuby. resolution: close RubyMine delete .idea/ folder re-open project in RubyMine
I faced this problem when I moved my project to another PC running a different version of JRuby. resolution: close RubyMine delete .idea/ folder re-open project in RubyMine
I solved this issue of No Rails SDK found by following. Step 1. Figure out Ruby version and bundle version of your project. Step 2. Add correct Ruby SDK and GEMs from preferences in Rubymine. Preferences > Languages & Framework > Ruby SDK and Gems > [Select your RVM version] > [Select correct gem version … Read more
RubyMine doesn’t have a feature exactly like Sublime Text file previewing. The Quick Definition action can sometimes meet the same need. When invoked on a file, it opens a popup with the file’s contents. You can invoke it on a file in the Project or Find pane and probably other panes, dialogs, popups, etc. that … Read more
Go to Run/Debug Configurations Add a new Gem Command Enter ‘sidekiq’ as the Gem name and Executable name Check ‘Run the script in the contexst of bundle (bundle exec) under the ‘Bundler’ tab Click ‘Apply’ and then run it.
The easiest way to fix it: Close project Remove .idea folder from project folder Open project Bingo! NOTE: this workaround seems to no longer work with 2017.2. See RUBY-20144
For mac users, the default shortcut is option + tab
Enable Ensure blank line before end of file on Save option in the Editor settings:
The default shortcut is Ctrl+Shift+Period on Windows and Cmd+Shift+Period on Mac. It may not work on all the keyboards, in which case you can change it in Settings (Preferences on Mac) | Keymap: Main Menu, Tools, Erb, Insert <%= %>: You can also use code completion: After accepting this choice you’ll get: <%= | %> … Read more
Also you can use target icon in Project view. With Rubymine 2019, it’a new target icon.
Here’s the actual command that worked for me: gem install ruby-debug-ide –pre