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