When I start my app up in RubyMine I want to be able to use unicorn and my unicorn configs. Is there any way to tell it not to use webrick but use something else like unicorn or thin?
Asked
Active
Viewed 3,376 times
16
-
Apparently not: http://youtrack.jetbrains.net/issue/RUBY-7219?query=by – Zabba Feb 11 '11 at 22:08
-
Apparently yes, in 3.1: http://confluence.jetbrains.net/display/RUBYDEV/RubyMine+EAP – CrazyCoder Feb 11 '11 at 22:16
-
hmm ... I looked in the release notes ... where do they mention this in 3.1? – Ben Feb 11 '11 at 22:24
-
ahh ... I see it shows as fixed in 3.1 .. time to run the RC – Ben Feb 11 '11 at 22:25
-
This answer explains it: http://stackoverflow.com/questions/4829672/which-http-web-server-can-i-use-to-debug-ruby-code-using-rubymine-3-0-1/5034904#5034904 – jcollum Nov 08 '11 at 23:06
2 Answers
18
Recent RubyMine versions allow to specify what web server to use in the Rails Run/Debug configuration:

James Boutcher
- 2,593
- 1
- 25
- 37

CrazyCoder
- 389,263
- 172
- 990
- 904
-
-
1it is a great product ... the first thing to make me put VIM down in years. – Ben Feb 12 '11 at 02:51
-
I realize this is stale now, but there's nothing at that link that actually explains how to use mongrel or not-webrick. – jcollum Nov 08 '11 at 23:03
-
THanks CC. On windows 7 it helped me to put `gem 'mongrel', '>= 1.2.0.pre2'` in my gemfile and then run a `bundler install`. After that my Mongrel webserver ran fine. – jcollum Nov 09 '11 at 00:33
1
There are 2 server 1.webric & 2.mongrel
follow these steps to use mongrel server instead of webric...
(1) go to cmd
(2) go to application path.
(3) write down this code "mongrel_rails start"

Darren
- 68,902
- 24
- 138
- 144

Shah Jainam
- 109
- 1
- 5
-
There's multiple different types though. Not just 2. Unicorn, Thin, Puma to name a few more – Rudi Strydom Dec 14 '16 at 09:03