-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathGemfile
More file actions
23 lines (19 loc) · 832 Bytes
/
Gemfile
File metadata and controls
23 lines (19 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This file contains information about which libraries
# our application needs in order to run. In Ruby,
# these libraries are called "gems."
#
# Get it? Ruby? Gems? Ha. ha. ha.
source "https://rubygems.org" # Download our libraries from rubygems.org
gem "sinatra", "~> 1.4.5" # Sinatra is the web framework we're using
gem "datamapper", "~> 1.2.0" # DataMapper is the database library we're using
# "development" refers to our local copy, running on our own computer
group :development do
gem "sqlite3" # Use the SQLite3 database locally
gem "dm-sqlite-adapter" # Allow DataMapper to use SQLite3
gem "rerun"
end
# "production" refers to a copy running on a remote server
# (Heroku in our case.)
group :production do
gem "dm-postgres-adapter" # Heroku uses the PostgreSQL database
end