私はこのチュートリアルをここcloud9で従おうとしています。を入力した後$rails new myproject
、しようとするとエラーが発生し $bundle install
ます。エラーの一部を読み取ります
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
checking for gzdopen() in -lz... no
zlib is missing; necessary for building libxml2
*** 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.
Make sure that `gem install nokogiri -v '1.6.8.1'` succeeds before bundling.
を使用してインストールしようとし$ gem install nokogiri -v 1.6.8.1
ましたが、取得しますextconf failed, exit code 1
成功するために nokogirir をインストールする方法はあり$bundle install
ますか? また、cloud9 IDE で mkmf.log ファイルを開くにはどうすればよいですか? 試してみc9 mkmf.log
ましたが、うまくいきませんでした。