Is there a way to tell RubyMine to not use webrick?
Asked Answered
M

2

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?

Monarchist answered 11/2, 2011 at 22:2 Comment(5)
Apparently not: youtrack.jetbrains.net/issue/RUBY-7219?query=bySamuele
Apparently yes, in 3.1: confluence.jetbrains.net/display/RUBYDEV/RubyMine+EAPOballa
hmm ... I looked in the release notes ... where do they mention this in 3.1?Monarchist
ahh ... I see it shows as fixed in 3.1 .. time to run the RCMonarchist
This answer explains it: #4830172Firecrest
O
18

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

Server choice

Oballa answered 11/2, 2011 at 22:23 Comment(4)
Who can deny the maker of RubyMine :). Great product CrazyCoder!Samuele
it is a great product ... the first thing to make me put VIM down in years.Monarchist
I realize this is stale now, but there's nothing at that link that actually explains how to use mongrel or not-webrick.Firecrest
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.Firecrest
S
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"

Spadiceous answered 1/4, 2011 at 12:39 Comment(1)
There's multiple different types though. Not just 2. Unicorn, Thin, Puma to name a few moreAlexia

© 2022 - 2024 — McMap. All rights reserved.