2012-12-12 Ruby:ワーキングディレクトリと、プログラムの場所からの位置 よくどっちがどっちか自信がなくなるので、メモしておく。 File.dirname(__FILE__) : "プログラムのディレクトリ" Dir.pwd : ワーキングディレクトリ http://stackoverflow.com/questions/1937743/how-to-get-the-current-working-directorys-absolute-path-from-irb