bin/rash in rash-shell-0.1.0 vs bin/rash in rash-shell-0.1.1
- old
+ new
@@ -3,10 +3,11 @@
require 'rack'
require 'pry'
require 'rash/shell'
ENV['RACK_ENV'] ||= 'development'
-Rack::Builder.parse_file('config.ru')
+config_ru_path = ENV.fetch('CONFIG_RU_PATH', 'config.ru')
+Rack::Builder.parse_file(config_ru_path)
if ARGV.empty?
Pry.start
else
Pry.prompt = Pry::NO_PROMPT