unicorn-rails
unicorn-rails copied to clipboard
unicorn-rails is a simple gem that sets the default server for rack (and rails) to unicorn.
…to allow automatic license checks. [skip ci]
Since about 10 years, `rack` [is already daemonizing the process](https://github.com/rack/rack/blob/1.1.2/lib/rack/server.rb#L153) (using `Process.daemon`) when `options[:daemonize]` is set (e.g. when the `-d` flag is set in `rails server`), just before [calling](https://github.com/rack/rack/blob/1.1.2/lib/rack/server.rb#L155) `Rack::Handler::Unicorn.run`...
- add bundle-audit to development gems to prevent vulnerabilities - update readme to explain environment-variables
However, when I use Nginx and Unicorn to run my actioncable in production server it doesn't work like it does in my development rails environment. The error i got is...
After switching to Unicorn on my new project using rails 4.2.0 beta1, I found that I cannot access subdomain via `http://lvh.me`. With further investigation, the problem appears to be related...
Sometimes we need to write some conditional config in unicorn like: ``` ruby if ENV['RAILS_PORT'] || ENV['PORT'] listen '127.0.0.1:' + (ENV['RAILS_PORT'] || ENV['PORT']) end ``` But that didn't work with...
I was trying to determine the licenses for my dependencies. I found that the RubyGems API will return the license, but only if it is specified in your gemspec file.
Hi Sam. unicorn_rails looks like a good idea. I read somewhere that there is a plugin for unicorn-rails to make it reload changed files on every request just like Webrick...
Hi Sam. unicorn_rails looks like a good idea. I read somewhere that there is a plugin for unicorn-rails to make it reload changed files on every request just like Webrick...
Hello! This change allows to use the --pid/-P option in `rails server`. Example: ``` bash rails server -P tmp/pids/server.pid ```