require 'rake_ext' require 'ruby_ext' task :environment do require 'rad' rad.mode = ENV['m'] || ENV['mode'] || ENV['env'] || ENV['environment'] || :development rad.runtime_path = File.expand_path '.' require 'rad_ext' rad.web require 'rad_ext/utils/cli_helper' Rad::CliHelper.use_runtime_path! load "./init.rb" rad.environment end