LoginSignup
5
4

More than 5 years have passed since last update.

bundle install でのエラー対応メモ

Posted at

bundle installコマンドで下記エラーが発生したのでrbenvインストールを見なおした

$ bundle install --path vendor/bundle
Fetching gem metadata from https://rubygems.org/./Users/hoge/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.1.0]

-- Control frame information -----------------------------------------------
c:0043 p:---- s:0236 b:0236 l:000235 d:000235 CFUNC  :connect
c:0042 p:0011 s:0233 b:0233 l:0001a0 d:000232 BLOCK  /Users/hoge/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799

上記対応をした、rbenv installコマンド

macport版

# port selfupdate
# port install openssl
# port install libyaml

#rbenv 
$ CONFIGURE_OPTS='--with-openssl-dir=/opt/local --with-opt-dir=/opt/local' rbenv install 1.9.3-p194

brew版

# brew update
# brew install openssl


# rbenv
$ CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`" rbenv install 1.9.3-p194
5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4