After creating the app in the previous article, install the library. A library is a Gem, which is an extension function for expediting development. Leave as a memorandum.
Manage the name and version used by the app in the Gemfile.
After writing in the file, do bundle install in the terminal.
Gemfile
# Use mysql as the database for Active Record
gem 'mysql2', '0.5.3'add to
.
.
.
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem 'pry-rails'add to
After addition, bundle update This time update to update the existing version
OK if you start rails s
Recommended Posts