Skip to content


Subversion checkout URL

You can clone with
Download ZIP
dead :( think of this as a museum.
Ruby JavaScript
Branch: master
Pull request Compare This branch is even with mephistorb:master.

Fix display of theme homepage links

Many thanks to Gustavo Sales (aka vatsu) for pointing out this bug and
proposing a fix:

In order to minimize code duplication in the *.erb files, I've rewritten
this code as a helper method.
latest commit 1473acf830
@emk emk authored


= Installation

See public/install.html for setup instructions.

= Timezones

You MUST export the environment variable TZ=UTC, or else the article dates
and times will be invalid.

This would not be needed if rails used UTC for everything, but
unfortunately it doesn't... eg: action_view/helpers/date_helper.rb uses
Time::now instead of Timer::now.utc, and Time::mktime instead of

XXX oh, we can't depend on the rails helpers at all, because they don't
    translate the time from UTC (assuming the TZ env var is correctly
    set) to site time, you've to roll our own, or monkey patch rails :/

= Dependencies

Note that Mephisto depends on fewer gems when RAILS_ENV=production than it
does in a development environment.

Run 'rake gems:install' to install the development gems.  In a production
environment, run:

  RAILS_ENV=production rake gems:install

= License

Mephisto is distributed under the same license as Ruby on Rails. See
Something went wrong with that request. Please try again.