Skip to content
New issue

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

Load Rails if specified rails: true in configuration file #387

Merged

Conversation

aelesbao
Copy link
Contributor

@aelesbao aelesbao commented Jun 22, 2017

Currently, you are able to load Rails environment only if explicitly specified on the command line with -R. This behavior occurs because Shoryuken::EnvironmentLoader checks the :rails flag in the current options hash of the class, which contains only the path to the :config_file.

With this change, it will be possible to enable the Rails flag in the shoryuken.yml.

@phstc phstc merged commit dceb605 into ruby-shoryuken:master Jun 24, 2017
@phstc
Copy link
Collaborator

phstc commented Jun 24, 2017

@aelesbao thanks! Added to master 🍻

@aelesbao aelesbao deleted the load-rails-from-config-in-file branch June 25, 2017 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants