-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,40 +1,20 @@ | |||
source 'https://rubygems.org' | source 'https://rubygems.org' | ||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
|
|
||
ruby '2.4.1' | ruby '2.5.1' | ||
|
|
||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |||
gem 'rails', '~> 5.2.0' | gem 'rails', '~> 5.2.0' | ||
# Use Puma as the app server | |||
gem 'puma', '~> 3.11' | gem 'puma', '~> 3.11' | ||
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | gem 'mongoid' | ||
# gem 'jbuilder', '~> 2.5' | |||
# Use Redis adapter to run Action Cable in production | |||
# gem 'redis', '~> 4.0' | |||
# Use ActiveModel has_secure_password | |||
# gem 'bcrypt', '~> 3.1.7' | |||
|
|||
# Use Capistrano for deployment | |||
# gem 'capistrano-rails', group: :development | |||
|
|||
# Reduces boot times through caching; required in config/boot.rb | |||
gem 'bootsnap', '>= 1.1.0', require: false | gem 'bootsnap', '>= 1.1.0', require: false | ||
|
|
||
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible | gem 'rack-cors' | ||
# gem 'rack-cors' | |||
|
|
||
group :development, :test do | group :development, :test do | ||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console | |||
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] | |||
end | end | ||
|
|
||
group :development do | group :development do | ||
gem 'listen', '>= 3.0.5', '< 3.2' | gem 'listen', '>= 3.0.5', '< 3.2' | ||
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | |||
gem 'spring' | gem 'spring' | ||
gem 'spring-watcher-listen', '~> 2.0.0' | gem 'spring-watcher-listen', '~> 2.0.0' | ||
end | end | ||
|
|||
|
|||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | |||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,17 @@ | |||
development: | |||
clients: | |||
default: | |||
database: 33_minutes_server_development | |||
hosts: | |||
- localhost:27017 | |||
|
|||
test: | |||
clients: | |||
default: | |||
database: 33_minutes_server_test | |||
hosts: | |||
- localhost:27017 | |||
options: | |||
read: | |||
mode: :primary | |||
max_pool_size: 1 |