Hi:
I just gem installed ms-sequest version 0.1.1, my ruby version is ruby
1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
Either when I run srf_to_sqt.rb or when require 'ms/sequest/srf', got
the following error:
/Library/Ruby/Gems/1.8/gems/ms-sequest-0.1.1/lib/ms/sequest/srf.rb:
18:in `include': wrong argument type Class (expected Module)
(TypeError)
from /Library/Ruby/Gems/1.8/gems/ms-sequest-0.1.1/lib/ms/sequest/
srf.rb:18
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Library/Ruby/Gems/1.8/gems/ms-sequest-0.1.1/lib/ms/sequest/srf/
sqt.rb:4
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Library/Ruby/Gems/1.8/gems/ms-sequest-0.1.1/bin/srf_to_sqt.rb:4
from /usr/bin/srf_to_sqt.rb:19:in `load'
from /usr/bin/srf_to_sqt.rb:19
I've googled for a while and got this blog post:
http://www.imminentweb.com/technologies/rubys-include-and-extend
which says "Do not attempt to include or extend another Class"
Unfortunately, Ms::Indent::Search is also defined as a Class.
How can I work around? Thanks in advance.