Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Add a spec for a runtime path bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Lerche committed Feb 1, 2010
1 parent e81a3d2 commit 0df5a11
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 4 additions & 0 deletions bundler.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

Gem::Specification.new do |s|
s.name = %q{bundler}
<<<<<<< Updated upstream
s.version = "0.9.0.pre3"
=======
s.version = "0.9.0.pre2"
>>>>>>> Stashed changes

s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
s.authors = ["Carl Lerche", "Yehuda Katz"]
Expand Down
19 changes: 17 additions & 2 deletions spec/runtime/setup_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
require File.expand_path('../../spec_helper', __FILE__)

describe "Bundler.setup" do
describe "with paths" do
it "activates the gems in the path source" do
pending
system_gems "rack-1.0.0"

it "uses gems from pinned git sources even" do
pending
build_lib "rack", "1.0.0" do |s|
s.write "lib/rack.rb", "puts 'WIN'"
end

gemfile <<-G
path "#{lib_path('rack-1.0.0')}"
source "file://#{gem_repo1}"
gem "rack"
G

run "require 'rack'"
out.should == "WIN"
end
end
end

1 comment on commit 0df5a11

@snusnu
Copy link

@snusnu snusnu commented on 0df5a11 Feb 1, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That bundler.gemspec is definitely broken

Please sign in to comment.