#Gemファイル
source
1git_source(:github) { |repo| "https://github.com/#{repo}.git" } 2 3ruby '2.3.7' 4 5# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 6gem 'rails', '~> 5.2.3' 7# Use mysql as the database for Active Record 8gem 'mysql2' 9# Use Puma as the app server 10gem 'puma', '~> 3.11' 11# Use SCSS for stylesheets 12gem 'sass-rails', '~> 5.0' 13# Use Uglifier as compressor for JavaScript assets 14gem 'uglifier', '>= 1.3.0' 15# See https://github.com/rails/execjs#readme for more supported runtimes 16# gem 'mini_racer', platforms: :ruby 17 18# Use CoffeeScript for .coffee assets and views 19gem 'coffee-rails', '~> 4.2' 20# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks 21gem 'turbolinks', '~> 5' 22# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 23gem 'jbuilder', '~> 2.5' 24# Use Redis adapter to run Action Cable in production 25# gem 'redis', '~> 4.0' 26# Use ActiveModel has_secure_password 27# gem 'bcrypt', '~> 3.1.7' 28 29# Use ActiveStorage variant 30# gem 'mini_magick', '~> 4.8' 31 32# Use Capistrano for deployment 33# gem 'capistrano-rails', group: :development 34 35# Reduces boot times through caching; required in config/boot.rb 36gem 'bootsnap', '>= 1.1.0', require: false 37 38group :development, :test do 39 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 40 gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] 41end 42 43group :development do 44 # Access an interactive console on exception pages or by calling 'console' anywhere in the code. 45 gem 'web-console', '>= 3.3.0' 46 gem 'listen', '>= 3.0.5', '< 3.2' 47 # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring 48 gem 'spring' 49 gem 'spring-watcher-listen', '~> 2.0.0' 50end 51 52group :test do 53 # Adds support for Capybara system testing and selenium driver 54 gem 'capybara', '>= 2.15' 55 gem 'selenium-webdriver' 56 # Easy installation and use of chromedriver to run system tests with Chrome 57 gem 'chromedriver-helper' 58end 59 60# Windows does not include zoneinfo files, so bundle the tzinfo-data gem 61gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
#エラーコード
An
1continue. 2Make sure that `gem install mysql2 -v '0.5.2' --source 'https://rubygems.org/'` 3succeeds before bundling.``` 4sudo install は試しましたがダメでした 5解決策を教えていただけたら嬉しいです。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。