Random assortment of activities aimed a learning Ruby, Rails, and TDD
- Ruby 100%
|
|
||
|---|---|---|
| Archive | Reorganize repo in preparation for reival | |
| Calculator | Add failing div test | |
| Cards | Make progress with Cards | |
| LittleExamples | Add Factorial example | |
| OdinProjects | Make progress with Cards | |
| Pawel | Add the gentle rspec link | |
| ProjManagement | Add simple module namespace example | |
| StudentWork | Add two student projects | |
| Trees | Add DeepSeek RSpec tests for BST | |
| .gitignore | Initial commit | |
| LICENSE | Initial commit | |
| README.md | Add simple module namespace example | |
| Resources.md | Start trying to learn rspec | |
Experiments Used in a Crash Course in Ruby
Directory
Installation
rbenv came up most frequently as the recommended way for developers to install Ruby.
Following this recommendation, I ran
$ sudo apt install -y git curl autoconf bison build-essential libssl-dev libyaml-dev libreadline-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev libdb-dev
$ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
After login out and logging back in again, I ran
$ rbenv install 3.4.2
$ gem install rspec
After seeing a message that a newer version of gem was available, I ran
$ gem update
which updated all my gem packages.