lib/generator/config.ru in shopify-sinatra-app-0.1.3 vs lib/generator/config.ru in shopify-sinatra-app-0.1.4
- old
+ new
@@ -1,4 +1,9 @@
+if Gem::Specification.find_all_by_name('dotenv').any?
+ require 'dotenv'
+ Dotenv.load
+end
+
require './lib/app'
SinatraApp.run!