Fritz Trapper
2010-Jan-10 11:23 UTC
Mongrel fails to start after installation of plugin prawnto
After I installed prawnto in my project, Mongrel fails to start with these backtrace lines: /home/inet/Aptana RadRails Workspace/wvz/vendor/rails/activesupport/lib/active_support/dependencies.rb:275:in `load_missing_constant'': uninitialized constant ActiveSupport::Memoizable (NameError) from /home/inet/Aptana RadRails Workspace/wvz/vendor/rails/activesupport/lib/active_support/dependencies.rb:467:in `const_missing'' from /home/inet/Aptana RadRails Workspace/wvz/vendor/plugins/prawnto/lib/prawnto/template_handler/compile_support.rb:5 Any idea how to fix this? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2010-Jan-10 14:05 UTC
Re: Mongrel fails to start after installation of plugin prawnto
On 10 Jan, 11:23, Fritz Trapper <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> After I installed prawnto in my project, Mongrel fails to start with > these backtrace lines:Sounds like your app is using a version of rails that is too old fred> /home/inet/Aptana RadRails > Workspace/wvz/vendor/rails/activesupport/lib/active_support/dependencies.rb :275:in > `load_missing_constant'': uninitialized constant > ActiveSupport::Memoizable (NameError) > from /home/inet/Aptana RadRails > Workspace/wvz/vendor/rails/activesupport/lib/active_support/dependencies.rb :467:in > `const_missing'' > from /home/inet/Aptana RadRails > Workspace/wvz/vendor/plugins/prawnto/lib/prawnto/template_handler/compile_s upport.rb:5 > > Any idea how to fix this? > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Fritz Trapper
2010-Jan-10 14:45 UTC
Re: Mongrel fails to start after installation of plugin prawnto
Frederick Cheung wrote:> On 10 Jan, 11:23, Fritz Trapper <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> After I installed prawnto in my project, Mongrel fails to start with >> these backtrace lines: > > Sounds like your app is using a version of rails that is too oldThat''s what I guessed and for that completly uninstalled rails and gem from my system and reinstalled gem1.8 + rails 2.3.5 But it did not change anything. Running ''script/server'' -u'' from my project still invokes /home/inet/.gem/ruby/1.8/gems/activesupport-2.1.0/... stuff, while 2.3.5 is also available there. How to update the project? (Running rails:update didn''t help.) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2010-Jan-10 16:39 UTC
Re: Mongrel fails to start after installation of plugin prawnto
On 10 Jan, 14:45, Fritz Trapper <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Frederick Cheung wrote:> > > Sounds like your app is using a version of rails that is too old > > That''s what I guessed and for that completly uninstalled rails and gem > from my system and reinstalled gem1.8 + rails 2.3.5 > > But it did not change anything. Running ''script/server'' -u'' from my > project still invokes > /home/inet/.gem/ruby/1.8/gems/activesupport-2.1.0/... stuff, while 2.3.5 > is also available there. > > How to update the project? (Running rails:update didn''t help.)the version to use is set in environment.rb (unless you have frozen rails into vendor) fred> -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Fritz Trapper
2010-Jan-10 17:19 UTC
Re: Mongrel fails to start after installation of plugin prawnto
Frederick Cheung wrote:> the version to use is set in environment.rb (unless you have frozen > rails into vendor)Thanks, now the debugger is starting up, but the bad news is, that I still get the same message, than with the former version: uninitialized constant ActiveSupport::Memoizable (NameError) How to get rid of this plugin? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Fritz Trapper
2010-Jan-10 19:22 UTC
Re: Mongrel fails to start after installation of plugin prawnto
Fritz Trapper wrote:> uninitialized constant ActiveSupport::Memoizable (NameError)This was nonsense, sorry. mysql was missing. After running apt-get install libmysqlclient15-dev gem install mysql My app now runs again. Thanks for your help. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.