Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Allow adding of arbitrary environment variables to start script #95

Merged
merged 2 commits into from
Nov 2, 2015

Conversation

dhanson358
Copy link
Contributor

I had a need to pass some arbitrary info into Resque via environment vars. Added a quick and easy way to do this...adds a lot of flexibility in my opinion.

@lucasgomide
Copy link

@dhanson358 👍

I need this, cause i need use env variable DYNAMIC_SCHEDULE=true in production. Cause Resque::Scheduler.dynamic = true no working

But, you need solve conflict

Conflicts:
	lib/capistrano-resque/capistrano_integration.rb
	lib/capistrano-resque/tasks/capistrano-resque.rake
@dhanson358
Copy link
Contributor Author

Conflict resolved...should be up to date now.

@dmarkow dmarkow mentioned this pull request Nov 2, 2015
@dmarkow
Copy link
Collaborator

dmarkow commented Nov 2, 2015

Thank you, this looks good 👍

Not sure how I missed this when you submitted it almost a year ago, sorry for the delay.

dmarkow added a commit that referenced this pull request Nov 2, 2015
Allow adding of arbitrary environment variables to start script
@dmarkow dmarkow merged commit 9c87a47 into 9z0b3t1c:master Nov 2, 2015
@dmarkow
Copy link
Collaborator

dmarkow commented Nov 3, 2015

Just a quick note: I renamed the variable from extra_env to resque_extra_env.

@dhanson358
Copy link
Contributor Author

Sounds good, glad some other people found it helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants