summaryrefslogtreecommitdiff
path: root/lib/bundler/environment.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-03-18 14:50:49 -0700
committerAndre Arko <andre@arko.net>2010-03-18 14:50:49 -0700
commitf4102a6343109c2c28188e6c31aaa1c80f2a4993 (patch)
tree9e9b9bc380dc880d7befb73f90a61a2c44c8847c /lib/bundler/environment.rb
parent4bcd62d603368a37932f40c49c7a9405846788fa (diff)
downloadbundler-f4102a6343109c2c28188e6c31aaa1c80f2a4993.tar.gz
Remove unneeded virtual attribute on Specification
Diffstat (limited to 'lib/bundler/environment.rb')
-rw-r--r--lib/bundler/environment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/environment.rb b/lib/bundler/environment.rb
index 7908507c5d..5f4f13552d 100644
--- a/lib/bundler/environment.rb
+++ b/lib/bundler/environment.rb
@@ -72,7 +72,7 @@ module Bundler
:name => s.name,
:load_paths => s.load_paths
}
- if s.respond_to?(:virtual) && s.virtual
+ if s.respond_to?(:relative_loaded_from) && s.relative_loaded_from
hash[:virtual_spec] = s.to_ruby
else
hash[:loaded_from] = s.loaded_from.to_s