Permalink
Browse files

use bundler

  • Loading branch information...
1 parent 90d48c4 commit c168c73b281fc2ba02f5524140f1e269eb5ca32e @chriskite committed Aug 12, 2011
Showing with 20 additions and 7 deletions.
  1. +4 −0 .gitignore
  2. +14 −0 Gemfile
  3. +0 −7 spec/fakeweb_helper.rb
  4. +2 −0 spec/spec_helper.rb
View
@@ -0,0 +1,4 @@
+*.swp
+Gemfile.lock
+test.db
+test.tch
View
14 Gemfile
@@ -0,0 +1,14 @@
+source :rubygems
+
+gem 'nokogiri'
+gem 'robots'
+
+group :development do
+ gem 'fakeweb'
+ gem 'tokyocabinet'
+ gem 'bson_ext'
+ gem 'mongo'
+ gem 'redis'
+ gem 'sqlite3'
+ gem 'rspec'
+end
View
@@ -1,10 +1,3 @@
-begin
- require 'fakeweb'
-rescue LoadError
- warn "You need the 'fakeweb' gem installed to test Anemone"
- exit
-end
-
FakeWeb.allow_net_connect = false
module Anemone
View
@@ -1,4 +1,6 @@
require 'rubygems'
+require 'bundler/setup'
+require 'fakeweb'
require File.dirname(__FILE__) + '/fakeweb_helper'
$:.unshift(File.dirname(__FILE__) + '/../lib/')

0 comments on commit c168c73

Please sign in to comment.