/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite-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.
Gem files will remain installed in
/home/subhransu/.bundler/tmp/29704/gems/sqlite3-1.3.6 for inspection.
Results logged to
/home/subhransu/.bundler/tmp/29704/gems/sqlite3-1.3.6/ext/sqlite3/gem_make. out
An error occurred while installing sqlite3 (1.3.6), and Bundler cannot
continue.
Make sure that `gem install sqlite3 -v '1.3.6'` succeeds before
bundling.
and I am not able to create new app. How to fix this problem ?
On Sun, Sep 23, 2012 at 12:41 PM, Subhransu M. <li...@ruby-forum.com> wrote:
> I am getting error while creating new app. Here are the details :
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
> extension.
> /usr/bin/ruby1.8 extconf.rb
> checking for sqlite3.h... no
> sqlite3.h is missing. Try 'port install sqlite3 +universal'
> or 'yum install sqlite-devel' and check your shared library search path
> (the
> location where your sqlite3 shared library is located).
> and I am not able to create new app. How to fix this problem ?
Have you followed the suggestion *in the error message* ?
> On Sun, Sep 23, 2012 at 12:41 PM, Subhransu M. <li...@ruby-forum.com>
> wrote:
>> I am getting error while creating new app. Here are the details :
>> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
>> extension.
>> /usr/bin/ruby1.8 extconf.rb
>> checking for sqlite3.h... no
>> sqlite3.h is missing. Try 'port install sqlite3 +universal'
>> or 'yum install sqlite-devel' and check your shared library search path
>> (the
>> location where your sqlite3 shared library is located).
>> and I am not able to create new app. How to fix this problem ?
> Have you followed the suggestion *in the error message* ?
On Sun, Sep 23, 2012 at 1:16 PM, Subhransu M. <li...@ruby-forum.com> wrote:
>>> checking for sqlite3.h... no
>>> sqlite3.h is missing.
> Yes , But that does not help!
Well, the bottom line is the development libraries on whatever distro
you're using aren't there for sqlite3 -- you need to figure out how to
install them (or use a different DB for which you do have those libs).
On Mon, Sep 24, 2012 at 7:08 AM, Subhransu M. <li...@ruby-forum.com> wrote:
> hi,
> I use mysql . is it possible to exclude sqlite , then how to ?
you can use the -d option to pass the database you want to use.
additionally, you can use
rails new -h to show all options available to you. That lists all database
that you can use
in rails.
> --
> 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@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
-- -------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com