Load error at eval_style.rb
johnblanco opened this issue · comments
Hi Giles,
I saw your Archaeopteryx presentation online and wanted to give it a try. I installed chuck and when I tried to run ruby eval_style.rb but I get the following error...
juan@black-narwhal:~/Desktop/archaeopteryx$ ruby eval_style.rb
/home/juan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- lib/archaeopteryx (LoadError) from /home/juan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from eval_style.rb:1:in `
Is there anything I can do ?
i believe you can use the midi_files branch @gilesbowkett told me a while back it was cleaner. Also in ruby 1.9. you have to explicitly add the current directory to your load path.
midi_files
is indeed the most up-to-date branch (if I remember correctly). I would try adding the current dir as @StupidCodeFactory says, because it looks a simple failure to load lib/archaeopteryx
. So you would change the require
statements from require lib/archaeopteryx
to require ./lib/archaeopteryx
.
Caveat: I've actually never tried Archaeopteryx with Ruby 1.9 or later; I rewrote it in Node.js with CoffeeScript last year, but I haven't open-sourced that.
Closing this issue; I hope that worked.
Good news: I've rewritten Archaeopteryx in Clojure. Bad news: I don't think it's ready to release.