Skip to content

Instantly share code, notes, and snippets.

View chrislerum's full-sized avatar

Chris Lerum chrislerum

View GitHub Profile
--trace gemset use two
rvm 0.1.24 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
gemsets : for ruby-1.8.7-p72 (found in /Users/chris/.rvm/gems/)
global
one
two
ruby-1.8.7-p72 ~
rvm gemset use one
Now using gemset 'one'
usage: basename string [suffix]
basename [-a] [-s suffix] string [...]
awk: extra } at source line 1
rvm --create use 1.9.1%rails3
ruby ruby-1.9.1%rails3 is not installed.
To install do: 'rvm install ruby-1.9.1%rails3'
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 ~
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@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 '' ]]
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)