Apparently, this can really be removed by adding a Procfile and a gemstone wizard, as in this set of instructions:
Using Rails, Thin, and SSL in RubyMine: The Solution!
Basically, you add wizards to your Gemfile:
gem 'foreman'
Then create a Procfile (link seals it) in your root containing this:
web: thin start
or, to bind to 0.0.0.0, as RubyMine usually does:
web: thin start -a 0.0.0.0 -p 3001 --ssl
I did not need to specify the location of my ssl files, but if you want, it will be:
web: thin start -a 0.0.0.0 -p 3001 --ssl --ssl-key-file /private/etc/apache2/ssl/server.key --ssl-cert-file /private/etc/apache2/ssl/server.crt
I would not recommend using --ssl-verify because this did not work for me.
Finally, in RubyMine, create a new Ruby configuration with the following attributes:
- Ruby script . This should be the path to the wizard's executable, for example:
~/.rvm/gems/ ruby-2.3.0@gemset /gems/foreman-0.82.0/bin/foreman - Script arguments :
start - Working directory . The root directory of your project, for example.
~/Sites/appname
On the Bundler tab, check the box to use bundle exec at startup.
Finally, on the logs tab, add a new log file pointing to ~/Sites/appname/logs/development.log
Karen
source share