From: Simon Hicks Date: 2009-10-11T13:06:01+09:00 Subject: Re: using libraries in shoes Gems are no problem... the problem is when I want to require a library that I've written myself. For example, I've written a gmail class, that allows a script to send me an email when it's finished a task or whatever... It's a simple class that is contained in a single .rb document, which I end up using in most of the scripts I write for my own use. Since it's not in gem form I can't include it in anything that uses shoes! On 11 Oct 2009, at 05:18, Roger Pack wrote: > >> I've got gems working in Shoes and I've used my own libraries outside >> of Shoes without any problems. >> >> What am I doing wrong? > > I haven't ever tried it, but I think I read once somewhere that to use > gems within shoes you have to copy [i.e. gem unpack] a copy of the gem > to your code's directory, and require it from there. > GL! > -r > -- > Posted via http://www.ruby-forum.com/. >