On Wed, Apr 7, 2010 at 2:27 PM, Asier <[email protected]> wrote:
> On Martes, 6 de Abril de 2010 21:17:48 Asier escribió:
>
> - Launch rackup and... no worker!. If I launch manually one worker, ruote-kit
> works

Hi,

I use Torsten's ruote-kit and it works (two rails applications).

My Gemfile contains :

  gem 'ruote-kit', :git => 'git://github.com/tosch/ruote-kit.git'

My configuration (config/initializers/ruote.rb) look like :

---8<---
require 'ruote/couch'

RuoteKit.configure do |c|

  c.run_worker = true unless $RAKE_TASK

  uri = File.read(Rails.root.join('config', 'couch_url.txt')).strip
  uri = URI.parse(uri)

  c.set_storage(
    Ruote::Couch::CouchStorage,
    uri.host, uri.port,
    'couch_prefix' => "capua_#{Rails.env}", 'couch_timeout' => 60)

  c.register do
    catchall Ruote::StorageParticipant
  end
end
--->8---


Best regards,

-- 
John Mettraux   -   http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to