Dev notes - misc IRC chats

nrogers_art

HackmasterA: Did you ever get Redis to play nicely with Sufia

16:50

HackmasterA

nrogers_art: I'm not sure.

16:50

HackmasterA

I mean yes, but I'm not sure it will work again next time.

16:50

HackmasterA

it remains to be repeated.

16:50

nrogers_art

What do you see when you go into the console and do Redis::redis.namespace

16:50

nrogers_art

I'm seeing sufia:development *BUT* the application via Passenger keeps defaulting to redis

16:51

HackmasterA

hm, I can't tell you right this moment because i destroyed that vagrant box already.

16:51

HackmasterA

but i could re-create it and see what I find.

16:51

nrogers_art

Oh you are using Vagrant

16:51

HackmasterA

good to know; i will watch out for that in my next iteration (about to work on passenger configuration)

16:51

dtcrshr has joined (~datacrush@unaffiliated/datacrusher)

16:52

HackmasterA

yes for better or worse i am currently writing ansible playbooks.

16:52

HackmasterA

how do you know the application is defaulting to redis?

16:52

HackmasterA

nrogers_art: i mean where do you see that?

16:53

nrogers_art

When I look at <server>/admin/queues it says 'resque'

16:54

nrogers_art

It might be a Rails thing, a Passenger thing, etc although ... did I check to make sure I was in development in Passenger?

16:55

HackmasterA

that sounds like it could cause your problem.

16:55

nrogers_art

NM. I am in the right environment

16:55

HackmasterA

nrogers_art: is <server>/admin/queues in your passenger config? or is this a file somewhere? are you doing passenger with apache or nginx?

16:56

nrogers_art

HackmasterA: http://<my IP>/admin/queues

16:56

nrogers_art

In my case I have a virtual host running off an alternate port so it sits at the root

16:56

HackmasterA

nrogers_art: do you have to run a console of some kind or do you get that url for free when redis is running?

16:57

nrogers_art

You just have to create / edit resque_admin to enable access

16:57

HackmasterA

cool.

16:57

HackmasterA

i am re-provisioning this vagrant box so i can see what it says for you. not sure whether it will help.

16:57

nrogers_art

I don't have it in git or I'd show you

16:57

HackmasterA

it sounds like you're a little ahead of me :)

16:58

nrogers_art

Well I did have a month head start :)

16:59

dchandekstark has joined (~dchandeks@152.3.43.230)

16:59

nrogers_art

Here it is ... https://github.com/projecthydra/sufia/blob/master/sufia-models/lib/generators/sufia/models/templates/config/resque_admin.rb

17:00

nrogers_art

Just edit  the commented part - for my development server I just wrote a quick and dirty check against the user key

17:00

nrogers_art has left IRC (Quit: ChatZilla 0.9.91-rdmsoft [XULRunner 29.0.1/20140506152807])

17:00

HackmasterA

cool, thanks!