Permalink
Browse files

Fixed already initialized constant VERSION warning

There was the same problem as here eventmachine/eventmachine#284

Causing "lib/monit/version.rb:2: warning: already initialized constant VERSION"
  • Loading branch information...
wijet committed Apr 15, 2012
1 parent f965814 commit 7ac7676c0fc3784371deac6ac241629f0708a29c
Showing with 2 additions and 1 deletion.
  1. +2 −1 monit.gemspec
View
@@ -1,5 +1,6 @@
# -*- encoding: utf-8 -*-
-require File.expand_path("../lib/monit/version", __FILE__)
+$:.unshift File.expand_path("../lib", __FILE__)
+require "monit/version"
Gem::Specification.new do |gem|
gem.authors = ["Matias Korhonen"]

0 comments on commit 7ac7676

Please sign in to comment.