Here is what I get:

*/usr/local/shoes]$ ./shoes*
uninitialized constant Encoding::UTF_7

*/usr/local/shoes]$ ./shoes-bin*
uninitialized constant Encoding::UTF_7


*/usr/local/shoes]$ bash -x ./shoes*
++ readlink -f ./shoes
+ REALPATH=/usr/local/shoes/shoes
+ APPPATH=/usr/local/shoes
+ '[' /usr/local/shoes = shoes ']'
+ '[' /usr/local/shoes = . ']'
++ pwd
++ awk '{ sub(/[0-9]+/, ""); print }'
+ '[' /usr/local/shoes = /tmp/selfgz ']'
+ cd ''
+ LD_LIBRARY_PATH=/usr/local/shoes
+ /usr/local/shoes/shoes-bin
uninitialized constant Encoding::UTF_7


On Thu, May 5, 2011 at 12:34 PM, <brabuhr / gmail.com> wrote:

> > Also try:
> >
> > $ LD_LIBRARY_PATH=/usr/local/shoes shoes
>
> I see the shoes shell script does set LD_LIBRARY_PATH:
>    REALPATH=`readlink -f $0`
>
>    APPPATH="${REALPATH%/*}"
>    if [ "$APPPATH" = "shoes" ]; then
>      APPPATH="."
>    fi
>    if [ "$APPPATH" = "." ]; then
>      APPPATH=`pwd`
>    fi
>
>    ...
>
>    LD_LIBRARY_PATH=$APPPATH $APPPATH/shoes-bin "$@"
>
> Also try to run it like:
>
> $ bash -x /usr/local/shoes/shoes
>
> and/or
>
> $ cd /usr/local/shoes
> $ bash -x ./shoes
>
> Thanks
>
>


-- 
Ruby Student