- Press Alt+Shift+F10Alt+Shift+F10, and choose the desired Rails run/debug configuration type:
- If necessary, change the run/debug configuration settings. To do that, choose Run pop-up menu, and choose the desired Rails configuration type.
Rails run/debug configuration dialog box appears.
In this dialog box, modify the desired settings. For example, RubyMine suggests WEBrick as the default Rails server. You can select a different server from the list of supported servers.
- Click the button on the main toolbar.
You can opt to preview results of your Rails application immediately in a browser. For this purpose, change the selected Rails run/debug configuration to enable launching a built-in browser. To do it, select the Run browser check box, and specify the desired IP address in the text field:
Click thumbnail to view larger image.