Pen Ttt wrote:
>      s.files = ["/home/pt/test/hello.rb"]
...
> ERROR:  Error installing hello:
>   attempt to install file into "/home/pt/test/hello.rb"

Don't use absolute path specifications in your gemspec.

I suggest you find a small gem, and copy what they do. That's what I did 
when I wrote my first gemspec:
http://github.com/candlerb/snailgun/blob/master/snailgun.gemspec
(sorry, I can't remember which small gem I based this on :-)

Regards,

Brian.
-- 
Posted via http://www.ruby-forum.com/.