Skip to content

Instantly share code, notes, and snippets.

@steve21124
Created February 2, 2012 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steve21124/1721589 to your computer and use it in GitHub Desktop.
Save steve21124/1721589 to your computer and use it in GitHub Desktop.
ruby
Last login: Thu Feb 2 03:34:28 on ttys000
robinhood:~ steve$ cat ~/.railsrc
cat: /Users/steve/.railsrc: No such file or directory
robinhood:~ steve$ rvm current
ruby-1.9.2-p290@rails3
robinhood:~ steve$ rvm gemdir
/Users/steve/.rvm/gems/ruby-1.9.2-p290@rails3
robinhood:~ steve$ cd /Users/steve/.rvm/gems/ruby-1.9.2-p290@rails3
robinhood:ruby-1.9.2-p290@rails3 steve$ ls -al
total 0
drwxr-xr-x 7 steve staff 238 Aug 25 02:27 .
drwxr-xr-x 15 steve staff 510 Feb 2 01:53 ..
drwxr-xr-x 26 steve staff 884 Nov 2 21:23 bin
drwxr-xr-x 118 steve staff 4012 Nov 2 21:23 cache
drwxr-xr-x 41 steve staff 1394 Oct 1 13:03 doc
drwxr-xr-x 116 steve staff 3944 Nov 2 21:23 gems
drwxr-xr-x 116 steve staff 3944 Nov 2 21:23 specifications
robinhood:ruby-1.9.2-p290@rails3 steve$ ls -al gems
total 0
drwxr-xr-x 116 steve staff 3944 Nov 2 21:23 .
drwxr-xr-x 7 steve staff 238 Aug 25 02:27 ..
drwxr-xr-x 9 steve staff 306 Aug 25 02:30 POpen4-0.1.4
drwxr-xr-x 4 steve staff 136 Aug 25 02:30 Platform-0.4.0
drwxr-xr-x 8 steve staff 272 Aug 25 02:30 abstract-1.0.0
drwxr-xr-x 6 steve staff 204 Aug 25 02:40 actionmailer-3.0.10
drwxr-xr-x 6 steve staff 204 Aug 25 02:30 actionmailer-3.0.3
drwxr-xr-x 6 steve staff 204 Aug 25 02:47 actionmailer-3.1.0.rc6
drwxr-xr-x 6 steve staff 204 Aug 25 02:40 actionpack-3.0.10
drwxr-xr-x 6 steve staff 204 Aug 25 02:30 actionpack-3.0.3
drwxr-xr-x 6 steve staff 204 Aug 25 02:47 actionpack-3.1.0.rc6
drwxr-xr-x 6 steve staff 204 Aug 25 02:40 activemodel-3.0.10
drwxr-xr-x 6 steve staff 204 Aug 25 02:30 activemodel-3.0.3
drwxr-xr-x 6 steve staff 204 Aug 26 14:01 activemodel-3.0.7
drwxr-xr-x 6 steve staff 204 Aug 25 02:47 activemodel-3.1.0.rc6
drwxr-xr-x 6 steve staff 204 Nov 2 21:02 activemodel-3.1.1
drwxr-xr-x 6 steve staff 204 Aug 25 02:40 activerecord-3.0.10
drwxr-xr-x 6 steve staff 204 Aug 25 02:30 activerecord-3.0.3
drwxr-xr-x 6 steve staff 204 Aug 25 02:47 activerecord-3.1.0.rc6
drwxr-xr-x 6 steve staff 204 Aug 25 02:40 activeresource-3.0.10
drwxr-xr-x 6 steve staff 204 Aug 25 02:30 activeresource-3.0.3
drwxr-xr-x 6 steve staff 204 Aug 25 02:47 activeresource-3.1.0.rc6
drwxr-xr-x 5 steve staff 170 Aug 26 13:54 activesupport-3.0.10
drwxr-xr-x 5 steve staff 170 Aug 25 02:30 activesupport-3.0.3
drwxr-xr-x 5 steve staff 170 Aug 26 13:59 activesupport-3.0.7
drwxr-xr-x 5 steve staff 170 Aug 25 02:47 activesupport-3.1.0.rc6
drwxr-xr-x 5 steve staff 170 Nov 2 21:01 activesupport-3.1.1
drwxr-xr-x 10 steve staff 340 Aug 25 02:30 addressable-2.2.4
drwxr-xr-x 10 steve staff 340 Aug 25 03:44 addressable-2.2.6
drwxr-xr-x 9 steve staff 306 Aug 25 05:03 annotate-2.4.0
drwxr-xr-x 12 steve staff 408 Aug 25 02:30 arel-2.0.10
drwxr-xr-x 14 steve staff 476 Aug 25 02:47 arel-2.2.1
drwxr-xr-x 10 steve staff 340 Aug 25 02:31 aws-s3-0.6.2
drwxr-xr-x 13 steve staff 442 Aug 25 02:31 bcrypt-ruby-2.1.4
drwxr-xr-x 6 steve staff 204 Nov 2 21:03 bson-1.3.1
drwxr-xr-x 5 steve staff 170 Nov 2 21:04 bson_ext-1.1.1
drwxr-xr-x 9 steve staff 306 Aug 25 02:30 builder-2.1.2
drwxr-xr-x 10 steve staff 340 Aug 25 02:47 builder-3.0.0
drwxr-xr-x 14 steve staff 476 Aug 25 02:27 bundler-1.0.18
drwxr-xr-x 15 steve staff 510 Oct 1 13:03 bundler-1.0.21
drwxr-xr-x 15 steve staff 510 Aug 25 02:31 devise-1.4.2
drwxr-xr-x 14 steve staff 476 Aug 25 02:31 disguise-3.0.2
drwxr-xr-x 14 steve staff 476 Aug 25 02:30 erubis-2.6.6
drwxr-xr-x 14 steve staff 476 Aug 25 02:47 erubis-2.7.0
drwxr-xr-x 9 steve staff 306 Aug 25 02:31 faraday-0.6.1
drwxr-xr-x 9 steve staff 306 Aug 29 07:00 geokit-1.5.0
drwxr-xr-x 4 steve staff 136 Aug 29 07:00 geokit-rails3-0.1.2
drwxr-xr-x 7 steve staff 238 Aug 25 03:44 heroku-2.5.0
drwxr-xr-x 5 steve staff 170 Aug 25 02:47 hike-1.2.1
drwxr-xr-x 10 steve staff 340 Aug 25 02:31 hpricot-0.8.4
drwxr-xr-x 8 steve staff 272 Aug 25 02:40 i18n-0.5.0
drwxr-xr-x 8 steve staff 272 Aug 25 02:30 i18n-0.6.0
drwxr-xr-x 8 steve staff 272 Aug 25 02:31 jammit-0.6.3
drwxr-xr-x 23 steve staff 782 Nov 2 21:20 json-1.6.1
drwxr-xr-x 11 steve staff 374 Aug 25 03:44 launchy-2.0.5
drwxr-xr-x 7 steve staff 238 Aug 25 02:30 mail-2.2.19
drwxr-xr-x 9 steve staff 306 Aug 25 02:47 mail-2.3.0
drwxr-xr-x 12 steve staff 408 Aug 25 02:30 mime-types-1.16
drwxr-xr-x 10 steve staff 340 Nov 2 21:20 mongo-1.3.1
drwxr-xr-x 7 steve staff 238 Nov 2 21:21 mongoid-2.2.0
drwxr-xr-x 14 steve staff 476 Aug 25 02:31 multi_json-1.0.3
drwxr-xr-x 13 steve staff 442 Aug 25 02:31 multi_xml-0.2.2
drwxr-xr-x 7 steve staff 238 Aug 25 02:31 multipart-post-1.1.3
drwxr-xr-x 18 steve staff 612 Aug 25 02:31 net-ldap-0.2.2
drwxr-xr-x 15 steve staff 510 Aug 25 02:31 nokogiri-1.4.7
drwxr-xr-x 12 steve staff 408 Aug 25 02:32 oa-basic-0.2.6
drwxr-xr-x 12 steve staff 408 Aug 25 02:32 oa-core-0.2.6
drwxr-xr-x 12 steve staff 408 Aug 25 02:32 oa-enterprise-0.2.6
drwxr-xr-x 12 steve staff 408 Aug 25 02:32 oa-more-0.2.6
drwxr-xr-x 13 steve staff 442 Aug 25 02:32 oa-oauth-0.2.6
drwxr-xr-x 12 steve staff 408 Aug 25 02:32 oa-openid-0.2.6
drwxr-xr-x 16 steve staff 544 Aug 25 02:32 oauth-0.4.5
drwxr-xr-x 15 steve staff 510 Aug 25 02:32 oauth2-0.4.1
drwxr-xr-x 22 steve staff 748 Aug 25 02:32 omniauth-0.2.6
drwxr-xr-x 10 steve staff 340 Aug 25 02:30 open4-1.1.0
drwxr-xr-x 12 steve staff 408 Aug 25 02:31 orm_adapter-0.0.5
drwxr-xr-x 17 steve staff 578 Aug 25 02:32 pg-0.11.0
drwxr-xr-x 9 steve staff 306 Aug 25 02:30 polyglot-0.3.2
drwxr-xr-x 5 steve staff 170 Aug 25 02:32 pyu-ruby-sasl-0.0.3.3
drwxr-xr-x 12 steve staff 408 Nov 2 21:22 rack-1.2.1
drwxr-xr-x 13 steve staff 442 Aug 25 02:30 rack-1.2.3
drwxr-xr-x 13 steve staff 442 Aug 25 02:47 rack-1.3.2
drwxr-xr-x 12 steve staff 408 Aug 25 02:47 rack-cache-1.0.2
drwxr-xr-x 5 steve staff 170 Aug 25 02:30 rack-mount-0.6.14
drwxr-xr-x 5 steve staff 170 Aug 25 02:47 rack-mount-0.8.2
drwxr-xr-x 5 steve staff 170 Aug 25 02:32 rack-openid-1.3.1
drwxr-xr-x 5 steve staff 170 Aug 25 02:47 rack-ssl-1.3.2
drwxr-xr-x 14 steve staff 476 Aug 25 02:30 rack-test-0.5.7
drwxr-xr-x 14 steve staff 476 Aug 25 02:47 rack-test-0.6.1
drwxr-xr-x 3 steve staff 102 Aug 25 02:40 rails-3.0.10
drwxr-xr-x 3 steve staff 102 Aug 25 02:32 rails-3.0.3
drwxr-xr-x 3 steve staff 102 Aug 25 03:11 rails-3.1.0.rc6
drwxr-xr-x 6 steve staff 204 Aug 25 02:40 railties-3.0.10
drwxr-xr-x 6 steve staff 204 Aug 25 02:32 railties-3.0.3
drwxr-xr-x 7 steve staff 238 Aug 25 02:47 railties-3.1.0.rc6
drwxr-xr-x 14 steve staff 476 Aug 25 02:47 rake-0.9.2
drwxr-xr-x 14 steve staff 476 Aug 25 02:33 rdoc-3.9.2
drwxr-xr-x 9 steve staff 306 Aug 25 02:32 rest-client-1.6.3
drwxr-xr-x 17 steve staff 578 Aug 25 02:33 rmagick-2.9.0
drwxr-xr-x 12 steve staff 408 Aug 25 02:32 ruby-openid-2.1.8
drwxr-xr-x 3 steve staff 102 Aug 25 02:32 ruby-openid-apps-discovery-1.2.0
drwxr-xr-x 7 steve staff 238 Aug 25 02:32 rubyntlm-0.1.1
drwxr-xr-x 16 steve staff 544 Nov 2 21:23 sinatra-1.1.0
drwxr-xr-x 5 steve staff 170 Aug 25 02:47 sprockets-2.0.0.beta.14
drwxr-xr-x 16 steve staff 544 Aug 25 03:44 term-ansicolor-1.0.6
drwxr-xr-x 9 steve staff 306 Aug 25 02:32 thor-0.14.6
drwxr-xr-x 10 steve staff 340 Nov 2 21:23 tilt-1.1
drwxr-xr-x 10 steve staff 340 Aug 25 02:47 tilt-1.3.2
drwxr-xr-x 11 steve staff 374 Aug 25 02:30 treetop-1.4.10
drwxr-xr-x 8 steve staff 272 Aug 26 14:02 tzinfo-0.3.27
drwxr-xr-x 8 steve staff 272 Aug 25 02:30 tzinfo-0.3.29
drwxr-xr-x 8 steve staff 272 Nov 2 21:21 tzinfo-0.3.30
drwxr-xr-x 15 steve staff 510 Aug 25 02:31 warden-1.0.5
drwxr-xr-x 8 steve staff 272 Aug 25 02:33 will_paginate-3.0.pre2
drwxr-xr-x 3 steve staff 102 Aug 25 02:30 xml-simple-1.1.0
drwxr-xr-x 5 steve staff 170 Aug 25 02:31 yui-compressor-0.9.6
robinhood:ruby-1.9.2-p290@rails3 steve$ cat Gemfile
cat: Gemfile: No such file or directory
robinhood:ruby-1.9.2-p290@rails3 steve$ cd ..
robinhood:gems steve$ ls
cache ruby-1.9.2-p290@global ruby-1.9.2-p290@rails3.1.0
ruby-1.8.7-p352 ruby-1.9.2-p290@heroku_sinatra ruby-1.9.2-p290@rails3.2
ruby-1.8.7-p352@global ruby-1.9.2-p290@latest_rails3_stable ruby-1.9.2-p290@sinatras3
ruby-1.8.7-p352@latest_rails_stable ruby-1.9.2-p290@latest_rails_stable
ruby-1.9.2-p290 ruby-1.9.2-p290@rails3
robinhood:gems steve$ cd /Users/steve/.rvm/gems/ruby-1.9.2-p290@rails3
robinhood:ruby-1.9.2-p290@rails3 steve$ gem list rail
*** LOCAL GEMS ***
rails (3.1.0.rc6, 3.0.10, 3.0.3)
railties (3.1.0.rc6, 3.0.10, 3.0.3)
robinhood:ruby-1.9.2-p290@rails3 steve$ which rails
/Users/steve/.rvm/gems/ruby-1.9.2-p290@rails3/bin/rails
robinhood:ruby-1.9.2-p290@rails3 steve$ ruby -ve 'puts 4'
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.6.0]
4
robinhood:ruby-1.9.2-p290@rails3 steve$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment