Forum: Ruby on Rails push 'gem install' into lib folder, with

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Aafa8848c4b764f080b1b31a51eab73d?d=identicon&s=25 Phlip (Guest)
on 2006-12-24 20:48
(Received via mailing list)

Suppose I have a shell account, without root permission, on a
Rails-enabled hosting site.

Now suppose the sysadmin didn't include sqlite3, for example, and I
want to crow-bar it into my own site. (Yes, switching to MySQL, the
way the Lamp Gods intended, is next!)

Can I use gem install sqlite3 --install-dir lib ?

I tried that, and the system can't find the gem. So I add the gem's
raw path to environment.rb:

$:.unshift File.join(File.dirname(__FILE__),

Now the system can find the sqlite3.rb, but not I toss
that into ~/bin, which is on the preexisting PATH, and it still
doesn't work. At a guess, I am within one symlink of getting this, but
what is it?? It ain't "ln -s ~/bin/

(BTW it's _why's sqlite3, from gem install sqlite3-ruby --source , natch!)

  Phlip  <-- NOT a blog!!
This topic is locked and can not be replied to.