Class: Everywhere::Framework::Sinatra

Inherits:
RackFramework show all
Defined in:
lib/everywhere/framework.rb

Instance Method Summary collapse

Methods inherited from RackFramework

#boot!, #cleanup_command, #precompile_env, #prepare_runtime_env

Instance Method Details

#dev_commandObject



189
190
191
# File 'lib/everywhere/framework.rb', line 189

def dev_command
  File.exist?(File.join(root, "bin", "dev")) ? "bin/dev" : "bundle exec rackup --host 127.0.0.1"
end

#env_exportsObject



196
# File 'lib/everywhere/framework.rb', line 196

def env_exports = { "RACK_ENV" => "production" }

#nameObject



187
# File 'lib/everywhere/framework.rb', line 187

def name = "sinatra"

#precompile_commandObject

No asset pipeline by default; nothing to precompile.



194
# File 'lib/everywhere/framework.rb', line 194

def precompile_command = "true"