Skip to content

Instantly share code, notes, and snippets.

@bcurren
Created November 23, 2008 00:45
Show Gist options
  • Save bcurren/27996 to your computer and use it in GitHub Desktop.
Save bcurren/27996 to your computer and use it in GitHub Desktop.
if ["staging", "production"].include?(RAILS_ENV)
Workling::Remote.dispatcher = Workling::Remote::Runners::StarlingRunner.new
else
Workling::Remote.dispatcher = Workling::Remote::Runners::NotRemoteRunner.new
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment