Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 22 lines (18 sloc) 0.898 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

begin
  # Load up the environment instead of just the boot file because we want all of the tasks available.
  require File.join(File.dirname(__FILE__), 'config', 'environment')
rescue Exception
  # Log the exception to the console/logfile.
  puts "*** Couldn't load the application's configuration because something went wrong... ***"
  puts "*** Don't worry, we'll bypass the application's configuration and just boot instead... ***"

  # Load up the boot file instead because there's something wrong with the environment.
  require File.join(File.dirname(__FILE__), 'config', 'boot')
end

# Require the standard stuff
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'tasks/rails'

require 'refinery/tasks/refinery'
Something went wrong with that request. Please try again.