Introducing the library

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

Introducing the library
Introducing the super-easy Excel read / write library xlbean
What I was addicted to when introducing the JNI library
Thinking when introducing a new library
Welcome to the Java Library Swamp! !!
Introducing devise
Introducing RSpec
Introducing the features of JavaFX SceneBuilder container
[Java] Introducing the Generics Boundary Wildcard Type
[Java] Use cryptography in the standard library
I tried the AutoValue library in Intellij
Introducing devise
The process of introducing Vuetify to Rails
3 ways to import the library in Android Studio
The story of introducing Ajax communication to ruby
Create a multi-key map with the standard library
Use Java external library for the time being
Does not recognize the library when implementing jcaptcha