3 ms·
How do I run these? For example: ``` ruby sample/biorhythm.rb ruby: No such file or directory -- sample/biorhythm.rb (LoadError) ``` (I know I could simply
by nomilk 4y ago
How do I run these? For example:
```
ruby sample/biorhythm.rb
ruby: No such file or directory -- sample/biorhythm.rb (LoadError)
```
(I know I could simply copy these files off GitHub, but does the IRB on my computer already know about these biorhythm/calendar files somehow). Am I missing something?
- codenamev 4y agoI will update the article, but all of the code snippets were run from the root of the ruby source code. So before you run them: git clone https://github.com/ruby/ruby.git https://github.com/ruby/ruby.git && cd ruby