On Sun, Dec 21, 2008 at 10:03 PM, Ryan Ororie <
[email protected]> wrote:

>
> So I have been tinkering with Rails all week - I'm a designer, not a
> developer, but I'm looking to expand my knowledge. I created an instance
> of Radiant, the cms, and am looking to fiddle with it and then try
> putting it on a server.
>
> I have the 'radiant project' created here:
> RAILS_ROOT: /Users/rmorourk/Sites/radiant_test
>
> When I use locomotive to point this directory at port 3004, I get the
> following error on viewing:
>
> Could not find table 'config'
>
> Although the config table is definitely there.
>
> I used SQLite 3 as the database. I'm assuming, sense I am trying to
> access it locally, that it is looking at the development database - my
> config/database.yml file looks like this:
>
> development:
>  adapter: sqlite3
>  database: db/development.sqlite3.db
>
> What am I doing wrong here? Do I have to activate the sqlite somehow?
> Any advise would be appreciated.
>
I'm not familiar with Radiant, but you might try:

$ rake db:migrate

at the command prompt, unless the installation instructions said something
about creating and initializing the database.

The "rake db:migrate" command will create the database from scratch.

--wpd

--~--~---------~--~----~------------~-------~--~----~
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