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