- rvm
# make sure iconv/readline is installed with rvm
$> rvm pkg install iconv
$> rvm pkg install readline
$> rvm install 1.9.3-p0 --with-iconv-dir=$rvm_path/user
- guard
- spork
- rspec
- capybara
- factory_girl
- annotate (integrated into rake db:migrate)
- clone project and re-init git
$> git clone [email protected]:xiaotian/rails32_boilerplate.git
$> cd rails32_boilerplate
$> rm -rf .git
$> git init
- rename project
$> find ./ -type f -exec sed -i '' 's/Rails32Boilerplate/SampleApp/g' {} \;
$> find ./ -type f -exec sed -i '' 's/rails32_boilerplate/sample_app/g' {} \;
-
generate new secret token config/initializer/secret_token.rb (you can generate a dummy project and copy from it)
-
remove FooBar scaffold
$> rails destroy scaffold FooBar