Skip to content

Instantly share code, notes, and snippets.

@mattwynne
Created October 22, 2010 13:17
Show Gist options
  • Select an option

  • Save mattwynne/640513 to your computer and use it in GitHub Desktop.

Select an option

Save mattwynne/640513 to your computer and use it in GitHub Desktop.
:bundle exec spec spec\integration\user_agent_spec.rb
You must 'gem install win32console' to use colour on Windows
Capybara::Session
with non-existant driver
should raise an error
Capybara::Driver::Akephalos
#user_agent=
when given :default
[2010-10-22 14:13:59] INFO WEBrick 1.3.1
[2010-10-22 14:13:59] INFO ruby 1.8.7 (2010-08-16) [i386-mingw32]
[2010-10-22 14:13:59] INFO WEBrick::HTTPServer#start: pid=976 port=9887
Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main
Caused by: java.lang.ClassNotFoundException: org.jruby.Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.jruby.Main. Program will exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment