Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duhh, thanks :)

cd $projectname
git init
heroku create $lowercaseprojectname
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ group :development, :test do
gem 'sqlite3'
gem 'pry-rails'
gem 'email_preview'
gem 'rspec-rails'
end
# END autogenerated by JohnHenryRails