ed piman wrote : | I have a Powerbook which came with Ruby installed at /usr/bin/ruby and I have a | more recent version at /usr/local/bin/ruby. I installed Hobix and my first | attemp at a post resulted in this error: | | /usr/lib/ruby/site_ruby/1.8/hobix/out/quick.rb:92:in `load': Error `undefined | method `to_html' for nil:NilClass' in erb | /Users/joe/hobix/mathdad/skel/entry.html.quick. (Hobix::Out::QuickError) | | I suspect Hobix is using the older Ruby; I want it to use the newer one. How can | I accomplish that? I am utterly new to Ruby, so please bear with | me...
AFAIK you have 2 possibilities (which in fact are the same one):
* either launching hobix with the version you'd like:
/usr/local/bin/ruby `which hobix`
* modify the shebang (the #! on the first line) in the hobix file to
point to your desired version:
#!/usr/local/bin/ruby
Best Regards,
--
Frederick Ros aka Sleeper -- [EMAIL PROTECTED]
Make sure your code "does nothing" gracefully.
- The Elements of Programming Style (Kernighan & Plaugher)
pgpxevJ7DOZ96.pgp
Description: PGP signature
_______________________________________________ Hobix-is-the-way mailing list [email protected] http://rubyforge.org/mailman/listinfo/hobix-is-the-way
