2011-08-31 1 views
2

는 :RoR 설치 : '번들 설치'가 작동하지 않습니까? 이 가지고 내가 우분투 10.10에 첫 번째 프로젝트를 실행하는 동안

[email protected]:~/Documents/tickets$ bundle install 

및 설치 과정의 중간에이 얻을 : 이후,

[email protected]:~/Documents/tickets$./script/rails server 
Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in your Gemfile. 
Run `bundle install` to install missing gems. 

음을 나는 쓰기

 /usr/bin/ruby1.8 extconf.rb 
checking for sqlite3.h... no 
sqlite3.h is missing. Try 'port install sqlite3 +universal' 
or 'yum install sqlite3-devel' and check your shared library search path (the 
location where your sqlite3 shared library is located). 
*** 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. 

그리고이있어 :

Setting up Install Process 
    No package sqlite3-devel available. 
    Nothing to do 

왜? 레일 3.1을 실행 중입니다.

답변

0

yum을 사용하고 있기 때문에 나는 페도라에 있다고 생각했습니다. 그때 나는 "페도라 sqlite3를"를 구글에서이를 추천합니다 blog post을 발견 : 보석은 아주 잘 패키지 이름이없는 것처럼

sudo yum install sqlite-devel 

는 소리. 이 하나에게 이동 :)를 부여

+0

, 나는 우분투 10.10를 사용하고 있습니다. 게시물의 첫 번째 줄에 썼습니다. – andandandand

+0

yum 호출은 내가 작성한 것과 같은 결과를 얻었습니다 : 패키지 sqlite-devel을 사용할 수 없습니다. 아무 것도하지 마십시오. – andandandand

+1

시도 : sudo apt-get install libsqlite3-dev –

3

시도 : 사실 sudo apt-get install libsqlite3-dev

관련 문제