Why am i getting loaderror for creating the first hola gem?

I followed this, Make your own gem - RubyGems Guides

I get this error, why?

user1@mybox:~/tempgems/hola/lib$ ./hola.rb
require': cannot load such file -- hola/translator (LoadError) from /home/user1/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require’
from ./hola.rb:3:in `’

Any answer will be highly appreciated.
Thanks in advance.

hey there -

try using a full path in the require line - i know the tutorials say
it’s not necessary, but i’ve found it is…


  • j