The sqlite library is not available on Heroku. You might want to look at:
http://devcenter.heroku.com/articles/how-do-i-use-sqlite3-for-development

Basically, set the production environment to not load the sqlite adapter. 
Something like:

group :production do
  gem 'dm-postgres-adapter'
end
group :development, :test do
  gem 'dm-sqlite-adapter'
end
Mark

On Jan 13, 2012, at 9:39 PM, tripdragon wrote:

> I have a bare bones Sinatra app that is using
> gem 'dm-postgres-adapter'
> gem 'dm-sqlite-adapter'
> 
> while running git push heroku master, I get http://pastebin.com/kcu6MAtt
> Installing do_sqlite3 (0.10.7) with native extensions Unfortunately, a
> fatal error has occurred. Please report this error to the Bundler
> issue tracker at https://github.com/carlhuda/bundler/issues so that we
> can fix it. Thanks!
> 
> So I walked to that url to report this but it reported me to post
> here.
> https://github.com/carlhuda/bundler/issues/1488
> 
> On inspection of my Gemfile.lock I see that it's pointing to
> 0.10.6 and not the installed 0.10.7 as the log is writing. However
> chaging the Gemfile.lock to .0.10.7 and updating the git and push
> gives the same error
> 
> Snipit of Gemfile.lock
> ___________________________
>    dm-sqlite-adapter (1.2.0)
>      dm-do-adapter (~> 1.2.0)
>      do_sqlite3 (~> 0.10.6)
> 
> 
> 
> I would just use Postgres in development but I have not conqured that
> hurdle yet in getting that to work without some simple enough
> example.
> 
> Thank you
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" 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/heroku?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to