Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
all: throw a rack config file
config.ru | 7 +++++++
diff --git a/config.ru b/config.ru new file mode 100644 index 0000000000000000000000000000000000000000..dac701b3a1ad714177e09e393bed1162cd760281 --- /dev/null +++ b/config.ru @@ -0,0 +1,7 @@ +ENV['APP_ENV'] ||= (ENV['RACK_ENV'] || 'production') + +require "rubygems" +require "./main" + +use App::Api +run Sinatra::Base