Actually, I just realized that there is no zip file in my pkg dir on
the git gem. Does the rake task remove the file after it unzips it?

On Apr 9, 9:09 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Thanks for the prompt response! That is kind of what I figured. So if
> I manage to get that gem installed, will it handle the older apps
> nicely, or will I be stuck needing different versions of haml for
> backwards compatibility?
>
> I commented those two lines out, and I'm now getting this error:
>
> D:\haml>rake install
> (in D:/haml)
> zip -r haml-1.9.0.zip haml-1.9.0
> rake aborted!
> undefined method `exitstatus' for nil:NilClass
>
> Not sure if that is the same error I got last night. Any ideas? I can
> post the full trace if you like as well.
>
> btw, absolutely love Haml & and especially Sass. Thanks for all the
> hard work!
>
> On Apr 9, 8:56 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> > Only git Haml maintains compatibility with edge Rails. You shouldn't
> > need tar to install it... all you need to do is install the gem with
> > rake install. You may also need to comment out the pkg.need_tar_gz and
> > pkg.need_tar_bz2 in the Rakefile.
>
> > [EMAIL PROTECTED] wrote:
> > > With haml 1.8.2 and a relatively recent version of edge rails and
> > > RSpec trunk, my specs crash with the following error:
>
> > > c:/ruby/lib/ruby/gems/1.8/gems/haml-1.8.2/lib/haml/template/plugin.rb:
> > > 42: undefined method `register_template_handler' for
> > > ActionView::Base:Class (NoMethodError)
>
> > > The template handler stuff has been moved to ActionView::Template, so
> > > I know the cause of the error, and by modifying the plugin.rb from the
> > > gem to use ActionView::Template instead all specs run fine. Only thing
> > > is that doing this in the gem is obviously not an ideal solution
> > > because I've also got apps frozen to versions of rails before that
> > > switch was made.
>
> > > So my question, is there any nice workaround for this? I thought about
> > > freezing the gem to the rails app, and making the change there, but it
> > > would be nice to not have to freeze haml everytime. I also tried to
> > > upgrade to haml 1.9 from github, but was unable to install from the
> > > gem because I'm on windows and it couldn't uncompress some .tar files.
>
> > > Appreciate any help you can provide!
--~--~---------~--~----~------------~-------~--~----~
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