Problem Installing SQLite3-Ruby!

Ruby sqlite3 gem installation issue on Windows 10

adding gem 'sqlite3', git: "https://github.com/larskanis/sqlite3-ruby", branch: "add-gemspec" in the project Gemfile file works. After that run bundle install. Make sure to install git in the machine. This is the github link

sqlite3-ruby install error on Ubuntu

You need the SQLite3 development headers for the gem’s native extension to compile against. You can install them by running (possibly with sudo):

apt-get install libsqlite3-dev

gem install sqlite3 on Windows errors out with missing function dlopen

my issue fixed after running this command

ridk exec pacman -S mingw-w64-x86_64-dlfcn

before running gem install sqlite3


Reference: https://github.com/sparklemotion/sqlite3-ruby/issues/248

Error installing sqlite3 gem

Delete the gem at /Users/Peter/.rvm/gems/ruby-2.0.0-p353/cache/sqlite3-1.3.8.gem. RubyGems didn't download it properly (and improperly didn't reset the download). Try installing it again, it should work now.



Related Topics



Leave a reply



Submit