Search code examples
ruby-on-railsrubymacososx-snow-leopardruby-1.9

Can't install ruby 1.9.1 on MacOSX 10.6


I can't seem to be get Ruby installed on my Mac. These are the steps I've taken so far:

  1. Downloaded the package from Ruby's site (http://www.ruby-lang.org/en/downloads/)
  2. Unpacked it running { tar xzvf ruby-1.9.1-p376.tar.gz }
  3. Went into the new ruby folder, and configured using {./configure}

This is where the error happens. When I run the configure, it gives me the error:

/usr/local/include/fuse/fuse_common.h:32:2: error: #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
In file included from /usr/local/include/fuse/fuse.h:857,
                 from <command-line>:0:
/usr/local/include/fuse/fuse_compat.h:69:24: error: sys/statfs.h: No such file or directory

As a result, I can't make the package nor install it. I have no idea what is wrong. Any help is greatly appreciated. Thanks!


Solution

  • This isnt ananswer so much as a suggested alternative... use macports :-)