# Instiki problem

**URL:** <https://rubytalk.org/t/instiki-problem/16774>\
**Category:** ruby-talk\
**Created:** [2 March 2005 16:19 UTC](https://rubytalk.org/t/instiki-problem/16774 "2005-03-02T16:19:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Bernays](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Paul\_Bernays](https://rubytalk.org/u/Paul_Bernays)\
**Post date:** [2 March 2005 16:19 UTC](https://rubytalk.org/t/instiki-problem/16774/1 "2005-03-02T16:19:25Z")

</div>

Hi all,

Fledgling ruby scholar & instiki user here. I discovered a problem in a brand new Instiki/ruby install on a freshly baked gentoo box today. I can only start Instiki if I run the "instiki" command from the installation directory. Running "ruby instiki" or attempting to start outside of the directory results in an error message about madeleine not being found. Adding "require 'rubygems'" at the head of the script solved that, and all required rubygems were found, but this of course leads to other breakage (\<br\> tags don't get inserted in place of newlines, for example), so I'm back to square one.

How can I get Instiki to start without needing to be in the installation directory?

---

<div class="post-metadata">

**Author:** ![Paul\_Bernays](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Paul\_Bernays](https://rubytalk.org/u/Paul_Bernays)\
**Post date:** [2 March 2005 23:53 UTC](https://rubytalk.org/t/instiki-problem/16774/2 "2005-03-02T23:53:38Z")

</div>

> How can I get Instiki to start without needing to be in the installation directory?

Okay, it's a problem with me not understanding how applications packaged  
as gems work. Moved the libraries from the non-gem download into the gem install directory and it now works as expected.
