gitlab-org--gitlab-foss/bin/rake

15 lines
316 B
Text
Raw Normal View History

#!/usr/bin/env ruby
# Remove this block when upgraded to rails 5.0.
2018-11-07 15:09:42 -05:00
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
2015-11-25 11:18:44 -05:00
require_relative '../config/boot'
require 'rake'
Rake.application.run