Skip to content

Instantly share code, notes, and snippets.

@verticonaut
Created May 5, 2010 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verticonaut/390508 to your computer and use it in GitHub Desktop.
Save verticonaut/390508 to your computer and use it in GitHub Desktop.
- rvm
- rvm install 1.9.2-head
- rmv create gemset 1.9.2-head@r3
- rmv use above
- gem install rails3b
- gem install rails --pre
- gem install sqlite3
- gem install haml
- gem install rspec --pre
- gem install rspec-rails --pre
- generate rails app
>rails your_app
- >cd your_app
- add in config/appication.rb
config.generators do |g|
g.orm :active_record
g.template_engine :haml
g.test_framework :rspec, :fixture => true, :views => false
end
- >haml --rails .
- rails g rspec:install
- install haml generators
>git clone git://github.com/psynix/rails3_haml_scaffold_generator.git lib/generators/haml
- install other generators
>git clone git://github.com/indirect/rails3-generators.git lib/generators
- >bundle install
- rails g scaffold TestModel title:string
NOTE: Should call "bundle exec 'rake or so'" instead 'rake of so' only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment