Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > HelpEngine

Reply
Thread Tools

HelpEngine

 
 
andypflueger
Guest
Posts: n/a
 
      08-11-2008
Hello!

Is anybody out there using the HelpEngine vendor plugin that's
mentioned at http://agilewebdevelopment.com/plugins/helpengine?

I am running into problems after I follow the README of the plugin for
installing into my project where it mentions adding the following to
config/environment.rb:

Engines.start :help

Here are the first few steps of HelpEngine's README.

{snip}
== Installation

1. Create your Rails application, set up your databases, grab the
Engines plugin, and install it. For the official installation
instructions, head on over to rails-engines.org, or use the command:

ruby script/plugin install http://svn.rails-engines.org/plugins/engines/

2. Get the HelpEngine and install it into your vendor/plugins
directory. You can use the built-in plugin installation command:

ruby script/plugin install svn://rubyforge.org//var/svn/helpengine

3. Modify your Engines.start call in config/environment.rb

Engines.start :help

4. Edit your application.rb file so it looks something like the
following:

class ApplicationController < ActionController::Base
include HelpEngine
end

5. Edit your application_helper.rb file:

module ApplicationHelper
include HelpHelper
end
{/snip}

When I add the line mentioned on step 3 above, my script/server
results in the following output:

=> Booting WEBrick...

C:/SVN/Cinram IT Request System/trunk/Cinram IT Request System/config/
environment.rb:68: undefined method `start' for Engines:Module
(NoMethodError)

from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require'

from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'

from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:509:in `require'

from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:354:in `new_constants_in'

from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:509:in `require'

from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/
servers/webrick.rb:59

from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require'

from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'

from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:509:in `require'

from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:354:in `new_constants_in'

from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
active_support/dependencies.rb:509:in `require'

from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/
server.rb:39

from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require'

from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'

from script/server:3

I'm using Ruby 1.8.6-p-111 and Rails 2.1.

Any help would be greatly appreciated.

Thanks!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57