lib/firstjob/career.rb in firstjob-1.0.0 vs lib/firstjob/career.rb in firstjob-1.0.1
- old
+ new
@@ -1,7 +1,7 @@
module Firstjob
class Career
- CAREERS = YAML.load_file("lib/data/careers.yaml")["careers"].symbolize_keys!
+ CAREERS = YAML.load_file(File.join(File.dirname(__FILE__),"../data/careers.yaml"))["careers"].symbolize_keys!
# Poor's man all
def self.all
CAREERS
end