circular dependency on missing ffi
On Linux version 220.127.116.11-desktop-1mnb (email@example.com) (gcc version 4.3.2 (GCC) ) #1 SMP Thu Jan 29 10:49:40 EST 2009, I downloaded, configured, made, and installed ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
I run gem install and I get this:
ERROR: While executing gem ... (NameError)
uninitialized constant Zlib::FFI
Now theoretically I should be able to download and install ffi with 'gem install ffi', but gem is broken without ffi
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
- Status changed from Open to Feedback
I couldn't reproduce it, with or without sudo.
$ gem19 install ffi
WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.9.1 and
/usr/bin aren't both writable.
WARNING: You don't have /home/nobu/.gem/ruby/1.9.1/bin in your PATH,
gem executables will not run.
Building native extensions. This could take a while...
Successfully installed ffi-0.2.0
1 gem installed
Installing ri documentation for ffi-0.2.0...
Updating class cache with 1311 classes...
Installing RDoc documentation for ffi-0.2.0...