RVM and Textmate

Since RVM works its magic by manipulating your shell's environment, Textmate can't know what version of ruby you've activated in RVM. This is, frankly, a pain. Fortunately there's a quick fix in new versions of RVM. 

  1. In Textmate goto: Preferences -> Advanced -> Shell Variables
    • Add a variable named TM_RUBY
    • Set the value of TM_RUBY to: /Users/your_username/.rvm/bin/textmate_ruby
      Screen_shot_2010-01-22_at_3
  2. From a terminal run: rvm ruby-version --symlink textmate
    • for JRuby => rvm jruby --symlink textmate
    • for Ruby 1.8.7 => rvm 1.8.7 --symlink textmate
    • etc...
  3. Run the previous command whenever you want to change the ruby that Textmate uses!

Rich Hickey: Are We There Yet?

Summary 
In his keynote at JVM Languages Summit 2009, Rich Hickey advocated for the reexamination of basic principles like state, identity, value, time, types, genericity, complexity, as they are used by OOP today, to be able to create the new constructs and languages to deal with the massive parallelism and concurrency of the future. 

Thought provoking talk from the creator of Clojure. This is the first time the ideas in Clojure really gelled for me and made me willing to get rid of the OO model in my head.