Locked lesson.
About this lesson
Fixing the installation error we received by modifying the Gemfile.
Exercise files
Download this lesson’s related exercise files.
Gem File and Rails Server.docx60 KB Gem File and Rails Server - Solution.docx
57.6 KB
Quick reference
Gem File and Rails Server
In this video we'll fix the installation error we received by modifying the Gemfile. We'll also start the Rails server.
When to Use
Do this every time you want to run your Rails server to see your project live.
Instructions
To fix the installation error, modify the gemfile by changing this line:
gem 'sqlite3'
to this:
gem 'sqlite3', '< 1.4'
To run the Rails server from the terminal, type in this command:
rails s
Login to downloadLesson notes are only available for subscribers.