I'm not entirely sure what's going on, but it might be caused by you 
using the development branch of Haml. I believe the Haml/Mephisto bridge 
was created with the latest stable release, Haml 1.5, in mind. Try 
installing that instead (ruby script/plugin install 
svn://hamptoncatlin.com/haml/tags/stable) and see if it helps.

- Nathan

Gerharr wrote:
> Bonjour.
>
> I can't work with mephisto and haml. I would use Fresh theme, so I 
> installed haml as said in 
> http://fresh-haml.mephisto-themes.nanorails.com/2007/4/5/small-tweak-to-fresh-theme#comment-form
>  
> <http://fresh-haml.mephisto-themes.nanorails.com/2007/4/5/small-tweak-to-fresh-theme#comment-form>
>  
> But installing the haml renderer template AND the haml plugin leads to 
> this error at server starting :
>
>
> C:\mephisto>ruby script/server --e production
> => Booting Mongrel (use 'script/server webrick' to force WEBrick)
> => Rails application starting on http://0.0.0.0:3000 
> <http://0.0.0.0:3000/>
> => Call with -d to detach
> => Ctrl-C to shutdown server
> ** Starting Mongrel listening at 0.0.0.0:3000 <http://0.0.0.0:3000/>
> ** Starting Rails with production environment...
> Exiting
> C:/EasyRails/ruby/lib/ruby
> /gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongre
> l.rb:15: warning: already initialized constant OPTIONS
> C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongre
> l.rb:18: undefined method `options' for []:Array (NoMethodError)
>         from 
> C:/EasyRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
> :33:in `gem_original_require'
>         from 
> C:/EasyRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
> :33:in `require'
>         from 
> C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2 /lib/ac
> tive_support/dependencies.rb:495:in `require'
>         from 
> C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ac
> tive_support/dependencies.rb:342:in `new_constants_in'
>         from C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport- 
> 1.4.2/lib/ac
> tive_support/dependencies.rb:495:in `require'
>         from 
> C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/s
> erver.rb:39
>         from 
> C:/EasyRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
> :27:in `gem_original_require'
>         from 
> C:/EasyRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
> :27:in `require'
>         from script/server:3
>
> If I remove mephisto_haml_template or haml folder (haml folder is 
> named "trunk" by ruby script/plugin !), I get only the code in my 
> browser.
> I'm not a RoR specialist. I like mephisto because it seems very simply 
> and customisable, and with haml, very nice to use.
>
> I have got the template renderer on 
> svn.nanorails.com/plugins/mephisto_haml_templates/ 
> <http://svn.nanorails.com/plugins/mephisto_haml_templates/> with 
> TortoiseSVN export option, and haml plugin on 
> svn.hamptoncatlin.com/haml/trunk 
> <http://svn.hamptoncatlin.com/haml/trunk> with ruby script/plugin 
> install command.
>
> But there are some details I don't understand. Tutorials for 
> installing haml on mephisto, like the one in nanorails.com 
> <http://nanorails.com>, do not seem very complete nor precise. Is 
> there any help in this group ?
>
> Thank you.
>
>
>
> >


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