Error : 'incompatible library version' sqlite3-1.3.11 in rails
The SQLite library is likely to be corrupted. Try reinstalling the gem by running the following from a command pronpt:
gem uninstall sqlite3
Then run:
bundle install
SqLite3 LoadError: incompatible library version
Need to use lower version of sqlite3 gem (1.3.10) instead v. 1.3.11
Before if needed uninstall all gems
and write to Gemfile
:
gem 'sqlite3', '~> 1.3', '>= 1.3.10'
and use $ bundle install
It's helps me
cannot load such file sqlite3 - Rails Tutorial
Looks like this post solves my problem. I need to use sqlite 1.3.10 which includes support for Ruby 2.1. Sqlite 1.3.9 does not.
sqlite3 load error while start rails5 server
First try
gem uninstall sqlite3
then run
bundle install
If that didn't work make sure you don't have a username and password and your Environment variable are ok.
Last just a word of advice try to use postgresql as it'll be more helpful in production.
Cannot load sqlite3_native.so when trying to rake assets:precompile
I somehow fixed it.
I'm not exactly sure why it worked but it seems like it worked after re-installing bundler.
gem uninstall bundler
gem install bundler
cannot load such file -- sqlite3/sqlite3_native (LoadError) on ruby on rails
Find your sqlite3 gemspec file. One example is /usr/local/share/gem/specifications/sqlite3-1.3.7.gemspec
Windows: C:\Ruby21\lib\ruby\gems\2.1.0\specifications
.
You should adjust according with your Rubygem path and sqlite3 version.
Edit the file above and look for the following line
s.require_paths=["lib"]
change it to
s.require_paths= ["lib/sqlite3_native"]
Having difficulties to add sqlite3 into gemfile
Got it working by updating gemfile.lock
Changed sqlite3 (1.4.0)
to sqlite3 (1.3.13)
.
Update:
Don't forget to specify your gem version in gemfile
.
Example: gem 'sqlite3', '~> 1.3.13'
, otherwise bundle update
command will return an error.
Bundler cannot continue; error parsing 'Gemfile': (unknown)
Redmine loads the config/database.yml
file from the Gemfile to determine the correct gem to require to access your configured database. Now, it seems your database.yml
is invalid and can't be loaded. Thus, bundler can't finish installing the required gems.
To resolve this issue, ensure that your config/database.yml
is syntactically correct YAML. Check at or around line 10, column 13 in your database.yml
file for errors.
Windows/Ruby/Rails install --- .cannot load such file -- sqlite3/sqlite3_native windows
The issue is that binary sqlite3 gem do not include pre-compiled versions for Ruby 2.1.3
This is mentioned in the sqlite3-ruby mailing list here.
Related Topics
Check If Folder Exist in S3 Bucket
How to Write Down the Rspec to Test Rescue Block
Rails: Parameterfilter::Compiled_Filter Tries to Dup Symbol
Is It Acceptable Having Parameter in Class Constructor
Group Users by Age Range in Ruby
Detect When a Devise Session Expires
Ruby/Rails - How to Validate Against Decimal Scale
Sort an Array in Ruby Ignoring Articles ("The", "A", "An")
Ruby Defining Operator Procedure
Actioncable Connected Users List
Generating Excel Documents with Ruby
Uninstall Ruby on Rails on MAC Os X 10.6
Why #!/Usr/Bin/Env Ruby Doesn't Work in Crontab
Get Pry to Display Characters Like [äöüßÄÖÜß] (Utf-8 Encoding)? (Possibly Windows-Specific Issue)