2014-02-15 15:03:10 -05:00
|
|
|
#!/usr/bin/env ruby
|
2018-03-21 18:37:57 -04:00
|
|
|
|
|
|
|
# Remove this block when upgraded to rails 5.0.
|
2018-11-07 15:09:42 -05:00
|
|
|
if %w[0 false].include?(ENV["RAILS5"])
|
2018-03-21 18:37:57 -04:00
|
|
|
begin
|
|
|
|
load File.expand_path('../spring', __FILE__)
|
|
|
|
rescue LoadError => e
|
|
|
|
raise unless e.message.include?('spring')
|
|
|
|
end
|
2016-04-22 12:36:47 -04:00
|
|
|
end
|
2018-03-21 18:37:57 -04:00
|
|
|
|
2015-11-25 11:18:44 -05:00
|
|
|
require_relative '../config/boot'
|
|
|
|
require 'rake'
|
|
|
|
Rake.application.run
|