require 'rake' require 'rake/testtask' require 'rake/rdoctask' env = ENV['RUBBER_ENV'] ||= (ENV['RAILS_ENV'] || 'development') RAILS_ENV = ENV['RAILS_ENV'] = env root = File.dirname(__FILE__) require 'rubber' Rubber::initialize(root, env) require 'rubber/tasks/rubber' task :console do ARGV.clear require "irb" IRB.start end RAILS_TASKS