lib/bundler/endpoint_specification.rb in bundler-1.1.pre.10 vs lib/bundler/endpoint_specification.rb in bundler-1.1.rc
- old
+ new
@@ -40,9 +40,20 @@
else
super
end
end
+ # needed for bundle clean
+ def bindir
+ if @remote_specification
+ @remote_specification.bindir
+ elsif _local_specification
+ _local_specification.bindir
+ else
+ super
+ end
+ end
+
def _local_specification
eval(File.read(local_specification_path)) if @loaded_from && File.exists?(local_specification_path)
end
def __swap__(spec)