I re-raked everything, then checked "ps -aux" to see who poller was
running as.

It was root.  I changed to the "git" user and re-ran it and it worked
instantly!

Not sure which was the cause, but I'll take a win anytime!

On May 20, 2:58 pm, "[email protected]"
<[email protected]> wrote:
> I'm assuming so.  I'm trying this:
> "RAILS_ENV=production ./script/poller run" while Mongrel is running in
> the background with "RAILS_ENV=production ./script/server &"
>
> Of course, "config/gitorious.yml" has "test:" commented out and only
> the "production:" label exists.
>
> "config/environment.rb" (line 5) has "ENV['RAILS_ENV'] ||=
> 'production'"
>
> I even went through and moved the "environments/test.rb" &
> "environments/development.rb" files just in case.
>
> Is it necessary to do a "rake db:drop, rake db:create:all, rake
> db:migrate" for good measure?
>
> (Thanks for the help so far)
>
> -Eric
>
> On May 20, 2:32 pm, Marius Mårnes Mathiesen
>
> <[email protected]> wrote:
> > On 20. mai. 2009, at 21.21, [email protected] wrote:
>
> > > When calling "./script/poller start", the only output in "tmp/pids/
> > > poller.output" is:
> > >>> /var/www/gitorious/config/environment.rb:99: warning: already  
> > >>> initialized constant CA_FILE
> > >>> /var/www/gitorious/app/metal/git_http_cloner.rb:53: warning:  
> > >>> already initialized constant TRUSTED_PROXIES
>
> > > When I run "./script/poller run" or "./vendor/plugins/activemessaging/
> > > poller.rb", I receive the same output, and the program continues to
> > > run.
>
> > > (I've tried running all this as the users "root" and "git")
>
> > > ActiveMQ has several items in the queue, but no subscribers.
>
> > > Any ideas?
>
> > Are you running script/poller within the same RAILS_ENV as your web app?
>
> > - Marius
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" 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/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to