Skip to content

Commit

Permalink
updates for heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkeane committed Feb 16, 2020
1 parent 13f7e3c commit 49f4898
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ ruby '2.6.5'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.3'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
#gem 'sqlite3'
group :development, :test do
gem 'sqlite3'
end

group :production do
gem 'pg'
end
# Use Puma as the app server
gem 'puma', '~> 3.11'
# Use SCSS for stylesheets
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ GEM
nio4r (2.5.2)
nokogiri (1.10.8)
mini_portile2 (~> 2.4.0)
pg (1.2.2)
public_suffix (4.0.3)
puma (3.12.2)
rack (2.2.2)
Expand Down Expand Up @@ -197,6 +198,7 @@ DEPENDENCIES
coffee-rails (~> 4.2)
jbuilder (~> 2.5)
listen (>= 3.0.5, < 3.2)
pg
puma (~> 3.11)
rails (~> 5.2.3)
sass-rails (~> 5.0)
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Rails.application.routes.draw do
root 'cars#index'
resources :cars
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end

0 comments on commit 49f4898

Please sign in to comment.