Sha256: 77e37e6a4063e56aa2e9336d939c6fbf03a0106108b579b51a73dd03bad57add
Contents?: true
Size: 442 Bytes
Versions: 5
Compression:
Stored size: 442 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do namespace :bundler do desc "Install and lock bundle" task :fix_bundle, :roles => [:app, :worker] do _cset(:gem_file_groups) { [:development, :production] } excluded_groups = gem_file_groups.reject{|e| e == rails_env.to_sym}.each{|g| g.to_s}.join(' ') run "cd #{current_path} && bundle install --deployment --without #{excluded_groups}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems