From: Roger Pack Date: 2010-06-23T03:38:09+09:00 Subject: Re: print gem VERSION from ruby program , note that File.open("../VERSION") fails since > it tries to check in the parent of the dir where user currently is > running the app from. File.open(File.dirname(__FILE__) + "/../VERSION") -- Posted via http://www.ruby-forum.com/.