루비 버전 Heroku가하기 오류 v2.1.2이다 memcachier (memcached와) 만난 버전 4.1.1전개가 Gemfile에
ruby '2.1.2'
gem 'rails', '4.1.1'
이고 같이 레일있다.
gem "memcachier"
gem 'dalli'
memcachier add-on을 (를) 이미 추가했습니다. 하지만 heroku에 내 레일 코드를 배포 할 때이 오류가 발생했습니다.
Installing memcachier 0.0.2
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/tmp/build_af6f5b6f-490c-4015-8729-49c519b4a44c/vendor/ruby-2.1.2/bin/ruby extconf.rb
checking for sasl/sasl.h... no
Please install SASL to continue. The package is called libsasl2-dev on Ubuntu and cyrus-sasl on Gentoo.
*** 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=/tmp/build_af6f5b6f-490c-4015-8729-49c519b4a44c/vendor/ruby-2.1.2/bin/ruby
extconf failed, exit code 1
Gem files will remain installed in /tmp/build_af6f5b6f-490c-4015-8729-49c519b4a44c/vendor/bundle/ruby/2.1.0/gems/memcached-1.8.0 for inspection.
Results logged to /tmp/build_af6f5b6f-490c-4015-8729-49c519b4a44c/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/memcached-1.8.0/gem_make.out
Installing newrelic_rpm 3.8.1.221
Installing kgio 2.9.2
An error occurred while installing memcached (1.8.0), and Bundler cannot
continue.
Make sure that `gem install memcached -v '1.8.0'` succeeds before bundling.
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app
어떻게해야하며 어떻게 피할 수 있습니까?