Skip to content

Commit

Permalink
Prevent version file from being loaded twice, thus causing "already i…
Browse files Browse the repository at this point in the history
…nitialized constant" warnings.
  • Loading branch information
Sebastian Kippe committed Dec 22, 2011
1 parent 2d7c63c commit c7dc1a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resque-scheduler.gemspec
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit c7dc1a3

Please sign in to comment.