A
A
Anton Ivanov2015-03-05 05:20:25
Ruby on Rails
Anton Ivanov, 2015-03-05 05:20:25

Is unicorn_rails allowed for a Rails 4 application? Or how to change the server in RubyMine?

Hello.
I have read about unicorn that it is recommended to use unicorn for Rails 3 instead of unicorn_rails which was created for versions 1.x and 2.x
So my first question will probably also be answered that it is better to use unicorn.
But RubyMine calls "unicorn_rails" when installing the "unicorn" server, which adds some headaches using the RAILS_ENV and RACK_ENV environment variables.
Therefore, I want to understand the dangers of using unicorn_rails instead of unicorn, or how to "persuade" RubyMine to run a regular unicorn instead of the "Rails" version.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2015-03-05
@mayar

https://www.jetbrains.com/ruby/help/running-rails-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question