This file contains hidden or 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 Setup < Thor | |
include Thor::Actions | |
APP_ROOT = File.dirname(__FILE__) + "../../../".freeze | |
PLUGINS = [:rspec, :cucumber, :simple_form, :devise].freeze | |
SUCCESS_NOTICE = <<-SUCCESS_TEXT | |
Successful install [[[Name]]]. | |
SUCCESS_TEXT |
This file contains hidden or 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
#################################################### | |
# | |
# Name: rails application template | |
# Author: douhashi | |
# Usage: | |
# rails new your_app_name [-d mysql] -T --skip-bundle -m https://raw.github.com/gist/1188958 | |
# | |
#################################################### | |
This file contains hidden or 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
# This file is copied to spec/ when you run 'rails generate rspec:install' | |
require 'rubygems' | |
require 'factory_girl' | |
require 'spork' | |
require 'database_cleaner' | |
Spork.prefork do | |
ENV["RAILS_ENV"] ||= 'test' | |
require File.expand_path("../../config/environment", __FILE__) | |
require 'rspec/rails' |
NewerOlder