Forum: Ruby on Rails how to create gem

627ad6192f8b58d05070624bfe6f44e0?d=identicon&s=25 Teena Khedkar (teena)
on 2008-01-16 06:20
hi friends,
i need help on creating a gem. Am following the Dr. Nic tutorial

i started with installation of the new gem

step 1)--->  gem install newgem

step 2)---> newgem <gem name>
here it creates the folder successfully with the name i gave, n it
allows the manipulation which is required by me.

here comes my problem????????
step 3)---> rake package
while creating a gem with the "rake package command", I came across an
error saying "could'nt find HOME environment --expanding '~/hoerc'"
which is followed by number of error lines.....

c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.4.0/lib/hoe.rb:327:in 'expand_path'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.4.0/lib/hoe.rb:327:in 'with_config'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.4.0/lib/hoe.rb:322:in 'initialize'
./config/hoe.rb:50:in 'new'

please tell me where iam going wrong!!!!!!!!!!!!!!!!!
B2d23c5b0b6de413d99702767d1d148d?d=identicon&s=25 Guest (Guest)
on 2009-05-30 08:12
(Received via mailing list)
you can visit on the bellow link

here you find all the steps which is required for creating gem.

On Jan 16 2008, 10:20 am, Teena Khedkar <rails-mailing-l...@andreas-
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.