I reinstalled all my gems ruby and rails this is my gem list:

actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6)
actionpack (2.3.8, 2.3.5, 2.2.2, 1.13.6)
actionwebservice (1.2.6)
activerecord (2.3.8, 2.3.5, 2.2.2, 1.15.6)
activeresource (2.3.8, 2.3.5, 2.2.2)
activesupport (2.3.8, 2.3.5, 2.2.2, 1.4.4)
acts-as-taggable-on (2.0.6)
acts_as_ferret (0.4.3)
capistrano (2.5.19, 2.5.2)
cgi_multipart_eof_fix (2.5.0)
compass (0.10.2)
daemons (1.0.10)
devise (1.0.8)
dnssd (0.6.0)
fastthread (1.0.1)
fcgi (0.8.7)
ferret (0.11.6)
formtastic (0.9.10)
friendly_id (3.0.6)
gem_plugin (0.2.3)
git (1.2.5)
haml (3.0.13)
highline (1.5.0)
hpricot (0.6.164)
libxml-ruby (1.1.2)
mocha (0.9.8)
mongrel (1.1.5)
mysql (2.8.1)
needle (1.3.0)
net-scp (1.0.1)
net-sftp (2.0.1, 1.1.1)
net-ssh (2.0.23, 2.0.4, 1.1.4)
net-ssh-gateway (1.0.0)
paperclip (2.3.3)
rack (1.1.0, 1.0.1)
rails (2.3.8, 2.3.5, 2.2.2, 1.2.6)
rake (0.8.7, 0.8.3)
RedCloth (4.1.1)
ruby-openid (2.1.2)
ruby-yadis (0.3.4)
rubygems-update (1.3.7)
rubynode (0.1.5)
simple-navigation (2.6.0)
sqlite3-ruby (1.2.4)
termios (0.9.4)
test-unit (2.1.0)
warden (0.10.7)
will_paginate (2.3.14)
xmpp4r (0.4)



Could it be that some file is damaged but still looks good and opens
but causing some file/read error somewhere?
I have ran diskwarrior but that dident found anything either in my app
folder
So just totally lost on this, Haml works fine in a another app im
using

On Jul 23, 12:33 am, Nathan Weizenbaum <[email protected]> wrote:
> The only thing I can think is that you have something else installed that's
> somehow monkeypatching Haml and causing it to break. What other gems/plugins
> are you using?
>
>
>
> On Thu, Jul 22, 2010 at 1:56 PM, rubytastic <[email protected]> wrote:
> > I totally reinstalled OSX (slow performance) in the hope this error
> > would be fixed also
>
> > Im using haml (3.0.13)
> > Rails 2.3.8
> > ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
>
> > Anyone knowss a solution? I cannot really find anything with google
> > either so I thought
> > the haml experts are my last resort :(
>
> > On Jul 22, 10:52 pm, rubytastic <[email protected]> wrote:
> > > I have a strange issue with haml which costs me hours to debug to no
> > > result so far
>
> > > ActionView::TemplateError (undefined method `show' for
> > > #<Haml::Precompiler::Line:0x10547ef40>) in app/views/home/
> > > index.html.haml:
> > >     haml (3.0.9) [v] lib/haml/precompiler.rb:178:in `precompile'
> > >     haml (3.0.9) [v] lib/haml/engine.rb:121:in `initialize'
> > >     haml (3.0.9) [v] rails/./lib/haml/template/plugin.rb:29:in `new'
> > >     haml (3.0.9) [v] rails/./lib/haml/template/plugin.rb:29:in
> > > `compile'
> > >     haml (3.0.9) [v] rails/./lib/haml/helpers/action_view_mods.rb:
> > > 13:in `render'
> > >     haml (3.0.9) [v] rails/./lib/haml/helpers/action_view_mods.rb:
> > > 13:in `render'
> > >     warden (0.10.7) [v] lib/warden/manager.rb:35:in `call'
> > >     warden (0.10.7) [v] lib/warden/manager.rb:34:in `catch'
> > >     warden (0.10.7) [v] lib/warden/manager.rb:34:in `call'
> > >     haml (3.0.9) [v] rails/./lib/sass/plugin/rack.rb:41:in `call'
> > >     -e:1:in `load'
> > >     -e:1
> > > Showing app/views/home/index.html.haml where line # raised:
> > > undefined method `show' for #<Haml::Precompiler::Line:0x10547ef40>
> > > Extracted source (around line #):
> > > The extracted source around line # is zero
>
> > > Im unable to pinpoint why this is happening there is no file line
> > > number to check
> > > I removed most of my code to see if i Could get things working again
> > > to no result.
>
> > > A new ruby app with haml included in the enviroment as gem and a home
> > > controller and view using haml works fine
> > > It seems this error goes before any actual views are generated like
> > > the error states
> > > ActionView::TemplateError (undefined method `show' for
> > > #<Haml::Precompiler::Line:0x10547ef40>) in app/views/home/
> > > index.html.haml:
>
> > > The same index.html.haml works fine in the new ruby app
>
> > > What Can I do to pinpoint this error and fix it? Im totally lost on
> > > this looking for an answer for several days now
> > > Anyone more expierienced with ruby /haml knows why this error occors
> > > and knows a way to debug it?
> > > Thanks in advanche
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Haml" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected] <haml%[email protected]>.
> > For more options, visit this group at
> >http://groups.google.com/group/haml?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to