Tuesday, November 20, 2007

Running Mephisto on Leopard

This is just a quick note incase anyone else has trouble installing the Mephisto svn locally on a clean copy of Leopard.



(This assumes you’re running Leopard and have a working install of MySQL. For that please see this wonderful guide. It also assumes you’ve set up Mephisto before.)





  • The current Mephisto svn revision, 3037 works on Rails 2.0 PR. So to do this, you’d check out the svn of Mephisto:



    svn co http://svn.techno-weenie.net/projects/mephisto/trunk your_directory



  • Next you’d freeze Rails 2.0 PR, in terminal, cd to your local Mephisto directory, and run:



    rake rails:freeze:edge TAG=rel_2-0-0_RC1



  • Next you need to install the tzinfo gem and Action Web Service, with two terminal commands (while cd’d in your local Mephisto directory), running each separately:



    gem install tzinfo --remote



    And




    svn export http://dev.rubyonrails.org/svn/rails/trunk/actionwebservice/ vendor/rails/actionwebservice


  • Ok! Next up you must create a Mephisto database with MySQL and properly configure your database settings in config/database.yml. Then you should be able to successfully run in terminal (in your Mephisto directory):



    rake db:bootstrap




    Or



    rake db:bootstrap RAILS_ENV=production




Start your favorite script/server for a lovely working copy of edge Mephisto on Leopard!




Many thanks to svenfuchs_ in #mephisto for the advice on a working Rails version!




cmsleopardmacmephistorailsruby

No comments:

Post a Comment