Created
October 18, 2011 19:56
-
-
Save rupert-madden-abbott/1296514 to your computer and use it in GitHub Desktop.
Rails App Builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AppBuilder < Rails::AppBuilder | |
def rakefile | |
system "rm -rf /tmp/app" | |
git clone: "git://gist.github.com/1296514.git /tmp/app" | |
template 'Rakefile' | |
end | |
def gemfile | |
copy_file "/tmp/app/Gemfile", "Gemfile" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'rails', '3.1.1' | |
gem 'execjs' | |
gem 'therubyracer' | |
gem 'sqlite3' | |
gem 'haml-rails' | |
gem 'jquery-rails' # https://github.com/indirect/jquery-rails | |
gem 'simple_form' # rails generate simple_form:install | |
gem 'sorcery' # https://github.com/NoamB/sorcery | |
gem 'cancan' # https://github.com/ryanb/cancan | |
gem 'client_side_validations' # https://github.com/bcardarella/client_side_validations | |
group :assets do | |
gem 'sass-rails' | |
gem 'coffee-rails' | |
gem 'uglifier' | |
gem "compass", "~> 0.12.alpha.0" | |
gem 'compass-susy-plugin', require: 'susy' | |
end | |
group :development, :test do | |
gem 'rspec-rails' # rails generate rspec:install | |
gem 'cucumber-rails' # rails generate cucumber:install | |
gem "shoulda", "~> 3.0.0.beta2" | |
end | |
group :development do | |
gem 'rails3-generators' # https://github.com/indirect/rails3-generators | |
gem "guard" # guard init | |
gem "guard-cucumber" # guard init cucumber | |
gem "guard-rspec" # guard init rspec | |
gem "guard-bundler" # guard init bundler | |
gem "guard-passenger" # guard init passenger | |
gem "guard-livereload" # guard init livereload | |
gem "guard-annotate" # guard init annotate | |
gem "guard-rails_best_practices" # guard init rails_best_practices | |
gem 'rb-inotify', require: false | |
gem 'libnotify', require: false | |
gem 'letter_opener' # https://github.com/ryanb/letter_opener | |
gem 'rails_best_practices' | |
gem 'rails-footnotes' # rails generate rails_footnotes:install | |
gem 'annotate' | |
gem 'faker' | |
end | |
group :test do | |
gem 'database_cleaner' | |
gem 'factory_girl_rails' | |
gem 'capybara' | |
gem "capybara-webkit" | |
gem 'turn', require: false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment