lib/falcon/environment/rackup.rb in falcon-0.45.0 vs lib/falcon/environment/rackup.rb in falcon-0.45.1
- old
+ new
@@ -9,10 +9,10 @@
module Falcon
module Environment
# Provides an environment for hosting loading a Rackup `config.ru` file.
module Rackup
def rackup_path
- 'config.ru'
+ File.expand_path('config.ru', root)
end
def rack_app
::Protocol::Rack::Adapter.parse_file(rackup_path)
end