Skip to content

Commit

Permalink
Fix rails_env display in stats view
Browse files Browse the repository at this point in the history
RAILS_ENV is never defined, bad copy/paste.
  • Loading branch information
gravis authored and defunkt committed Jul 24, 2010
1 parent 6fd8522 commit 1adb82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque.rb
Expand Up @@ -280,7 +280,7 @@ def info
:working => working.size,
:failed => Stat[:failed],
:servers => [redis_id],
:environment => defined?(RAILS_ENV) ? RAILS_ENV : (ENV['RACK_ENV'] || 'development')
:environment => ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development'
}
end

Expand Down

0 comments on commit 1adb82a

Please sign in to comment.