Skip to content

Instantly share code, notes, and snippets.

@steveklabnik
Last active June 4, 2016 16:57
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save steveklabnik/7094241 to your computer and use it in GitHub Desktop.
Save steveklabnik/7094241 to your computer and use it in GitHub Desktop.
A template for making Ember apps with Rails.
run "sed --in-place '/turbolinks/d' Gemfile"
run "sed --in-place '/turbolinks/d' app/assets/javascripts/application.js"
run "sed --in-place '/coffee/d' Gemfile"
run "sed --in-place '/jbuilder/d' Gemfile"
run "sed --in-place 's/, \"data-turbolinks-track\" => true//' app/views/layouts/application.html.erb"
gem 'active_model_serializers'
gem 'ember-rails'
gem 'ember-source', '1.0.0'
environment 'config.ember.variant = :development', env: 'development'
environment 'config.ember.variant = :production', env: 'production'
run 'bundle'
run 'rails generate ember:bootstrap'
generate(:controller, "app", "index")
route 'root "app#index"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment