debian-mirror-gitlab/bin/rake

15 lines
319 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.
2019-01-03 12:48:30 +05:30
unless %w[1 true].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