Rails Tutorialで作成したアプリをRender.comでデプロイしたい

Gemfile

1source 'https://rubygems.org' 2 3#For using has_secure_password 4gem 'bcrypt', '3.1.12' 5gem 'faker', '1.7.3' 6gem 'carrierwave', '1.2.2' 7gem 'mini_magick', '4.7.0' 8gem 'will_paginate', '3.1.6' 9gem 'bootstrap-will_paginate', '1.0.0' 10gem 'bootstrap-sass', '3.3.7' 11gem 'jquery-rails' 12 13git_source(:github) do |repo_name| 14 repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") 15 "https://github.com/#{repo_name}.git" 16end 17 18# Additional gem code at 5.3.4 12/08 19gem 'rails-controller-testing' 20# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 21gem 'rails', '~> 5.1.6' 22# Use Puma as the app server 23gem 'puma', '~> 3.7' 24# Use SCSS for stylesheets 25gem 'sass-rails', '5.0.6' 26# Use Uglifier as compressor for JavaScript assets 27gem 'uglifier', '>= 1.3.0' 28# See https://github.com/rails/execjs#readme for more supported runtimes 29# gem 'therubyracer', platforms: :ruby 30 31# Use CoffeeScript for .coffee assets and views 32gem 'coffee-rails', '~> 4.2' 33# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks 34gem 'turbolinks', '~> 5' 35# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 36gem 'jbuilder', '~> 2.5' 37# Use Redis adapter to run Action Cable in production 38# gem 'redis', '~> 4.0' 39# Use ActiveModel has_secure_password 40# gem 'bcrypt', '~> 3.1.7' 41 42# Use Capistrano for deployment 43# gem 'capistrano-rails', group: :development 44 45group :development, :test do 46 # Use sqlite3 as the database for Active Record 47 gem 'sqlite3', '~> 1.4' #←bundle updateの不具合の原因(ruby -vが2.7<=じゃないと使えない?) 48 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 49 gem 'byebug', '9.0.6', platform: [:mri, :mingw, :x64_mingw] 50 # Adds support for Capybara system testing and selenium driver 51 gem 'capybara', '~> 2.13' 52 gem 'selenium-webdriver' 53end 54 55group :development do 56 # Access an IRB console on exception pages or by using <%= console %> anywhere in the code. 57 gem 'web-console', '>= 3.3.0' 58 gem 'listen', '>= 3.0.5', '< 3.2' 59 # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring 60 gem 'spring' 61 gem 'spring-watcher-listen', '~> 2.0.0' 62end 63 64# Windows does not include zoneinfo files, so bundle the tzinfo-data gem 65gem 'tzinfo-data' #, platforms: [:mingw, :mswin, :x64_mingw, :jruby] 66 67group :production do 68 gem "pg", "~> 1.4" 69 #gem 'fog', '1.42' 70 gem 'fog-aws' 71 gem 'dotenv-rails'# 環境変数の設定 72end

コメントを投稿

0 コメント