We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes we need to write some conditional config in unicorn like:
if ENV['RAILS_PORT'] || ENV['PORT'] listen '127.0.0.1:' + (ENV['RAILS_PORT'] || ENV['PORT']) end
But that didn't work with this gem, after some digging i found this line of code https://github.com/samuelkadolph/unicorn-rails/blob/master/lib/unicorn_rails.rb#L27 which tests the presence of listen using a regex which will not work obviously in case of conditional configuration.
listen
Any thoughts about this ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sometimes we need to write some conditional config in unicorn like:
But that didn't work with this gem, after some digging i found this line of code https://github.com/samuelkadolph/unicorn-rails/blob/master/lib/unicorn_rails.rb#L27 which tests the presence of
listen
using a regex which will not work obviously in case of conditional configuration.Any thoughts about this ?
The text was updated successfully, but these errors were encountered: