Created
June 21, 2013 13:37
-
-
Save taktamur/5831198 to your computer and use it in GitHub Desktop.
小ネタ:gemのexecutable directoryをPATHに追加したい ref: http://qiita.com/paming/items/8276173c8d8c16ef79d9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ========= | |
| # 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