Hacker News new | ask | show | jobs
by nomilk 1283 days 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?

1 comments

I 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 && cd ruby