Skip to content

Commit

Permalink
we don't need automatiek loaded to boot.
Browse files Browse the repository at this point in the history
  • Loading branch information
botandrose-machine authored and ddollar committed Oct 9, 2019
1 parent 0d66f89 commit d4e5ee9
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions tasks/vendor.rake
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
require "automatiek"
begin
require "automatiek"

desc "Vendor a specific version of thor"
Automatiek::RakeTask.new("thor") do |lib|
lib.download = { github: "https://github.com/erikhuda/thor" }
lib.namespace = "Thor"
lib.prefix = "Foreman"
lib.vendor_lib = "lib/foreman/vendor/thor"
desc "Vendor a specific version of thor"
Automatiek::RakeTask.new("thor") do |lib|
lib.download = { github: "https://github.com/erikhuda/thor" }
lib.namespace = "Thor"
lib.prefix = "Foreman"
lib.vendor_lib = "lib/foreman/vendor/thor"
end
rescue LoadError
end

0 comments on commit d4e5ee9

Please sign in to comment.