Bill Kelly wrote:
> From: "Gregory Brown" <gregory.t.brown / gmail.com>
>> 2) Ease of install
>> 3) Ability to make it look pretty
>> 4) General l33tn355
> 
> I haven't tried many other ruby wikis, but I just installed
> SOKS: http://rubyforge.org/projects/soks/
> 
> ...and it seems to be a pretty nice one.
> 
> 
> As for ease of install, it was very easy, with just one quirk:
> 
> In the start.rb file that it generated for me:
> 
>   require 'rubygems'
>   gem 'Soks', '~> 1.0.3'
>   $LOG.info 'Loaded Soks from gem'
>   require 'soks'  # <-- I had to add this line and I don't know why
> 
> For some reason, just requiring the gem was not enough to
> cause soks.rb to be loaded.  I looked at the gemspec and it
> appeared to specify the correct auto-require and lib dirs,
> so I'm not sure why it didn't work as expected.

The 'gem' statement merely states what gems should be used.  It does not 
do any requiring, auto or not.

-- Jim Weirich

-- 
Posted via http://www.ruby-forum.com/.