module Roda::RodaPlugins::Environments

def self.configure(app, env=ENV["RACK_ENV"])

no environment is given, assume the development environment.
if no environment is given. If ENV['RACK_ENV'] is not set and
Set the environment to use for the app. Default to ENV['RACK_ENV']
def self.configure(app, env=ENV["RACK_ENV"])
  app.environment = (env || 'development').to_sym
end