> You should try Bundler ... > An other way is to create a rake task which does to job.... yes, so a readme file is necessary or I can do that at the beginning of my script : def my_require(gem,pack=nil) require gem rescue Exception => e puts "loading #{pack||gem} from internet ..." system("gem install #{pack||gem} --no-ri --no-rdoc") ; require gem end and then : my_require 'json','json_pure' my_require 'green_shoes' , 'gtk2,green_shoes' my_require 'toto' , 'zzz' -- Posted via http://www.ruby-forum.com/.