Ruby on Rails
Wednesday, August 25, 2010
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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment