Well that's that. Thanks for the clarification. So now thats out the
picture, what about this?

Is there a way to have php execute within a Ruby App. Can I put a php
file in the public directory that can access the DB in its default
directory?

On Aug 25, 11:37 am, Peter De Berdt <[email protected]> wrote:
> On 25 Aug 2010, at 17:29, Xenio wrote:
>
> > I wasn't sure if this still fell under ROR or not. I figured since I
> > was usiing the Bitnami Rubystack that isntalls everything at once I
> > was maybe hoping someone else who uses that deployment package might
> > have a hint.
>
> > But I will look into the PHP, SQLite forums and see what I come up
> > with.
>
> > But... as far as my first question which would save me from trying the
> > previous method above would be to see if there is a way to reference a
> > sqlite db file via http or ip address in the database.yml file within
> > the Ruby Rails app folder.
>
> I haven't been following the discussion too much, but SQLite is a  
> filebased local database engine, it can't be accessed remotely unless  
> you have some kind of a thirdparty server application that runs on top  
> of SQLite. That's why RoR doesn't support a host in the database.yml  
> config for SQLite databases: you can't do it with SQLite, period.
>
> If you need network access, you could put it in a shared folder and  
> access it that way, but I would be scared sh**less if more than one  
> client will access the db at the same time.
>
> Best regards
>
> Peter De Berdt

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to