summaryrefslogtreecommitdiff
path: root/bin/rake
blob: 1362d51e3d6b6044b7aafdd342d75ac0af68648c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env ruby

# Remove this block when upgraded to rails 5.0.
if %w[0 false].include?(ENV["RAILS5"])
  begin
    load File.expand_path('../spring', __FILE__)
  rescue LoadError => e
    raise unless e.message.include?('spring')
  end
end

require_relative '../config/boot'
require 'rake'
Rake.application.run