Skip to content

Instantly share code, notes, and snippets.

@caspian311
Last active October 15, 2016 15:09
Show Gist options
  • Save caspian311/8dc9f4a80dc4e8e79653cb10e7332fb6 to your computer and use it in GitHub Desktop.
Save caspian311/8dc9f4a80dc4e8e79653cb10e7332fb6 to your computer and use it in GitHub Desktop.

Create rails app:

$ rails new <project-name> -T -d mysql

Add to Gemfile:

gem “rspec”
gem "haml-rails"

Install packages:

$ bundle install

Convert erb to haml:

$ rake haml:erb2haml
$ rails generate haml:application_layout convert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment