daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Apr 21st, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Load the basic runtime dependencies; this will include
  2. # any plugins and therefore plugin rake tasks.
  3. init_env = ENV['MERB_ENV'] || 'development'
  4.  
  5. Merb.load_dependencies(:environment => init_env)
  6.      
  7. # Get Merb plugins and dependencies
  8. Merb::Plugins.rakefiles.each { |r| require r }
  9.  
  10. desc "start runner environment"
  11. task :merb_env do
  12.   Merb.start_environment(:adapter => 'runner', :environment => init_env, :log_file => Merb.log_path / 'rake.log')
  13. end
RAW Paste Data
Top