A
andypflueger
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!
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!