Skip to content

Instantly share code, notes, and snippets.

@oiojin831
Last active September 20, 2015 23:54
Show Gist options
  • Save oiojin831/2cd49fc2b68bcf58a3ad to your computer and use it in GitHub Desktop.
Save oiojin831/2cd49fc2b68bcf58a3ad to your computer and use it in GitHub Desktop.
rbenv document에서 모르는거 정리

rbenv document

###ruby-prefix가 머지? ruby가 gem들이 설치된 경로를 찾기위해서는 gem이 설치할떄 경로를 찾아야하니까

gem env

로 쳐보면 You should see an entry INSTALLATION DIRECTORY, but there is also GEM PATHS which is where it's loading all your gems from in your current environment.

ruby-prefix/lib/ruby/gems/1.9.1/gems/rspec-core-XX.YY/exe/rspec 여기에 있는게 오리지널인데 여기에는 같은 rspec이라도 버젼별로 저장됨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment