Hi everyone, I''m on Ubuntu Hardy and I just installed ruby1.8 irb1.8 ri1.8 rdoc1.8 rubygems ruby1.8-dev I then intalled rails with rubygems and had to run the gem update --system command once I wanted to create my first rails project, I also have to install the sqlite3-ruby gem but each time I try to here''s the error I get : sudo gem install sqlite3-ruby Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb install sqlite3-ruby checking for fdatasync() in -lrt... yes checking for sqlite3.h... no make make: *** No rule to make target `ruby.h'', needed by `sqlite3_api_wrap.o''. Stop. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out So I''m probably missing some libraries or maybe a environment variable, could you please help me sort this out, I''d be enlightned Cheers :) bigchoco -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Big Choco
2008-Nov-08 09:32 UTC
Re: Installing sqlite3-ruby with rubygems on Ubuntu 8.0.4.1
Ok solved my problem by installing the sqlite3-dev packages sorry for being impatient Happy coding :p -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Anatoly Mikhailov
2009-Mar-03 02:19 UTC
Re: Installing sqlite3-ruby with rubygems on Ubuntu 8.0.4.1
Agree! I see the problem with install gem sqlite3-ruby. This way help me to fix it! Just install developer headers for provide compile the library from sources. SQLite3: Without the -d option, rails will default to sqlite. To install SQLite3: ~$ sudo apt-get install libsqlite3-0 libsqlite3-dev ~$ sudo gem install sqlite3-ruby big choco wrote:> > > Ok solved my problem by installing the sqlite3-dev packages sorry for > being impatient > > Happy coding :p-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---