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