Skip to content

Instantly share code, notes, and snippets.

@akash1810
Created March 17, 2015 23:43
Show Gist options
  • Save akash1810/64da00b9b5a75daab42f to your computer and use it in GitHub Desktop.
Save akash1810/64da00b9b5a75daab42f to your computer and use it in GitHub Desktop.
simple alias to initialise a rvm with compass
#!/bin/sh
compass-rvm-init () {
rvm --ruby-version use 2.1.1@$1 --create
bundle init
echo "gem 'compass'" | tee -a Gemfile
bundle update
}
alias compass-rvm-init=compass-rvm-init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment