From: Jean-Julien Fleck on

> Would you be kind enough to solve this  problem for me ?
> 1.why  in my system
> /var/lib/gems/1.8 and  /var/lib/gems/1.8/bin aren't both writable.
> how to make them writable?

You have to be root to write there:

sudo gem install hello

> can i use require command this way:  require  'hello'  not
> require  '/home/pt/test/hello'?

You have to require rubygems first for your ruby to know where to look for gems:

require 'rubygems'
require 'hello'


JJ Fleck
PCSI1 Lycée Kléber