Permalink
Browse files

Change install instructions to not use year-old gems

  • Loading branch information...
1 parent b770e13 commit 7584ed0610eae0236b4ced414c9a50db54b64186 @aslakhellesoy aslakhellesoy committed Jul 20, 2010
Showing with 54 additions and 32 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 .rvmrc
  3. +6 −0 Gemfile
  4. +43 −0 Gemfile.lock
  5. +3 −14 README
  6. +0 −18 Rakefile
View
@@ -0,0 +1 @@
+*.log
View
1 .rvmrc
@@ -0,0 +1 @@
+rvm 1.8.7@cucumber-webrat-mechanize-example
View
@@ -0,0 +1,6 @@
+source "http://rubygems.org"
+
+gem "cucumber", "0.8.5"
+gem "rspec", "2.0.0.beta.17"
+gem "webrat", "0.7.1"
+gem "mechanize", "1.0.0"
View
@@ -0,0 +1,43 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ builder (2.1.2)
+ cucumber (0.8.5)
+ builder (~> 2.1.2)
+ diff-lcs (~> 1.1.2)
+ gherkin (~> 2.1.4)
+ json_pure (~> 1.4.3)
+ term-ansicolor (~> 1.0.4)
+ diff-lcs (1.1.2)
+ gherkin (2.1.5)
+ trollop (~> 1.16.2)
+ json_pure (1.4.3)
+ mechanize (1.0.0)
+ nokogiri (>= 1.2.1)
+ nokogiri (1.4.2)
+ rack (1.2.1)
+ rack-test (0.5.4)
+ rack (>= 1.0)
+ rspec (2.0.0.beta.17)
+ rspec-core (= 2.0.0.beta.17)
+ rspec-expectations (= 2.0.0.beta.17)
+ rspec-mocks (= 2.0.0.beta.17)
+ rspec-core (2.0.0.beta.17)
+ rspec-expectations (2.0.0.beta.17)
+ diff-lcs (>= 1.1.2)
+ rspec-mocks (2.0.0.beta.17)
+ term-ansicolor (1.0.5)
+ trollop (1.16.2)
+ webrat (0.7.1)
+ nokogiri (>= 1.2.0)
+ rack (>= 1.0)
+ rack-test (>= 0.5.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ cucumber (= 0.8.5)
+ mechanize (= 1.0.0)
+ rspec (= 2.0.0.beta.17)
+ webrat (= 0.7.1)
View
17 README
@@ -8,20 +8,9 @@ INSTALLATION
6) rvm gemset use cucumber-webrat-mechanize-example
7) run the following commands:
-gem install term-ansicolor -v 1.0.4
-gem install polyglot -v 0.3.1
-gem install treetop -v 1.4.1
-gem install diff-lcs -v 1.1.2
-gem install builder -v 2.1.2
-gem install cucumber -v 0.3.99
-gem install nokogiri -v 1.3.3
-gem install rack -v 1.0.0
-gem install webrat -v 0.5.3
-gem install mechanize -v 0.9.3
-gem install json_pure -v 1.1.9
-gem install rubyforge -v 1.0.4
-gem install hoe -v 2.3.1
-gem install rspec -v 1.2.8
+gem install bundler --pre
+bundle install
+bundle exec cucumber features
8) You should now be able to execute the example by typing rake
View
@@ -1,18 +0,0 @@
-$:.unshift(File.dirname(__FILE__) + '/../../lib')
-require 'rubygems'
-
-begin
- require 'cucumber'
- require 'cucumber/rake/task'
-
- Cucumber::Rake::Task.new do |t|
- t.cucumber_opts = %w{--format pretty}
- end
-rescue LoadError
- desc 'Cucumber rake task not available'
- task :cucumber do
- abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
- end
-end
-
-task :default => :cucumber

0 comments on commit 7584ed0

Please sign in to comment.