# Installing RoR with Mongrel: What does "Path to config file not valid" mean?

**URL:** <https://www.ruby-forum.com/t/installing-ror-with-mongrel-what-does-path-to-config-file-not-valid-mean/130689>\
**Category:** Deployment\
**Created:** [March 1, 2008, 10:42pm UTC](https://www.ruby-forum.com/t/installing-ror-with-mongrel-what-does-path-to-config-file-not-valid-mean/130689 "2008-03-01T22:42:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 1, 2008, 10:42pm UTC](https://www.ruby-forum.com/t/installing-ror-with-mongrel-what-does-path-to-config-file-not-valid-mean/130689/1 "2008-03-01T22:42:18Z")

</div>

Hi,

I’m trying to install Ruby on Rails 2.0.2 with Mongrel, following the  
instructions here –  
[http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/](http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/).  
I install the gems successfully, but when I try and run the second  
command under “Configuring the Cluster”, I get the error:

!!! Path to config file not valid: config/mongrel\_cluster.yml  
cluster::configure reported an error. Use mongrel\_rails  
cluster::configure -h to get help.

What does that mean? The full command and output are below. Thanks,

- Dave

[root@mymachine ~]# gem install daemons gem\_plugin mongrel  
mongrel\_cluster --include-dependencies  
Successfully installed daemons-1.0.9  
Installing ri documentation for daemons-1.0.9…  
Installing RDoc documentation for daemons-1.0.9…  
Successfully installed gem\_plugin-0.2.3  
Installing ri documentation for gem\_plugin-0.2.3…  
While generating documentation for gem\_plugin-0.2.3  
… MESSAGE: Unhandled special: Special: type=33, text=“Implements”  
… RDOC args: --ri --op /usr/local/lib/ruby/gems/1.8/doc/  
gem\_plugin-0.2.3/ri --quiet lib  
(continuing with the rest of the installation)  
Installing RDoc documentation for gem\_plugin-0.2.3…  
Select which gem to install for your platform (i686-linux)

1. mongrel 1.1.4 (x86-mswin32-60)
2. mongrel 1.1.4 (java)
3. mongrel 1.1.4 (ruby)
4. mongrel 1.1.3 (ruby)
5. mongrel 1.1.3 (i386-mswin32)
6. mongrel 1.1.3 (java)
7. Skip this gem
8. Cancel installation

> 4  
> Building native extensions. This could take a while…  
> Successfully installed mongrel-1.1.3  
> Installing ri documentation for mongrel-1.1.3…  
> While generating documentation for mongrel-1.1.3  
> … MESSAGE: Unhandled special: Special: type=33, text=“A”  
> … RDOC args: --ri --op /usr/local/lib/ruby/gems/1.8/doc/  
> mongrel-1.1.3/ri --quiet lib ext  
> (continuing with the rest of the installation)  
> Installing RDoc documentation for mongrel-1.1.3…  
> Successfully installed mongrel\_cluster-1.0.5  
> [root@mymachine ~]# mongrel\_rails cluster::configure -e production -p  
> 8000 -a 127.0.0.1 -N 3 -c /usr/local/apache2/htdocs/easyrx  
> !!! Path to config file not valid: config/mongrel\_cluster.yml  
> cluster::configure reported an error. Use mongrel\_rails  
> cluster::configure -h to get help.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 3, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/installing-ror-with-mongrel-what-does-path-to-config-file-not-valid-mean/130689/2 "2008-03-03T15:17:16Z")

</div>

You need to run cluster::configure from within the root directory of  
your rails project.

On Mar 1, 4:41 pm, “removed\_email\_address@domain.invalid”  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,

.3…
