fixed exception in rakefile by including version in runtime method