Actually, it looks like an IDE problem (I use RadRails). It would seem that they are incorrectly inferring the application's working directory to be the \vendor\radiant\ directory when launching mongrel.

Sorry for the noise.

-Chris

Jim Gay wrote:
On Thu, Sep 10, 2009 at 1:09 AM, Chris
Parrish<[email protected]> wrote:
I just tried installing radiant 0.8.1 and all went well until I performed a
"rake radiant:freeze:gems"  Now starting mongrel on my development machine
produces the following error:

** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:902:in
`read': No such file or directory -
my_project/vendor/radiant/config/database.yml (Errno::ENOENT)
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:902:in
`database_configuration'
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:437:in
`initialize_database'
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:141:in
`process'
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in
`send'
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in
`run'
  from my_project/vendor/radiant/lib/radiant/initializer.rb:148:in `run'
  from my_project/vendor/radiant/config/environment.rb:12
  from .../ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
   ... 12 levels...
  from ...\ruby\bin\mongrel_rails:19:in `load'
  from ...\ruby\bin\mongrel_rails:19
  from -e:2:in `load'
  from -e:2

If I step through the initializer.rb, it clearly thinks the RAILS_ROOT
should be "my_project/vendor/radiant" I can make it happy by copying my
database.yml to where it's looking, but then the app wants my
development.sqlite3.db in the radiant directory and it creates a tmp/
directory for the cache down in vendor/radiant/ too.

What am I missing?

-Chris

Is this on an existing application?
And if so, have you run "rake radiant:update"?



_______________________________________________
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