Skip to content

Instantly share code, notes, and snippets.

@ywjno
Last active October 9, 2015 14:48
Show Gist options
  • Save ywjno/3525058 to your computer and use it in GitHub Desktop.
Save ywjno/3525058 to your computer and use it in GitHub Desktop.
add default work in rails 4.x
#!/bin/sh
tee -a Gemfile << EOF
gem 'bootstrap-sass', '~> 3.1.1'
gem 'settingslogic'
gem 'simple_form'
gem 'slim-rails'
group :development do
gem 'guard-livereload'
gem 'rack-livereload'
gem 'better_errors'
gem 'binding_of_caller'
gem 'quiet_assets'
gem 'thin'
end
EOF
tee -a ./app/assets/stylesheets/application.css << EOF
//= require twitter/bootstrap
//= require twitter/bootstrap-responsive
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment