mephisto install

Posted by senthil
on Wednesday, September 19
I last installed mephisto many months back for a client.

Now when we required our own blog, I turned to Mephisto.

I faced few problems and but the solutions were simple

downloaded mephisto 0.7.3 Noh-Varr (Bug fixes)

http://s3.amazonaws.com/mephisto-blog/mephisto-0.7.3.tar.gz

I froze my rails version to edge

rake rails:freeze:edge

active resource is not installed when freezing rails so you need do checkout seperately on export from a edge checkout

running gave few errors here are their fixes, mainy due to changes in rails edge a some code has been extracted out of the core

act as list

ruby script/plugin install http://dev.rubyonrails.org/svn/rails/plugins/acts_as_list/

Paginator error

install classic_pagination
ruby script/plugin install svn://errtheblog.com/svn/plugins/classic_pagination

login template error
/app/admin/login.rhtml

changed

<% form_tag({:controller=>:account, :action=>:login}, { :id => 'login_form' }) do -%>

to   

<% form_tag({:controller=>"account", :action=>"login"}, { :id => 'login_form' }) do -%>

 

undefined method 'redirect_to_url' for #&lt;AccountController:0x4be21e4 &gt;


changes as per new version in technoweenie's act as authenticated

in  lib/authenticated_system

#location_stored? ? redirect_to_url(session[:return_to]) : redirect_to(default)
      redirect_to(location_stored? ? session[:return_to] : default)




additions to act as paranoid plugin

def extract_options_from_args!(args) #nodoc
args.last.is_a?(Hash) ? args.pop : {}
end



App is ready

Theme

added scriblish theme from

http://www.quotedprintable.com/pages/scribbish

and added to /themes/site-1/ and configured in admin area

added deploy scripts and configuration for dreamhost deploy and added to our svn and deployed

Comments

Leave a response