Michael et all,
   You guys were right it was simply a matter of starting from scratch. 
The
instructions at:

http://support.eapps.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=108&nav=0,1

Although poorly written are mostly correct. What they don't explain 
quite right is that in eApps the DocRoot is the ../html directory. The 
setup comes with the plain vanilla RoR app installed there. So you can 
see the welcome page if you got to:

http://yoursite/public

They recommend installing other Rails apps under /html so you'll end up 
with something like:

html/
+--+ror_app1
   +ror_app2
   + ...

The database.yml for MySQL as shown in the document is wrong:

development:
   adapter: mysql
   database: <your-app-name>_development
   username: <database-user>
   password: <your-password>
   socket: localhost


To get it to work I used this:

development:
  adapter: mysql
  database: radiant_dev
  username: radiant
  password: *******
  socket: /var/lib/mysql/mysql.sock


Also for Radiant you should grab the dispatch.* files from a fresh app. 
It somehow does like that ones distributed with Radiant. After that 
things should work (except for the whole Radiant in a subdirectory 
problem for which I'm still trying to figure out a good solution)

I'll put a How To on the Wiki once I get that last glitch worked out.

Thanks,
  Brian

Michael Jones wrote:
>> Maybe you should delete the site and
>> start over - or delete everything under html and run 'rails newapp'?
> 
> Brian I think this suggestion Todd has is the best. "delete
> everything" and then create a new rails app right there on your host.
> Once you can get that working then you can move your code in place.


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to