[chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: net::ftp error from libffi.rb in omnibus-software


Chronological Thread 
  • From: John Alberts < >
  • To: Lamont Granquist < >
  • Cc:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: net::ftp error from libffi.rb in omnibus-software
  • Date: Mon, 14 Jul 2014 14:34:52 -0700


On Sat, Jul 12, 2014 at 10:35 AM, Lamont Granquist < " target="_blank"> > wrote:
% pry
[1] pry(main)> require 'net/ftp'
=> true
[2] pry(main)> Net::FTP.class
=> Class

Thanks everyone for all of the suggestions.  Sorry for the slow response.  Busy weekend and just got to the office after a long flight.

Regarding the suggestions for pry; yes, I get the same output you show.  That was actually the first thing I checked. :)

I also tried reinstalling ruby.  I actually used rbenv to install a new 1.9.3-p547 version of ruby.  That didn't help.

I did manage to get around the error by putting a "require 'net/ftp'" in lib/omnibus.rb.  Yes, I know it definitely doesn't belong there.  I just put it there to test if it fixed the issue and it did.  I tried putting the require statement in lib/omnibus/fetchers/net_fetcher.rb and also tried lib/omnibus/fetcher.rb but that didn't eliminate the error message.
I still plan to trace the code and figure out exactly where is the appropriate place for the require statement and I'll submit a PR.  I just wanted to update on my progress and thank everyone for the help.

John




--
John Alberts



Archive powered by MHonArc 2.6.16.

§