Skip to content

Commit

Permalink
Use bundler in development.
Browse files Browse the repository at this point in the history
Wow, that was easy...
  • Loading branch information
jnicklas committed Jul 21, 2010
1 parent 3d77347 commit c6edcf7
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
@@ -0,0 +1,3 @@
source :gemcutter

gemspec
53 changes: 53 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,53 @@
PATH
remote: .
specs:
capybara (0.3.9)
culerity (>= 0.2.4)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (>= 0.0.3)

GEM
remote: http://rubygems.org/
specs:
configuration (1.1.0)
culerity (0.2.10)
ffi (0.6.3)
rake (>= 0.8.7)
json_pure (1.4.3)
launchy (0.3.7)
configuration (>= 0.0.5)
rake (>= 0.8.1)
mime-types (1.16)
nokogiri (1.4.2)
rack (1.2.1)
rack-test (0.5.4)
rack (>= 1.0)
rake (0.8.7)
rspec (1.3.0)
rubyzip (0.9.4)
selenium-webdriver (0.0.26)
ffi (>= 0.6.1)
json_pure
rubyzip
sinatra (1.0)
rack (>= 1.0)
yard (0.5.8)

PLATFORMS
ruby

DEPENDENCIES
capybara!
culerity (>= 0.2.4)
launchy (>= 0.3.5)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
rspec (>= 1.2.9)
selenium-webdriver (>= 0.0.3)
sinatra (>= 0.9.4)
yard (>= 0.5.8)
5 changes: 5 additions & 0 deletions README.rdoc
Expand Up @@ -34,6 +34,11 @@ Pull requests are very welcome! Make sure your patches are well tested, Capybara
a testing tool after all. Please create a topic branch for every separate change
you make.

Capybara uses bundler in development. To set up a development environment, simply do:

gem install bundler --pre
bundle install

== Using Capybara with Cucumber

Capybara is built to work nicely with Cucumber. The API is very similar to
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -2,6 +2,8 @@
$:.unshift(File.dirname(__FILE__))

require 'rubygems'
require "bundler/setup"

require 'spec'
require 'spec/autorun'
require 'capybara'
Expand Down

0 comments on commit c6edcf7

Please sign in to comment.