Created
May 27, 2014 17:52
-
-
Save chorn/3dcf2f7191d0866f43b9 to your computer and use it in GitHub Desktop.
This file contains 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
$ echo $PATH | |
/Users/chorn/.rvm/gems/ruby-2.1.2/bin:/Users/chorn/.rvm/gems/ruby-2.1.2@global/bin:/Users/chorn/.rvm/rubies/ruby-2.1.2/bin:/Users/chorn/.rvm/bin:/Users/chorn/bin:/Applications/Postgres.app/Contents/Versions/9.4/bin:/Applications/VMware Fusion.app/Contents/Library:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Applications/LibreOffice.app/Contents/MacOS:/usr/local/Cellar/macvim/HEAD/MacVim.app/Contents/MacOS:/usr/X11/sbin:/usr/X11/bin:/usr/local/sbin:/usr/local/bin:/opt/X11/sbin:/opt/X11/bin:/opt/local/sbin:/opt/local/bin:/opt/sbin:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
$ bin/rails -v | |
Rails 4.0.4 | |
$ rails -v | |
Rails 4.0.4 | |
$ bundle exec rails -v | |
Bundler is using a binstub that was created for a different gem. | |
This is deprecated, in future versions you may need to `bundle binstub rails` to work around a system/bundle conflict. | |
Rails 4.0.4 | |
From my Gemfile: | |
#ruby=ruby-2.1.2 | |
gem 'rails', '~> 4.0.0' | |
$ find .rvm/hooks -type f -ls | |
30963306 0 -rw-r--r-- 1 chorn staff 0 May 12 10:23 .rvm/hooks/.gitkeep | |
30963307 8 -rwxr-xr-x 1 chorn staff 1689 May 12 10:23 .rvm/hooks/after_cd_bundler | |
30963308 8 -rw-r--r-- 1 chorn staff 147 May 12 10:23 .rvm/hooks/after_cd_install_vendored_gems | |
30963309 8 -rwxr-xr-x 1 chorn staff 455 May 12 10:23 .rvm/hooks/after_install_auto_gem | |
30963310 8 -rw-r--r-- 1 chorn staff 1330 May 12 10:23 .rvm/hooks/after_install_codesign | |
30963311 8 -rw-r--r-- 1 chorn staff 246 May 12 10:23 .rvm/hooks/after_use_home_bin | |
30963312 8 -rw-r--r-- 1 chorn staff 290 May 12 10:23 .rvm/hooks/after_use_jruby | |
30963313 8 -rw-r--r-- 1 chorn staff 253 May 12 10:23 .rvm/hooks/after_use_jruby_opts | |
30963314 8 -rwxr-xr-x 1 chorn staff 147 May 12 10:23 .rvm/hooks/after_use_maglev | |
30963315 8 -rw-r--r-- 1 chorn staff 235 May 12 10:23 .rvm/hooks/after_use_rbx_opts | |
30963316 8 -rw-r--r-- 1 chorn staff 612 May 12 10:23 .rvm/hooks/after_use_textmate | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ which rails && head -n 1 $( which rails )
/Users/chorn/.rvm/gems/ruby-2.1.2/bin/rails
!/usr/bin/env ruby_executable_hooks