From: Jean-Julien Fleck on 12 Jun 2010 00:23 Hello, > 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 > 2.how 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' Cheers, -- JJ Fleck PCSI1 Lycée Kléber
|
Pages: 1 Prev: Does Oniguruma support unicode properties?? Next: How can I call foo in Bar.foo ? |