-
-
Save anonymous/da1c0e9b6e59883c27de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' unless defined?(Sinatra) | |
configure :development do | |
$stdout.sync = true | |
set :database, 'sqlite:///dev.db' | |
set :show_exceptions, true | |
ENV['RACK_ENV'] = "development" | |
$redis = Redis.new | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config/environments.rb:3:in `<top (required)>': undefined method `configure' for main:Object (NoMethodError) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment