summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bundler.gemspec2
-rw-r--r--spec/support/path.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundler.gemspec b/bundler.gemspec
index 26fc32278a..be4a9d5f15 100644
--- a/bundler.gemspec
+++ b/bundler.gemspec
@@ -5,7 +5,7 @@ begin
require File.expand_path("../lib/bundler/version", __FILE__)
rescue LoadError
# for Ruby core repository
- require File.expand_path("../bundler/version", __FILE__)
+ require File.expand_path("../version", __FILE__)
end
require "shellwords"
diff --git a/spec/support/path.rb b/spec/support/path.rb
index 76fa89d3cc..084ade46bf 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -9,7 +9,7 @@ module Spec
end
def gemspec
- @gemspec ||= root.join(ruby_core? ? "lib/bundler.gemspec" : "bundler.gemspec")
+ @gemspec ||= root.join(ruby_core? ? "lib/bundler/bundler.gemspec" : "bundler.gemspec")
end
def bindir