Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
require:cannot load such file -- sqlite3/sqlite3_native (load error) I keep getting this error
I keep getting this error I also got it in the testapp stage I cannot get it to load in local host.
Daniel Cunningham21,109 Points
A few things could be causing the error. There could be an issue with the SQLite gem that you're calling for your project. Here's a similar error that was found on another forum. If that fix doesnt work, post the exact text of the error, and maybe we can get closer to the solution. Good luck!
Tjitze de Boer4,947 Points
I have the same error and can't get the proposed fixes on stackoverflow to work for me. Here's the whole thing that I get back when trying to set things up..:
C:\Users\radia\Documents\testapp>bundle exec rails server
require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/sqlite3-1.3.11-x86-mingw32/lib/sqlite3.rb:6:inrescue in <top (required)>'
block (2 levels) in require'
block in require'
block in server'
from bin/rails:4:in `<main>'