installing Sqlite3-ruby error -


when tried install: gem install sqlite3-ruby shows:

    building native extensions.  take while... error:  error installing sqlite3-ruby:     error: failed build gem native extension.  /usr/bin/ruby1.8 extconf.rb extconf.rb:3:in `require': no such file load -- mkmf (loaderror)     extconf.rb:3   gem files remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.3.1 inspection. results logged /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.3.1/ext/sqlite3/gem_make.out 

my environment: sqlite: 2.8.17 rails: 3.0.0 ruby: 1.9.2 ubuntu: 10.04 gem: 1.3.7

i have looking similiar question in webs , so, nothing help, should do? :(

i had same problem. solved by

sudo apt-get install sqlite3 libsqlite3-dev 

then following command worked.

sudo gem install sqlite3-ruby 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -