diff --git a/resque-scheduler.gemspec b/resque-scheduler.gemspec index 7ac52a13..0a832c6d 100644 --- a/resque-scheduler.gemspec +++ b/resque-scheduler.gemspec @@ -1,5 +1,6 @@ # -*- encoding: utf-8 -*- -require File.expand_path("../lib/resque_scheduler/version", __FILE__) +$:.unshift File.expand_path("../lib", __FILE__) +require "resque_scheduler/version" Gem::Specification.new do |s| s.name = "resque-scheduler"