nesquena / backburner

Simple and reliable beanstalkd job queue for ruby
http://nesquena.github.com/backburner
MIT License
428 stars 68 forks source link

Add switch for environment to CLI #101

Closed contentfree closed 9 years ago

contentfree commented 9 years ago

I needed this for an environment where I couldn't specify the environment on the command line (cough a Windows service)

contentfree commented 9 years ago

It doesn't provide a default and it doesn't overwrite a value if it's already present (for safety).

contentfree commented 9 years ago

Rebased to current master and squashed commits to one.

contentfree commented 9 years ago

I'm not sure why that Travis build failed. Works for me in Ruby 2.1.4 using the same seed that failed at Travis.

nesquena commented 9 years ago

Can you add a small note about this to the README somewhere? I've restarted Travis CI build and it worked now

contentfree commented 9 years ago

@nesquena: Added a section for the CLI

nesquena commented 9 years ago

Sweet thanks!