We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4acfb6 commit fbe76feCopy full SHA for fbe76fe
config.ru
@@ -1,13 +1,13 @@
1
#!/usr/bin/env ruby
2
require 'logger'
3
4
-$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
+$LOAD_PATH.unshift ::File.expand_path(::File.dirname(__FILE__) + '/lib')
5
require 'resque/server'
6
7
# Set the RESQUECONFIG env variable if you've a `resque.rb` or similar
8
# config file you want loaded on boot.
9
-if ENV['RESQUECONFIG'] && File.exists?(File.expand_path(ENV['RESQUECONFIG']))
10
- load File.expand_path(ENV['RESQUECONFIG'])
+if ENV['RESQUECONFIG'] && ::File.exists?(::File.expand_path(ENV['RESQUECONFIG']))
+ load ::File.expand_path(ENV['RESQUECONFIG'])
11
end
12
13
use Rack::ShowExceptions
0 commit comments