Skip to content

Instantly share code, notes, and snippets.

View chrislerum's full-sized avatar

Chris Lerum chrislerum

View GitHub Profile
rvm list
rvm Rubies
ruby-1.8.7-p72 [ x86_64 ]
ruby-1.9.1-p378 [ x86_64 ]
System Ruby
system [ x86_64 i386 ppc ]
diff rails3.gems rails3_deps_very_latest.gems
2c2
< tzinfo -v0.3.16
---
> tzinfo -v0.3.17
4c4
< memcache-client -v1.7.8
---
> memcache-client -v1.8.1
7c7
# rails3.gems generated gem dump file. Note that any env variable settings will be missing. Append these after using a ';' field separator
tzinfo -v0.3.17
builder -v2.1.2
memcache-client -v1.8.1
rack -v1.1.0
rack-test -v0.5.3
rack-mount -v0.6.1
abstract -v1.0.0
erubis -v2.6.5
activesupport -v2.3.5
ruby-1.8.7-p72@global ~
rvm gemset list
gemsets : for ruby-1.8.7-p72 (found in /Users/chris/.rvm/gems/)
dude
global
ruby-1.8.7-p72@global ~
rvm gemset use dude
Gemset 'dude' does not exist, rvm gemset create 'dude' first.
ruby-1.8.7-p72@global ~
rvm --trace gemset use dude
system ~
rvm use 1.8.7-p72
Using ruby 1.8.7 p72
ruby-1.8.7-p72 ~
rvm gemset list
gemsets : for ruby-1.8.7-p72 (found in /Users/chris/.rvm/gems/)
global
ruby-1.8.7-p72 ~
rvm gemset create bob
Gemset 'bob' created.
ruby-1.8.7-p72@jack ~
rvm gemset use bob
Gemset 'bob' does not exist, rvm gemset create 'bob' first.
ruby-1.8.7-p72@jack ~
rvm --trace gemset use bob
--trace gemset use bob
rvm 0.1.27 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
ruby-1.8.7-p72 ~
rvm --trace gemset use bob
--trace gemset use bob
rvm 0.1.27 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
ruby-1.8.7-p72 ~
rvm --trace gemset use bob
--trace gemset use bob
rvm 0.1.27 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
sp spec/my_stuff.rb
use #assign instead of #populate for future versions
| it "really changes something" do | ./spec/my_stuff.rb:9
| \ calling Spec::Example::ExampleGroupMethods::it
Spec::Example::ExampleGroupMethods::it (/Users/chris/.rvm/gems/ruby-1.8.7-p72@cm/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:73) (line):
| | (description = "really changes something"; options = {}; backtrace =...
def example(description=nil, options={}, backtrace=nil, &implementation)
-> example_proxy = ExampleProxy.new(description, options, backtrace || caller(0)[1])
example_proxies << example_proxy
system ~
rvm list
rvm Rubies
ruby-1.8.7-p72 [ x86_64 ]
=> ruby-1.9.2-head [ x86_64 ]
Default Ruby (for new shells)