을 구축하는 데 실패하고 오류 준 : 당신은을 설치해야레일 오류 : 내 레일 프로젝트에 명령</p> <pre><code>bundle install </code></pre> <p>을 실행중인 보석 네이티브 확장
...
Using activerecord (3.0.11)
Using activeresource (3.0.11)
Using bigdecimal (1.1.0)
Installing fcgi (0.8.8) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/jjboat/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
*** 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.
를, 그리고는 말한다 : 를 sudo apt-get install fcgi-dev [sudo] jjboat 암호 : 패키지 목록 읽기 ... 완료 건물 종속성 트리 상태 정보 읽기 ... 완료 E : 패키지를 찾을 수 없습니다. fcgi-dev –
실제로 패키지는 우분투에서'libfcgi-dev'라고 불리는 것 같습니다. –
고마워,'libfcgi-dev'가 맞습니다. 이제 mysql2에 에러가 발생한다. 어떤 패키지를 설치해야하는지 알고 있습니까? mysql2 (0.2.17)를 설치하는 동안 오류가 발생했으며 Bundler를 계속 진행할 수 없습니다. 번들링 전에'gem install mysql2 -v '0.2.17''이 성공했는지 확인하십시오. –