On Dec 21, 10:03 pm, Ryan Ororie <[email protected]> wrote: [...] > When I use locomotive to point this directory at port 3004,
Locomotive? Are you using Tiger? 'Cause if you're using Leopard, then I would recommend using the Rails installation that's included with the OS. > I get the > following error on viewing: > > Could not find table 'config' [...] > I'm assuming, sense I am trying to > access it locally, that it is looking at the development database Don't assume. Check. Select the app in Locomotive, choose Get Info, and see what it says the run mode is -- development, production, or test. It probably *should* be development, but make sure that it actually *is*. (If you're not using Locomotive, this is generally controlled by your RAILS_ENV environment variable. Also, Locomotive calls them "run modes", but all other Rails literature calls them environments.) > - my > config/database.yml file looks like this: > > development: > adapter: sqlite3 > database: db/development.sqlite3.db I don't know if that's right, since I've not used SQLite. But the information I came across on the Web suggests that "database:" should perhaps be "dbfile:". Don't take my word for that, though; check with someone more knowledgeable about using SQLite with Rails. > > What am I doing wrong here? Do I have to activate the sqlite somehow? > Any advise would be appreciated. Best, -- Marnen Laibow-Koser [email protected] http://www.marnen.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

