C:\Documents and Settings\User>gem install "capybara-webkit"
Fetching: capybara-webkit-1.0.0.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
Command 'qmake -spec win32-g++' not available
Gem files will remain installed in C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/capybara-webkit-1.0.0 for inspection.
Results logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/capybara-webkit-1.0.0/./gem_make.out
C:\Documents and Settings\User>git clone git://github.com/thoughtbot/capybara-webkit.git
Cloning into 'capybara-webkit'...
remote: Counting objects: 4692, done.
remote: Compressing objects: 100% (2965/2965), done.
remotReceiving obje: Total 4692 (delta 2349), reused 3898 (delta 1624)ects: 100% (4692/4
Receiving objects: 100% (4692/4692), 961.98 KiB | 387 KiB/s, done.
Resolving deltas: 100% (2349/2349), done.
C:\Documents and Settings\User>cd capybara-webkit
C:\Documents and Settings\User\capybara-webkit>bundle install
Resolving dependencies...
Using rake (0.9.2)
Using addressable (2.3.2)
Using bundler (1.3.5)
Using appraisal (0.4.0)
Using mime-types (1.22)
Using nokogiri (1.5.9)
Using rack (1.5.2)
Using rack-test (0.6.2)
Using xpath (2.0.0)
Using capybara (2.1.0)
Using json (1.8.0)
Using capybara-webkit (1.0.0) from source at .
Using ffi (1.2.0)
Using childprocess (0.3.6)
Using diff-lcs (1.1.2)
Using websocket (1.0.6)
Using libwebsocket (0.1.7.1)
Using subexec (0.0.4)
Using mini_magick (3.2.1)
Using multi_json (1.5.0)
Using rack-protection (1.3.2)
Using rspec-core (2.6.4)
Using rspec-expectations (2.6.0)
Using rspec-mocks (2.6.0)
Using rspec (2.6.0)
Using rubyzip (0.9.9)
Using selenium-webdriver (2.27.2)
Using tilt (1.3.3)
Using sinatra (1.3.5)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
C:\Documents and Settings\User\capybara-webkit>cd C:\RailsInstaller\DevKit
C:\RailsInstaller\DevKit>devkitvars.bat
Adding the DevKit to PATH...
C:\RailsInstaller\DevKit>cd C:\Documents and Settings\User\capybara-webkit
C:\Documents and Settings\User\capybara-webkit>bundle exec rake build
C:/RailsInstaller/Ruby1.9.3/bin/rake:23:in `load': cannot load such file -- C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/specifications/bin/rake (LoadEr
ror)
from C:/RailsInstaller/Ruby1.9.3/bin/rake:23:in `<main>'
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/specifications/bin/rake
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/specifications
Rails 3.2.13
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]
--
You received this message because you are subscribed to the Google Groups "capybara-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capybara-webk...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
#! ruby
#
# This file was generated by RubyGems.
#
# The application 'rake' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'rubygems'
version = ">= 0"
if ARGV.first
str = ARGV.first
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
if str =~ /\A_(.*)_\z/
version = $1
ARGV.shift
end
end
gem 'rake', version
load Gem.bin_path('rake', 'rake', version) ## this is 23rd line of the file mentioned in the error
--