Installing Ruby 1.9 on Mac OSX
January 18th, 2008
If you have ruby and a mac, no doubt you want to try out 1.9 – but be warned, some things can break! This little tutorial shows you how to install Ruby 1.9 in parallel to your 1.8.x installation… which can be handy…
Read the rest of this entry
Posted by mikel
Filed in Ruby
3 comments »
Latest comments
- Tomek
CTR-W is my best friend :) So called bash shotcuts – highly recommended stuff
- Ali Rizvi
Did you mean Person.new instead of MyStruct.new in your second code excerpt?
Keep up the good work! Ali
- Mikel
@Clemens
I actually use Geoffrey’s approach in all my spec’s in addition to this little builder.
The idea of the...
- Clemens Kofler
Geoffrey Grosenbach uses another method in his screencasts sometimes.
In your user_spec.rb, you’d have the following code:module UserSpecHelper...
- Xavier Shay
Even quicker way to assign User.find to a variable: user = _
the value of the last line executed is...
- Mikel
Duncan, good point, I changed the code above. Thanks for that.