Skip to content

Commit

Permalink
capistrano 2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
olkeene committed Dec 7, 2008
1 parent 556e35b commit 54035bd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/capistrano/ext/slicehost.rb
@@ -1 +1,7 @@
Dir["#{File.dirname(__FILE__)}/slicehost/*.rb"].each { |lib| load(lib) }
unless Capistrano::Configuration.respond_to?(:instance)
abort "Requires Capistrano 2"
end

Dir["#{File.dirname(__FILE__)}/slicehost/*.rb"].each { |lib|
Capistrano::Configuration.instance.load {load(lib)}
}

0 comments on commit 54035bd

Please sign in to comment.