Skip to content

Instantly share code, notes, and snippets.

@technicalpickles
Created March 13, 2012 14:32
Show Gist options
  • Save technicalpickles/2029140 to your computer and use it in GitHub Desktop.
Save technicalpickles/2029140 to your computer and use it in GitHub Desktop.
Rails template
gem 'haml', '>= 3.0.0'
gem 'haml-rails'
gem 'jquery-rails'
gem 'rspec-rails', '>= 2.0.1', :group => [:development, :test]
gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git'
initializer 'generators.rb', <<-RUBY
Rails.application.config do |config|
config.generators do |g|
g.test_framework = :rspec
end
config.app_generators.stylesheet_engine :less
end
RUBY
gem 'pry-rails', :group => :development
run 'bundle install'
generate 'rspec:install'
generate 'bootstrap:install'
remove_file "app/views/layouts/application.html.erb"
generate 'bootstrap:layout', 'application fixed'
remove_file "app/assets/stylesheets/application.css"
git :init
git :add => '.'
git :commit => '-m "Initial import."'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment