Re: RFH: ruby-bcrypt
On 30/04/11 at 20:43 +0530, Vasudev Kamath wrote:
> Hi Vincent,
>
> On Sat, Apr 30, 2011 at 8:31 PM, Vincent Carmona <vinc4mai@gmail.com> wrote:
> > Hi.
> >
> > the importants lines in buildlog are:
> > /usr/bin/ruby1.8 -Ilib debian/ruby-tests.rb
> > /tmp/buildd/ruby-bcrypt-2.1.4/lib/bcrypt.rb:9:in `require': no such
> > file to load -- bcrypt_ext (LoadError)
> Oh how do I do that?
> >
> > You need to add the directories of bcrypt.rb and bcrypt_ext.so at
> > build time to $:.
> > Can you show how your ruby-tests.rb ?
> > The one in git repo is commented ?
> git repo of ruby-tests.rb has 2 un commented lines but there were
> commented lines also I've now removed them and pushed the changes[1]
Hi,
The problem was that ext/mri was not in LOAD_PATH when running tests.
I've fixed it in git.
Another problem was the the test engine apparently didn't load rspec.
See git. Tell me if the package is ready.
- Lucas
Reply to: