Hi, I've followed these instructions to install sqlite3 gem : http://docs.webfaction.com/software/rails.html#installing-sqlite3-ruby from source. Everything worked fine. But when in my rails application directory i try to "bundle install" to install all gems I get this error :
I've installed rvm in my home directory and run ruby 1.9.2 and Gem from ~/.rvm directory. Any idea? |
Solved! The problem was that we needed to set the sqlite3-ruby installation options via " Here is what finally worked:
Hope that helps! answered 23 Aug '11, 16:20 seanf |
Hi, You would need to install Sqlite in your home directory as explained here: You would then need to install sqlite3-ruby using: Hope that helps! answered 23 Aug '11, 01:11 neeravk I already did those two steps.
(23 Aug '11, 01:17)
plehoux
Can you try using the command: "which sqlite3" and see if it references the binary inside your home directory?
(23 Aug '11, 01:27)
neeravk
~/bin/sqlite3 (yes)
(23 Aug '11, 10:12)
plehoux
|
Please try setting
answered 23 Aug '11, 10:39 seanf LD_INCLUDE_PATH=$HOME/include LD_LIBRARY_PATH=$HOME/lib bundle install still give the same error.
(23 Aug '11, 11:22)
plehoux
Ok, try this - log out of your current SSH session, log back in, and then run the following commands:
(23 Aug '11, 11:46)
seanf
Same error. (tks a lot for your time!) Strangely, if I run "gem install sqlit3-ruby" everything is find. gem install sqlite3-ruby Fetching: sqlite3-ruby-1.3.3.gem (100%) Hello! The sqlite3-ruby gem has changed it's name to just sqlite3. Rather than
installing Thanks from the Ruby sqlite3 team! <3 <3 <3 <3 Successfully installed sqlite3-ruby-1.3.3 1 gem installed Installing ri documentation for sqlite3-ruby-1.3.3... Installing RDoc documentation for sqlite3-ruby-1.3.3...
(23 Aug '11, 13:21)
plehoux
You're very welcome! I don't think we're going to be able to resolve this here in the public forum. If you'd like us to investigate this further, please open a support ticket to give us permission to log into your account and run these commands ourselves. In the ticket, be sure to let us know the exact commands you are running, and the directory from which you are running them. We'll then try running them and try to get it working for you.
(23 Aug '11, 13:38)
seanf
|