On 24 Jan 2009, at 18:12, Adam Morris wrote:

>
> I'm new to OS X.  I've been messing with Rails for about a year.
>
> I've cloned my rails app using git.  script/server starts, and I get  
> an
> error in my browser about sqlite3.
>
> So, I try to install sqlite-ruby gem and I fail as follows:
>

Are the dev tools installed ?

Fred

>
> [losts...@alice ~/projects/motleylane-deploy]$ sudo gem install
> sqlite-ruby
> Password:
> Building native extensions.  This could take a while...
> ERROR:  Error installing sqlite-ruby:
>  ERROR: Failed to build gem native extension.
>
> /usr/local/bin/ruby extconf.rb install sqlite-ruby
> checking for main() in -lsqlite... no
> checking for sqlite.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.
>
> Provided configuration options:
>
>  /* snipped */
>
> Gem files will remain installed in
> /usr/local/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3 for inspection.
> Results logged to
> /usr/local/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/ext/gem_make.out
>
> [losts...@alice ~/projects/motleylane-deploy]$ which sqlite3
> /usr/bin/sqlite3
>
>
> I cannot figure this out and Google is not turning up much help.
> Thanks.
> -- 
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to