Use different Gemfile.lock files for different branches:
- Symlink
Gemfile.branch1
andGemfile.branch2
toGemfile.all
. - Use the
branch-bundle
script instead ofbundle
.
ruby -e 'puts STDIN.lines.with_index.reduce(nil) { |x,(l,i)| rand(i+1) < 1 ? l : x }' <<< $'foo\nbar\nbaz' |
# Gemfile: | |
# gem 'bcrypt-ruby' | |
# | |
# config/initializers/comfortable_mexican_sofa.rb: | |
# config.admin_auth = 'ComfortableMexicanSofa::HttpAuthBCrypt' | |
# ComfortableMexicanSofa::HttpAuthBCrypt.username = 'myname' | |
# ComfortableMexicanSofa::HttpAuthBCrypt.password = BCrypt::Password.new '...hash...' | |
require 'bcrypt' |
# NAP { | |
umask 0022 | |
export PATH="/__nap/nap/bin:$PATH" NAPRC=/__nap/cfg/naprc | |
# } NAP | |
# FELIX { | |
for _path in \ |
Use different Gemfile.lock files for different branches:
Gemfile.branch1
and Gemfile.branch2
to Gemfile.all
.branch-bundle
script instead of bundle
.nap (remote)
nap stop APP
apps/APP (local)
git checkout stable
git push REMOTE stable
git branch -d master
#!/bin/bash | |
host="$HOSTNAME" | |
exclude_list=( | |
/.bundle /.cabal /.gem /.node /.npm /.vagrant.d /Downloads /VMs | |
/opt/{pkg,src} | |
) | |
for x in "$HOME"/tmp/build/chromium*; do |
$ cd /path/to/your/project
$ git init .
apg -a 1 -n 1 -m 20 -x 20 -M SNCL -s # no S -> no symbols |
socat -d -d -d TCP4-LISTEN:9999,fork,bind=localhost TCP4:192.168.1.222:27017 |
build-essential | |
byobu | |
curl | |
dia | |
git | |
gitg | |
grc | |
gstreamer0.10-ffmpeg | |
gstreamer0.10-fluendo-mp3 | |
haskell-platform |