[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help with sidekiq tests



On Thursday 22 May 2014 11:38 PM, Pirate Praveen wrote:
> Hi
> 
> I get lots of errors like this,
> 
> 2) Error:
> sidekiq web#test_0020_escape job args and error messages:
> Errno::ENOENT: No such file or directory @ rb_sysopen -
> /usr/lib/ruby/web/views/retries.erb
> 
> web/views/*.erb is actually at the root of the library. If someone
> familiar with these templating libraries can have a look it would be
> great. It is a matter of installing these in the correct path and
> setting it, I guess.

I have installed web directory in /usr/share/ruby-sidekiq and patched
lib/sidekiq/web.rb to pick this path but there is another problem.

The tests are run from lib path where as I remember we had to explicitly
add lib directory to load path earlier. it seems to be automatically
taken now, what is the rationale for this change?

in ruby-tests.rake I have added only tests to the load path.

> package is in our git repo. ruby-redis and ruby-redis-namespace also
> needs to be built (both in the NEW queue).

Both of them entered the archives and hope someone will help me fix this.

> Thanks
> Praveen
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: