DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Installing Rails 3 With HAML And Thin
sudo gem install rails --pre # beta version sudo gem install railties --pre bundle install # install gems in Gemfile rails myapp cd myapp haml --rails . # install haml into app. add 'gem "haml"' to Gemfile git init git submodule add git://github.com/psynix/rails3_haml_scaffold_generator.git lib/generators/haml # haml generator rails generate scaffold person name:string dob:date age:integer male:boolean bio:text rake db:migrate rails server thin # add 'gem "thin"' to Gemfile





