Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ludde on github.
  • I am ludde (https://keybase.io/ludde) on keybase.
  • I have a public key whose fingerprint is CB65 0029 1B38 BC38 101F C566 1923 220D 58D2 0E81

To claim this, I am signing this object:

@ludde
ludde / ruby-wrapper
Last active December 15, 2015 04:39
ruby-wrapper for chruby to be placed in the bin directory of the ruby to be run. E.g. /opt/rubies/ruby-1.9.3-p392/bin/ruby-wrapper
#!/bin/bash
. /usr/local/share/chruby/chruby.sh
RUBY=$(basename "$(readlink -f "$(dirname "$0")/..")")
chruby $RUBY && exec ruby "$@"
# -*- encoding : utf-8 -*-
set :assets_dependencies, %w(app/assets lib/assets vendor/assets Gemfile.lock config/routes.rb)
namespace :deploy do
namespace :assets do
desc <<-DESC
Run the asset precompilation rake task. You can specify the full path \
to the rake executable by setting the rake variable. You can also \