From 0f9a48587736f3108c0d33a95baa76e8d42b3402 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Wed, 3 Aug 2011 09:55:01 -0500 Subject: [PATCH] Fix double VERSION loading warning --- execjs.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/execjs.gemspec b/execjs.gemspec index 17f3009..2f228b5 100644 --- a/execjs.gemspec +++ b/execjs.gemspec @@ -1,4 +1,5 @@ -require File.expand_path("../lib/execjs/version.rb", __FILE__) +$:.unshift File.expand_path('..', __FILE__) +require 'execjs/version' Gem::Specification.new do |s| s.name = "execjs"