Sha256: ad0f5127a13f3c18df6cd640a4a68969bda0550c08b5819e85a62436e37043cb
Contents?: true
Size: 625 Bytes
Versions: 75
Compression:
Stored size: 625 Bytes
Contents
gemfile = File.expand_path(File.join(__FILE__, '..', 'Gemfile')) if File.exist?(gemfile) && ENV['BUNDLE_GEMFILE'].nil? puts "Respawning with 'bundle exec'" exec("bundle", "exec", "cap", *ARGV) end load 'deploy' if respond_to?(:namespace) # cap2 differentiator env = ENV['RUBBER_ENV'] ||= (ENV['RAILS_ENV'] || 'production') root = File.dirname(__FILE__) # this tries first as a rails plugin then as a gem $:.unshift "#{root}/vendor/plugins/rubber/lib/" require 'rubber' Rubber::initialize(root, env) require 'rubber/capistrano' Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } load 'config/deploy'
Version data entries
75 entries across 75 versions & 1 rubygems