14. Gemfile Changes
- We're going to edit a special file called Gemfile.
- Terminology: gems are packages of files from other developers we can use to save us time as we develop. In the world of Rails, gems and plugins are different things, but in some other languages and frameworks, the word 'plugin' is used to describe the same concept.
- The '~>' and '>=' characters affect which version of a gem gets downloaded to our virtual computer and used in our app.
(To make sure you are in your Rails application folder, type...) cd cd workspace/saasapp git checkout -b pages_and_layout
In the video, we make multiple edits to our Gemfile, which is a file that resides directly inside the Rails application folder. This is what your final file should look like:
Once your file contains the exact same code from above, run these commands in your Terminal:
git status git add . git commit -m "Updated Gemfile for consistency" git push origin pages_and_layout