views:

29

answers:

1

On my current system i dont have root-access and i want to install sqlite3-ruby. I can compile it and i know how to set custom install-folder, but how does my ruby-installation can recognize/find that installed gem for usage?

I tried prefix of my custom RUBYLIB-Folder but that didnt work either.

Any suggestions?

Thanks skully

A: 

By default, if you don't have root access, RubyGems tries to install the gem in your home directory, within the ~/.gem directory. Just type

$ gem install sqlite3-ruby
Simone Carletti