Thanks Brad


On 16 February 2010 19:41, Brad Gessler <[email protected]> wrote:
> There's a more comprehensive way of booting rails and hooking into all
> Rails gems at http://gist.github.com/305262.
>
> Brad
>
> On Feb 16, 6:03 am, Matt Davies <[email protected]> wrote:
>> I've created the initializer and it all works now, thanks everyone.
>>
>> As to why it was working without either of those 2 things, who cares :-)
>>
>> It is working now
>>
>> Thanks again
>>
>> On 16 February 2010 13:43, vanderkerkoff <[email protected]> wrote:
>>
>>
>>
>> > Jacques, Thomas, thanks for getting back to me.
>>
>> > I don't have a haml.rb initializer, nor do I have any haml folders in
>> > vendor in this project, yet it works in pre bundler rails, and bundler
>> > 0.7 with rails 2.3.4 and 2.3.5.
>>
>> > Anyone got any ideas how it's working without either of those 2 hooks?
>>
>> > thanks again
>>
>> > On Feb 16, 1:35 pm, Jacques Crocker <[email protected]> wrote:
>> >> Agreed! I always just put this in my config/initializers/haml.rb:
>> >> Haml.init_rails(binding) if defined?(Haml)
>>
>> >> So much cleaner.
>>
>> >> Also, in Rails3 there should be a way to do this directly within the haml 
>> >> code itself. Maybe create a railtie?
>>
>> >> On Feb 16, 2010, at 5:33 AM, Thomas R. Koll wrote:
>>
>> >> > Hi,
>>
>> >> > On running the installer for haml it creates a plugin with only this 
>> >> > init.rb
>>
>> >> >http://github.com/nex3/haml/blob/master/init.rb
>>
>> >> > Copy it to vendor/plugins/haml/init.rb
>>
>> >> > Nathan, wouldn't it be about time to move that file into 
>> >> > config/initializers
>> >> > instead of having that sparse plugin?
>>
>> >> > ciao, tom
>>
>> >> > Am 16.02.2010 um 13:16 schrieb vanderkerkoff:
>>
>> >> >> Hello everyone
>>
>> >> >> I've upgraded a couple of projects from bundler 0.8 to 0.9, no
>> >> >> problems so far.  I then started to upgrade another project that uses
>> >> >> haml.
>>
>> >> >> I'm running bundle install --relock and I've got haml in the gemfile.
>>
>> >> >> What is happening when I try to view the server, running as script/
>> >> >> server or with passenger is that it appears haml is not being found,
>> >> >> lot's of missing template errors.
>>
>> >> >> "Template is missing
>>
>> >> >> Missing template cas_sessions/new.erb in view path app/views"
>>
>> >> > --
>> >> > Thomas R. "TomK32" Koll
>> >> > just a geek trying to change the world
>> >> >http://ananasblau.com||http://photostre.am||http://photolog.at
>>
>> >> > --
>> >> > 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 
>> >> > athttp://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 
>> > athttp://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.
>
>

-- 
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