Sha256: a200bd9668a35fd2066bd4156074092155b24fc421702ee06e7cc844856ddace

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 Bytes

Contents

load 'deploy' if respond_to?(:namespace) # cap2 differentiator

env = ENV['RUBBER_ENV'] ||= (ENV['RAILS_ENV'] || 'production')
root = File.dirname(__FILE__)

begin
  # first try as a rails plugin
  require 'vendor/plugins/rubber/lib/rubber.rb'
rescue LoadError
  # then try as a gem
  require 'rubber'
end
Rubber::initialize(root, env)
require 'rubber/capistrano'

Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sml-rubber-0.9.1 generators/vulcanize/templates/base/Capfile