things i had to do to make mephisto 0.8.1 (kinda) work with rails 2.2.2
replace in config/environment.rb:
config.gem 'will_paginate', :version => '>= 2.2.2'
config.gem 'mislav-will_paginate', :version => '>= 2.3.2', :lib => 'will_paginate', :source => 'http://gems.github.com'
comment out in config/environment.rb:
config.gem 'tzinfo', :version => '>= 0.3.12'
I had to add:
require 'liquid' require 'will_paginate'
change line 17 in the index action in app/controllers/admin/articles_controller.rb to this:
@articles = Article.paginate :page => params[:page], :per_page => params[:per_page], :conditions => ['site_id = ?', site.id], :order => 'contents.published_at DESC', :select => 'contents.*'
remove tzinfo from vendor/gems/
commented out erb tags on line 32 and 37 of app/views/admin/settings/index.html.erb.
32 <dd><%#= time_zone_select 'site', 'timezone_name', TZInfo::Timezone.all.sort, :model => TZInfo::Timezone %></dd> 33 <dt> 34 <label for="site_lang">Site language</label> 35 <span class="hint">Used to specify language in your site feeds</span> 36 </dt> 37 <dd><%#= f.text_field :lang %></dd>