debian-mirror-gitlab/bin/rake

15 lines
316 B
Text
Raw Normal View History

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