diff --git a/install.sh b/install.sh index f66722d..655bccc 100644 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ fi #TODO: quit if no: rails, git, bundle, heroku lowercaseprojectname=`echo $projectname | awk '{print tolower($0)}'` -rails new $projectname +rails new $projectname -T --skip-bundle cd $projectname git init heroku create $lowercaseprojectname @@ -19,7 +19,8 @@ echo "gem 'johnhenry'" >> Gemfile bundle bundle exec rake john_henry:install bundle -git add app config Gemfile* +rails g rspec:install +git add app config Gemfile* spec git rm app/views/layouts/application.html.erb git commit -m 'Install JohnHenryRails' bundle exec rake john_henry:install:migrations diff --git a/lib/Gemfile b/lib/Gemfile index 68f7983..4bb09b3 100644 --- a/lib/Gemfile +++ b/lib/Gemfile @@ -16,5 +16,6 @@ group :development, :test do gem 'sqlite3' gem 'pry-rails' gem 'email_preview' + gem 'rspec-rails' end # END autogenerated by JohnHenryRails