On Sep 23, 2010, at 11:55 AM, Steven wrote:

> Hi, I downloaded instiki 0.19 from
> http://golem.ph.utexas.edu/~distler/code/instiki-svn.tar.gz, extracted
> it, then ran 'rake upgrade_instiki'. However it failed with
> 
> ** Erubis 2.6.6
> Upgrading Instiki in production environment.
> rake aborted!
> no such file to load -- sqlite3/sqlite3_native
> 
> I found a solution is to run 'gem install sqlite3-ruby' but that also fails 
> with
> 
> ERROR:  While executing gem ... (Gem::FilePermissionError)
>    You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
> 
> I am using a third party web host (Dreamhost) so I can see why I don't
> have write permissions there. However I previously installed instiki
> 0.18.1 on Dreamhost and it worked. What am I doing wrong?

This is a common problem which is why, for the release version of 0.19, I am 
hoping to use Bundler to manage dependencies like sqlite3-ruby.

The trick, in your situation, is to install the gem locally

    gem install sqlite3-ruby itextomml --no-rdoc --install-dir vendor/plugins


Jacques

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to