Railsをインストールしたくて、ターミナルで
gem install rails
を実行したところ、2時間ほどかかった上にインストールできませんでした...
そこでオプション -V で実行内容を覗いたところ、どうやら
Running 'configure' for libxml2 2.9.2...
のところでつまっているようです。
どうしたらよいでしょう。
ターミナルもOS Xもかなり初心者なのでお手柔らかにお願い致します...
でたエラーは以下の通りです```lang-<ここに言語を入力>
Running 'configure' for libxml2 2.9.2... ^C*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
--help
--clean
--use-system-libraries
--enable-static
--disable-static
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--enable-cross-build
--disable-cross-build
/Library/Ruby/Gems/2.0.0/gems/mini_portile-0.6.2/lib/mini_portile.rb:273:in system': Interrupt from /Library/Ruby/Gems/2.0.0/gems/mini_portile-0.6.2/lib/mini_portile.rb:273:in
block in execute'
from /Library/Ruby/Gems/2.0.0/gems/mini_portile-0.6.2/lib/mini_portile.rb:271:in chdir' from /Library/Ruby/Gems/2.0.0/gems/mini_portile-0.6.2/lib/mini_portile.rb:271:in
execute'
from /Library/Ruby/Gems/2.0.0/gems/mini_portile-0.6.2/lib/mini_portile.rb:66:in configure' from /Library/Ruby/Gems/2.0.0/gems/mini_portile-0.6.2/lib/mini_portile.rb:109:in
cook'
from extconf.rb:278:in block in process_recipe' from extconf.rb:177:in
tap'
from extconf.rb:177:in process_recipe' from extconf.rb:475:in
<main>'
ERROR: Interrupted
それから、ruby,home-brew,rebenv,MySQL,POWはインストール済みです。なので、他の手段でrailsをインストールして使えるようにする手段があればそれも教えて頂きたいです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/03/01 14:26
2015/03/01 14:57
2015/03/01 15:15
2015/03/02 16:25