Skip to content

Instantly share code, notes, and snippets.

@taktamur
Created June 21, 2013 13:37
Show Gist options
  • Save taktamur/5831198 to your computer and use it in GitHub Desktop.
Save taktamur/5831198 to your computer and use it in GitHub Desktop.
小ネタ:gemのexecutable directoryをPATHに追加したい ref: http://qiita.com/paming/items/8276173c8d8c16ef79d9
# =========
# Ruby(gem)
# =========
# Check "gem env" to EXECUTABLE DIRECTORY:
GEM_EXE_DIR=`gem env | grep "EXECUTABLE DIRECTORY" | awk '{print $4}'`
export PATH=$GEM_EXE_DIR:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment