Upgrading to Haml 1.7 on Mac OS X TigerEdit

These notes were made while upgrading to Haml 1.7 on Mac OS X Tiger.

Installing the gem

sudo gem install haml

Output

Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed haml-1.7.0
Installing ri documentation for haml-1.7.0...
While generating documentation for haml-1.7.0
... MESSAGE:   Unhandled special: Special: type=17, text="<!-- This is the billabong element -->"
... RDOC args: --ri --op /usr/local/lib/ruby/gems/1.8/doc/haml-1.7.0/ri --title Haml --main README --exclude lib/haml/buffer.rb --line-numbers --inline-source --quiet lib VERSION MIT-LICENSE README
(continuing with the rest of the installation)
Installing RDoc documentation for haml-1.7.0...

Updating the FastRI index

fastri-server -b

Output

Indexing RI docs for ParseTree version 1.7.1.
Indexing RI docs for RubyInline version 3.6.3.
Indexing RI docs for ZenTest version 3.6.0.
Indexing RI docs for actionmailer version 1.3.3.
Indexing RI docs for actionpack version 1.13.3.
Indexing RI docs for actionwebservice version 1.2.3.
Indexing RI docs for activerecord version 1.15.3.
Indexing RI docs for activesupport version 1.4.2.
Indexing RI docs for cmdparse version 2.0.2.
Indexing RI docs for dhaka version 2.2.1.
Indexing RI docs for diff-lcs version 1.1.2.
Indexing RI docs for fastri version 0.3.0.1.
Indexing RI docs for haml version 1.7.0.
Indexing RI docs for heckle version 1.4.1.
Indexing RI docs for hoe version 1.2.1.
Indexing RI docs for hpricot version 0.5.
Indexing RI docs for meta_project version 0.4.15.
Indexing RI docs for model_security_generator version 0.0.9.
Indexing RI docs for rake version 0.7.3.
Indexing RI docs for rcodetools version 0.5.0.0.
Indexing RI docs for rcov version 0.8.0.2.
Indexing RI docs for rspec version 1.0.5.
Indexing RI docs for ruby-debug version 0.9.3.
Indexing RI docs for ruby-debug-base version 0.9.3.
Indexing RI docs for ruby-prof version 0.5.0.
Indexing RI docs for ruby2ruby version 1.1.6.
Indexing RI docs for rubyforge version 0.4.2.
Indexing RI docs for rubygems version 0.9.2.
Indexing RI docs for spec_ui version 0.2.3.
Indexing RI docs for sqlite3-ruby version 1.2.1.
Indexing RI docs for syntax version 1.0.0.
Indexing RI docs for walrus version 0.1.
Indexing RI docs for webgen version 0.4.4.
Building index.
Indexed:
* 13204 methods
* 2706 classes/modules
Needed 3.465476 seconds

Rails

As noted in my initial installation notes ("Installing Haml 1.5.2"), the instructions for installing Haml in a Rails application cause it to be installed in a folder called stable, and I feel this is a bad idea.

If the Haml RubyGem is installed then you can avoid this problem by invoking the following from the top-level directory of your Rails application:

haml --rails .

Otherwise you’ll need to perform the explicit checkout that I recommend in my previous notes:

svn export http://svn.hamptoncatlin.com/haml/tags/stable vendor/plugins/haml