SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jun 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question ruby 1.8.6 Segmentation fault

    Anyone know why I am getting this error when trying to install ruby 1.8.6? These are the installation instructions from Simply Rails 2. The result I get is version 1.8.4. Here are the commands/results from Terminal:


    make: *** [.rbconfig.time] Abort trap
    BIG-MAC:ruby-1.8.6 jeff$ sudo make install
    Password:
    ./miniruby ./instruby.rb --dest-dir="" --extout=".ext" --make="make" --mflags="" --make-flags="" --installed-list .installed.list --mantype="doc"
    ruby: [BUG] Segmentation fault
    ruby 1.8.6 (2007-03-13) [i686-darwin9.7.0]

    make: *** [do-install-nodoc] Abort trap
    BIG-MAC:ruby-1.8.6 jeff$ sudo make install-doc
    gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -L. main.o -lruby-static -lpthread -ldl -lobjc -o ruby
    Generating RDoc documentation
    ./miniruby ./runruby.rb --extout=.ext -- "./bin/rdoc" --all --ri --op ".ext/rdoc" "."
    ./runruby.rb:59: [BUG] Segmentation fault
    ruby 1.8.6 (2007-03-13) [i686-darwin9.7.0]

    make: *** [rdoc] Abort trap
    BIG-MAC:ruby-1.8.6 jeff$ cd ..
    BIG-MAC:build jeff$ ruby -v
    ruby 1.8.4 (2005-12-24) [i686-darwin9.6.0]
    BIG-MAC:build jeff$

  2. #2
    SitePoint Addict
    Join Date
    Feb 2007
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hivelogic has the best instructions I've come across for building ruby from source.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •