Skip to content

Instantly share code, notes, and snippets.

Logan Koester logankoester

Block or report user

Report or block logankoester

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View attr_config.yml
navlink:
data-transition: fade
sidebar:
data-role: sidebar
data-transition: slide
data-position: left
# ...
@logankoester
logankoester / bundler_cap.rb
Created Aug 21, 2010 — forked from richievos/bundler_cap.rb
Bundler integration for Capistrano
View bundler_cap.rb
namespace :bundler do
task :install, :roles => :app, :except => { :no_release => true } do
run("gem install bundler --source=http://rubygems.org")
end
task :create_symlink, :roles => :app do
shared_dir = File.join(shared_path, 'bundle')
release_dir = File.join(current_release, '.bundle')
run("mkdir -p #{shared_dir} && ln -fs #{shared_dir} #{release_dir}")
end
View deploy.rb
# ...
namespace :bundler do
task :create_symlink, :roles => :app do
shared_dir = File.join(shared_path, 'bundle')
release_dir = File.join(current_release, '.bundle')
run("mkdir -p #{shared_dir} && ln -s #{shared_dir} #{release_dir}")
end
task :bundle_new_release, :roles => :app do
You can’t perform that action at this time.