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"