From: "R.. Kumar" Date: 2010-06-23T13:08:11+09:00 Subject: Re: print gem VERSION from ruby program Roger Pack wrote: > , 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") *duh* Thanks a lot !! -- Posted via http://www.ruby-forum.com/.