Skip to content

Instantly share code, notes, and snippets.

@Veejay
Created May 28, 2012 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Veejay/2821215 to your computer and use it in GitHub Desktop.
Save Veejay/2821215 to your computer and use it in GitHub Desktop.
staffplan/ $ JRUBY_OPTS="-Xcext.enabled=true" bundle exec rspec [14:03:45 (staffplan-tests-cleanup!!!) ]
zsh: correct 'rspec' to 'spec' [nyae]? n
LoadError: load error: pg_ext -- java.lang.UnsatisfiedLinkError: failed to load shim library, error: dlopen(/Users/bertrand/.rvm/rubies/jruby-head/lib/native/Darwin/libjruby-cext.dylib, 10): image not found
require at org/jruby/RubyKernel.java:991
require at /Users/bertrand/.rvm/gems/jruby-head/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251
load_dependency at /Users/bertrand/.rvm/gems/jruby-head/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:236
require at /Users/bertrand/.rvm/gems/jruby-head/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251
(root) at /Users/bertrand/.rvm/gems/jruby-head/gems/pg-0.13.2/lib/pg.rb:4
require at org/jruby/RubyKernel.java:991
(root) at /Users/bertrand/.rvm/gems/jruby-head@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:1
each at org/jruby/RubyArray.java:1611
require at /Users/bertrand/.rvm/gems/jruby-head@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68
each at org/jruby/RubyArray.java:1611
require at /Users/bertrand/.rvm/gems/jruby-head@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66
require at /Users/bertrand/.rvm/gems/jruby-head@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55
require at /Users/bertrand/.rvm/gems/jruby-head@global/gems/bundler-1.1.3/lib/bundler.rb:119
require at org/jruby/RubyKernel.java:991
(root) at /Users/bertrand/Programming/staffplan/config/application.rb:12
require at org/jruby/RubyKernel.java:991
(root) at /Users/bertrand/Programming/staffplan/config/environment.rb:1
require at org/jruby/RubyKernel.java:991
(root) at /Users/bertrand/Programming/staffplan/config/environment.rb:2
load at org/jruby/RubyKernel.java:1017
(root) at /Users/bertrand/Programming/staffplan/spec/spec_helper.rb:1
map at org/jruby/RubyArray.java:2350
(root) at /Users/bertrand/Programming/staffplan/spec/spec_helper.rb:3
(root) at /Users/bertrand/Programming/staffplan/spec/controllers/application_controller_spec.rb:1
(root) at /Users/bertrand/Programming/staffplan/spec/controllers/application_controller_spec.rb:1
(root) at /Users/bertrand/.rvm/gems/jruby-head/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:1
load_spec_files at /Users/bertrand/.rvm/gems/jruby-head/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment