From: camenix Date: 2006-10-28T20:30:15+09:00 Subject: Re: how to import variable from other .rb file? Is here anyone who can help me? 1. eval File.read('config.rb') It won't work till use global varibale in main.rb : eval File.read('config.rb') puts $tool_mysql OR: main.rb : tool_mysql='' eval File.read('config.rb') puts tool_mysql