Skip to content

Commit

Permalink
updates for heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
fatima ahmed committed Aug 20, 2019
1 parent 0778bae commit 7d40806
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 7 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ ruby '2.6.3'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.0'
# Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.4'
# Use Puma as the app server
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
gem 'sass-rails', '~> 5'
Expand Down
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ GEM
nio4r (2.4.0)
nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
pg (1.1.4)
public_suffix (3.1.1)
puma (3.12.1)
rack (2.0.7)
Expand Down Expand Up @@ -206,13 +207,14 @@ DEPENDENCIES
capybara (>= 2.15)
jbuilder (~> 2.7)
listen (>= 3.0.5, < 3.2)
pg
puma (~> 3.11)
rails (~> 6.0.0)
sass-rails (~> 5)
selenium-webdriver
spring
spring-watcher-listen (~> 2.0.0)
sqlite3 (~> 1.4)
sqlite3
turbolinks (~> 5)
tzinfo-data
web-console (>= 3.3.0)
Expand Down
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Rails.application.routes.draw do
root 'cars#index'
resources :cars
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end

0 comments on commit 7d40806

Please sign in to comment.