Hello all.
I have spent the last few days geting the live_tree plugin (
http://www.epiphyte.ca/code/live_tree.html ) up an running on a site of
mine.I develop on windows and it works perfectly with both Webrick and
Mongrel. However when I try on linux I get the following error (Mongrel
one shown). Has anyone else encountered this problem? It basically looks
like it just isn''t finding the plugin but I have no idea why. I have
looked at filenames etc but I cannot find and capitalisation problem.
I have contacted the guy that wrote it but while I am waiting for a
response I thought I would ask here.
Any help would be much appreciated.
Thanks
RJ
ActionView::TemplateError (undefined method `live_tree'' for
#<#<Class:0xb7338a04>:0xb760d810>) on line #10 of
app/views/admin/record_folders/show.rhtml:
7: </script>
8:
9: <div id="treemenu">
10: <%= live_tree(:communication_tree, {
11: :initial_data_root => @record_folder_tree,
12: :initial_data_whole_tree => true,
13: :on_click_item => "folderTreeOnClickItem(this, item.id,
item.isLeaf, item.isLeaf ? item.parent.id : item.id)",
#{RAILS_ROOT}/app/views/admin/record_folders/show.rhtml:10:in
`_run_rhtml_admin_record_folders_show''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:316:in
`compile_and_render_template''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:292:in
`render_template''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:251:in
`render_file''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:726:in
`render_file''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:648:in
`render_with_no_layout''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:245:in
`render_without_benchmark''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
`render''
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
`render''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:942:in
`perform_action_without_filters''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue''
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
`perform_action''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:408:in
`process_without_filters''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
`process_without_session_management_support''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in
`process''
#{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:38:in
`dispatch''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/rails.rb:73:in
`process''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:551:in
`process_client''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:550:in
`process_client''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:636:in
`run''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:636:in
`run''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:625:in
`run''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:956:in
`run''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:955:in
`run''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:127:in
`run''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/command.rb:199:in
`run''
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:235
/usr/bin/mongrel_rails:18
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---