Note that there are some explanatory texts on larger screens.

plurals
  1. POError installing sqlite3 gem rvm opensuse premission denied
    primarykey
    data
    text
    <p>new to linux. Installing Ruby 2.0 and rails 4.0 through rvm. Got it working on my laptop with linux ubuntu but having problem on my work computer with linux openSUSE. </p> <p>Installed rvm, ruby and rails. Created a rails app but when i run bundle install I get this:</p> <pre><code>**Errno::EACCES: Permission denied - /home/alf/.rvm/gems/ruby-2.0.0-p247/gems/sqlite3-1.3.8/API_CHANGES.rdoc An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue. Make sure that `gem install sqlite3 -v '1.3.8'` succeeds before bundling.** </code></pre> <p>Also got this when running bundle install:</p> <pre><code>**Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/alf/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Try 'port install sqlite3 +universal' or 'yum install sqlite-devel' and check your shared library search path (the location where your sqlite3 shared library is located). *** 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: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib64 --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/alf/.rvm/rubies/ruby-2.0.0-p247/bin/ruby --with-sqlite3-dir --without-sqlite3-dir --with-sqlite3-include --without-sqlite3-include=${sqlite3-dir}/include --with-sqlite3-lib --without-sqlite3-lib=${sqlite3-dir}/ --enable-local --disable-local Gem files will remain installed in /home/alf/.bundler/tmp/10121/gems/sqlite3-1.3.8 for inspection. Results logged to /home/alf/.bundler/tmp/10121/gems/sqlite3-1.3.8/ext/sqlite3/gem_make.out An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue. Make sure that `gem install sqlite3 -v '1.3.8'` succeeds before bundling.** </code></pre> <p>I have sqlite3 installed, but don#t know if its installed locally somewhere. I'm new to linux and openSUSE. Please help me.</p> <p>When I run gem install sqlite3 -v '1.3.8' I get:</p> <pre><code>**ERROR: While executing gem ... (Errno::EACCES) Permission denied - /home/alf/.rvm/gems/ruby-2.0.0-p247/gems/sqlite3-1.3.8/API_CHANGES.rdoc** </code></pre> <p>This drives me crazy, google but cant find a solution that works.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload