Created
May 5, 2010 07:58
-
-
Save verticonaut/390508 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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