あめのて

活字を垂れ流す

rubyのインストールでこけてる

スポンサーリンク

$ rbenv install 2.2.3
Downloading ruby-2.2.3.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
Installing ruby-2.2.3...

BUILD FAILED (OS X 10.10.5 using ruby-build 20151028)

Inspect or clean up the working tree at /var/folders/17/_4srnf691wl9n6yyv9vr3nl80000gn/T/ruby-build.20151213225328.73755
Results logged to /var/folders/17/_4srnf691wl9n6yyv9vr3nl80000gn/T/ruby-build.20151213225328.73755.log

Last 10 log lines:
    from /private/var/folders/17/_4srnf691wl9n6yyv9vr3nl80000gn/T/ruby-build.20151213225328.73755/ruby-2.2.3/lib/rubygems/dependency_installer.rb:373:in `install'
    from /private/var/folders/17/_4srnf691wl9n6yyv9vr3nl80000gn/T/ruby-build.20151213225328.73755/ruby-2.2.3/lib/rubygems.rb:558:in `install'
    from ./tool/rbinstall.rb:722:in `block (2 levels) in <main>'
    from ./tool/rbinstall.rb:721:in `each'
    from ./tool/rbinstall.rb:721:in `block in <main>'
    from ./tool/rbinstall.rb:757:in `call'
    from ./tool/rbinstall.rb:757:in `block in <main>'
    from ./tool/rbinstall.rb:754:in `each'
    from ./tool/rbinstall.rb:754:in `<main>'
make: *** [do-install-all] Error 1

ずっとこのエラーが解決できずに詰んでる……。

from /private/var/folders/17/_4srnf691wl9n6yyv9vr3nl80000gn/T/ruby-build.20151213225328.73755/ruby-2.2.3/lib/rubygems/dependency_installer.rb:373:in `install'
    from /private/var/folders/17/_4srnf691wl9n6yyv9vr3nl80000gn/T/ruby-build.20151213225328.73755/ruby-2.2.3/lib/rubygems.rb:558:in `install'

この部分を見てみると

def install dep_or_name, version = Gem::Requirement.default
    request_set = resolve_dependencies dep_or_name, version
inst.install name, version

こうなってる。

dep_or_name ってのがインストールできないのか? 探しても情報出てこないし…。

解決しだい追記します。

広告を非表示にする