Class: Everywhere::Framework::Sinatra
Instance Method Summary
collapse
#boot!, #cleanup_command, #precompile_env, #prepare_runtime_env
Instance Method Details
#dev_command ⇒ Object
175
176
177
|
# File 'lib/everywhere/framework.rb', line 175
def dev_command
File.exist?(File.join(root, "bin", "dev")) ? "bin/dev" : "bundle exec rackup --host 127.0.0.1"
end
|
#env_exports ⇒ Object
182
|
# File 'lib/everywhere/framework.rb', line 182
def env_exports = { "RACK_ENV" => "production" }
|
#name ⇒ Object
173
|
# File 'lib/everywhere/framework.rb', line 173
def name = "sinatra"
|
#precompile_command ⇒ Object
No asset pipeline by default; nothing to precompile.
180
|
# File 'lib/everywhere/framework.rb', line 180
def precompile_command = "true"
|