Welcome Guest | Login

mephisto issues

I'm following the mephisto tut at http://www.hostingrails.com/forums/wiki_thread/29 and hitting some snags.

I've checked out the 0.7.3 mephisto (as the tut says) and when I freeze rails 1.2.6 (again, as the tut says) I get:

svn URL http://dev.rubyonrails.org/svn/rails/tags/rel_1-2-6/activeresource' doesn't exist

well, duh :p it wasn't added until 2.0.  Should I be freezing a later version of rails?  Should I be using mephisto's trunk?

At any rate, the tut dead ends here because the bootstrap command fails:

$ rake db:bootstrap RAILS_ENV=production
(in /path/to/mydir)
rake aborted!
wrong number of arguments (0 for 1)

I'll keep experimenting, but if anyone can shed some light, i'd be most appreciative

~b

2008-02-23 10:24 PM

UPDATE:

I've tried to install trunk mephisto with freezing rails revision 7472 and the bootstrap worked, but i get 500 errors when trying to navigate to the root of the site.

Back to the drawing board...

2008-02-23 10:40 PM

I'm getting a Forbidden error while accessing your site. I can see that your public_html symlink is incorrect. You need to create the correct symlink.

2008-02-24 01:34 AM

It's broken because I have yet to get the mephisto install working :)

2008-02-24 07:58 AM

I could see that the database.yml file is not configured properly. Please create the database and configure the database.yml accordingly.

2008-02-24 10:26 AM

Thanks for taking a look.  I guess I should have left it in a state where you could better see what the problem was.  Santhi must have looked in my space last night after I went to bed.  I had deleted the app (after several failed attempts).  Varun, you must have looked in there recently after I checked out mephisto again, but I got no further in the install (phone rang and I had to go away from the computer).

Here's my latest:

1. svn co http://svn.techno-weenie.net/projects/mephisto/tags/rel-0.7.3 ferrelljones
2. set up config/database.yml
3. uncommented ENV['RAILS_ENV'] ||= 'production' in config/environment.rb
4. rake rails:freeze:edge TAG=rel_1-2-6 (This step generates the 'activeresource doesn't exist' message)
5. rake db:bootstrap RAILS_ENV=production (This command fails with 'wrong number of arguments (0 for 1)'

2008-02-24 11:13 AM

You should be able to make it work with mephisto 3136 and Rails 2.0.2 -- let me know if it doesn't.  

2008-02-24 06:08 PM

I'll give that a shot. Thanks :)

EDIT: I'm a little farther along now.  I've installed mephisto trunk (there was no .htaccess in the /public folder though ... hmmm) and frozen rails 2.0.2.  The bootstrap ran fine and the app is up. The admin section has some issues though.  Browsing to /admin/assets gives me:

LoadError (Expected /home/ferrell/ferrelljones/app/models/asset.rb to define Asset)

I get the same error when trying to create an article.

Back, yet again, to the drawing board ...

2008-02-24 06:21 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.