Craig,

    Looks like like there is a problem with the Mongrel/Mongrel
Cluster installation. I would recommend uninstalling Mongrel Cluster,
and later Mongrel, and reinstalling them taking note of the output of
the $ sudo gem install commands.

    Also you could consider running Thin as an alternative.

    Please provide the output of your reinstallation process,

--
Aníbal Rojas
http://hasmanydevelopers.com
http://rubycorner.com
http://anibal.rojas.com.ve

On Jul 17, 7:22 am,  Rees <[EMAIL PROTECTED]> wrote:
> Just tried to start the mongrel cluster and got the following msg:
>
> /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb:188:in
> `chdir': No such file or directory - /library/barmap/current
> (Errno::ENOENT)
>   from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb:188:in
> `chdir_cwd'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb:161:in
> `pid_file_exists?'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb:89:in
> `start'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb:80:in
> `each'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb:80:in
> `start'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb:239:in
> `run'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in
> `run'
>   from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
>   from /usr/local/bin/mongrel_rails:19:in `load'
>   from /usr/local/bin/mongrel_rails:19
>
> Deploy.rb is noted below
>
> set :application, "barmap"
> set :repository,  "http://www.craigrees.co.uk/svn/trunk";
>
> # If you aren't deploying to /u/apps/#{application} on the target
> # servers (which is the default), you can specify the actual location
> # via the :deploy_to variable:
> set :deploy_to,
> "/home/default/barmap.craigrees.co.uk/user/htdocs/#{application}"
> set :mongrel_conf, "# {current_path}/config/mongrel_cluster.yml"
> #SVN user
> set :scm_username, 'craigrees_co_uk'
> set :scm_password, proc{Capistrano::CLI.password_prompt('SVN pass:')}
>
> #Deployment user
> set :user, "root"
> set :runner, nil
>
> # If you aren't using Subversion to manage your source code, specify
> # your SCM below:
> set :scm, :subversion
> set :deploy_via, :export
>
> role :app, "barmap.craigrees.co.uk"
> role :web, "barmap.craigrees.co.uk"
> role :db,  "barmap.craigrees.co.uk", :primary => true
>
> ssh_options[:paranoid] = false
>
> namespace :deploy do
>   task :restart do
>     restart_mongrel_cluster
>   end
> end
>
> Thanks for your help.
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to