16

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?

Ben
  • 9,725
  • 6
  • 23
  • 28

2 Answers2

18

Recent RubyMine versions allow to specify what web server to use in the Rails Run/Debug configuration:

Server choice

James Boutcher
  • 2,593
  • 1
  • 25
  • 37
CrazyCoder
  • 389,263
  • 172
  • 990
  • 904
  • Who can deny the maker of RubyMine :). Great product CrazyCoder! – Zabba Feb 11 '11 at 22:27
  • 1
    it 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