Skip to content

Instantly share code, notes, and snippets.

View DougPuchalski's full-sized avatar

Douglas Puchalski DougPuchalski

  • 111 Development LLC
View GitHub Profile
@bryanhunter
bryanhunter / build-erlang-r16b03.sh
Last active February 4, 2016 17:12
Build Erlang R16B03 on Ubuntu
#!/bin/bash
# Pull this file down, make it executable and run it with sudo
# wget https://gist.github.com/bryanhunter/8482545/raw/build-erlang-r16b03.sh
# chmod u+x build-erlang-r16b03.sh
# sudo ./build-erlang-r16b03.sh
if [ $(id -u) != "0" ]; then
echo "You must be the superuser to run this script" >&2
exit 1
fi
@tomasv
tomasv / rspec configuration
Created March 6, 2013 00:29
Spring + Rubymine
In shell:
export RUBYLIB=/path/to/RubyMine/rb/testing/patch/common:/path/to/RubyMine/rb/testing/patch/bdd
spring rspec spec/ # to launch spring server
In Rubymine:
Uncheck bundler
Select custom runner script as spring_rspec.rb
add same variable to environment variables:
RUBYLIB=/path/to/RubyMine/rb/testing/patch/common:/path/to/RubyMine/rb/testing/patch/bdd
@brentertz
brentertz / rvm2rbenv.txt
Created November 21, 2011 23:00
Switch from RVM to RBENV
## Prepare ###################################################################
# Remove RVM
rvm implode
# Ensure your homebrew is working properly and up to date
brew doctor
brew update
## Install ###################################################################