Skip to content

Instantly share code, notes, and snippets.

@yellow5
Created August 25, 2011 15:33
Show Gist options
  • Save yellow5/1170935 to your computer and use it in GitHub Desktop.
Save yellow5/1170935 to your computer and use it in GitHub Desktop.
RVM + Rubinius + raspell + thinking-sphinx configuration error
cameron@cam-debian:~/projects/chc/chapp(rbx+*-)$ rake ts:conf --trace
(in /home/cameron/projects/chc/chapp)
DEPRECATION WARNING: Rake tasks in vendor/plugins/asset_packager/tasks, vendor/plugins/exception_logger/tasks, vendor/plugins/mapit/tasks, vendor/plugins/seed-fu/tasks, and vendor/plugins/state_machine/tasks are deprecated. Use lib/tasks instead. (called from __script__ at /home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/tasks/rails.rb:10)
** Invoke ts:conf (first_time)
** Invoke thinking_sphinx:configure (first_time)
** Invoke thinking_sphinx:app_env (first_time)
** Execute thinking_sphinx:app_env
** Invoke environment (first_time)
** Execute environment
rake aborted!
Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/dmarkow-raspell-1.2.2/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/dmarkow-raspell-1.2.2/lib/raspell.so: undefined symbol: rb_file_open
kernel/common/native_method.rb:26:in `load_extension'
kernel/delta/codeloader.rb:163:in `load_library'
kernel/common/codeloader.rb:41:in `require'
kernel/common/codeloader.rb:143:in `require'
kernel/common/kernel.rb:783:in `require'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `require'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
/home/cameron/projects/chc/chapp/config/boot.rb:119:in `load_gems'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/initializer.rb:164:in `process'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
/home/cameron/projects/chc/chapp/config/environment.rb:13:in `__script__'
kernel/common/codeloader.rb:147:in `require'
kernel/common/kernel.rb:783:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/tasks/misc.rake:4:in `__script__'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/thinking-sphinx-1.4.1/lib/thinking_sphinx/tasks.rb:7:in `__script__'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/bin/rake:31:in `__script__'
kernel/common/kernel.rb:732:in `load'
/home/cameron/.rvm/gems/rbx-master@global/bin/rake:19:in `__script__'
kernel/delta/codeloader.rb:65:in `load_script'
kernel/delta/codeloader.rb:90:in `load_script'
kernel/loader.rb:618:in `script'
kernel/loader.rb:769:in `main'
cameron@cam-debian:~/projects/chc/chapp(rbx+*-)$ irb
rbx-master :001 > require 'rubygems'
=> true
rbx-master :002 > require 'raspell'
LoadError::InvalidExtensionError: Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/dmarkow-raspell-1.2.2/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/dmarkow-raspell-1.2.2/lib/raspell.so: undefined symbol: rb_file_open
from Rubinius::NativeMethod.load_extension at kernel/common/native_method.rb:26
from Rubinius::CodeLoader#load_library at kernel/delta/codeloader.rb:163
from Rubinius::CodeLoader#require at kernel/common/codeloader.rb:41
from Rubinius::CodeLoader.require at kernel/common/codeloader.rb:143
from Kernel(Object)#gem_original_require (require) at kernel/common/kernel.rb:783
from Kernel(Object)#require at /home/cameron/.rvm/rubies/rbx-master/lib/rubygems/custom_require.rb:32
from { } in Object#irb_binding at (irb):2
from Rubinius::BlockEnvironment#call_on_instance at kernel/common/block_environment.rb:72
Caused by:
LoadError: Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/dmarkow-raspell-1.2.2/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/dmarkow-raspell-1.2.2/lib/raspell.so: undefined symbol: rb_file_open
from FFI::DynamicLibrary#initialize at kernel/platform/library.rb:229
from Rubinius::NativeMethod.load_extension at kernel/common/native_method.rb:24
from Rubinius::CodeLoader#load_library at kernel/delta/codeloader.rb:163
from Rubinius::CodeLoader#require at kernel/common/codeloader.rb:41
from Rubinius::CodeLoader.require at kernel/common/codeloader.rb:143
from Kernel(Object)#gem_original_require (require) at kernel/common/kernel.rb:783
from Kernel(Object)#require at /home/cameron/.rvm/rubies/rbx-master/lib/rubygems/custom_require.rb:32
from { } in Object#irb_binding at (irb):2
from Rubinius::BlockEnvironment#call_on_instance at kernel/common/block_environment.rb:72
cameron@cam-debian:~/projects/chc/chapp(rbx+*-)$ gem list
*** LOCAL GEMS ***
actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (2.3.14)
addressable (2.2.2)
after_commit (1.0.8)
akephalos (0.2.5)
authlogic (2.1.3)
awesome_nested_set (1.4.3)
blankslate (2.1.2.4)
builder (2.1.2)
bundler (1.0.18)
capybara (0.4.1.2)
celerity (0.8.9)
chriseppstein-compass (0.8.8)
columnize (0.3.2)
configuration (1.1.0)
crack (0.1.6)
cucumber (0.9.0)
cucumber-rails (0.3.2)
culerity (0.2.15)
daemons (1.1.0)
database_cleaner (0.6.0)
db-charmer (1.6.16)
diff-lcs (1.1.2)
dmarkow-raspell (1.2.2)
eventmachine (0.12.8)
ffi (1.0.7)
foreigner (0.9.2)
foreigner-matcher (0.1.1)
formtastic (1.2.4)
geokit (1.6.0)
gherkin (2.2.9)
god (0.11.0)
gruff (0.3.6)
guard (0.3.0)
guard-rspec (0.1.9)
haml (3.0.18)
httparty (0.5.2)
i18n (0.6.0)
jruby-jars (1.6.0)
json (1.4.6)
json_pure (1.5.1)
launchy (0.3.7)
liquid (2.2.2)
looksee (1.0.2)
memcache-client (1.7.4)
mime-types (1.16)
mocha (0.9.11)
mysql2 (0.2.6)
nokogiri (1.4.2)
open_gem (1.4.2)
paper_trail (1.6.4)
parallel (0.5.5)
parallel_tests (0.4.21)
pdfkit (0.4.6)
pickle (0.4.2)
polyglot (0.2.9)
postmark (0.9.5)
postmark-rails (0.4.1)
rack (1.1.2)
rack-test (0.5.4)
rails (2.3.14)
rake (0.8.7)
rake-compiler (0.6.0)
raspell (1.1)
rbx-require-relative (0.0.5 universal-rubinius-1.2)
rdoc (3.6.1, 2.5.1)
redis (2.1.1)
redis-namespace (0.8.0)
remarkable (3.1.13)
remarkable_activerecord (3.1.13)
remarkable_rails (3.1.13)
resque (1.10.0)
resque-lock-timeout (0.2.1)
riddle (1.2.2)
rmagick (2.13.1)
rspec (1.3.1)
rspec-rails (1.3.3)
ruby-debug (0.10.47)
rubyzip (0.9.4)
searchlogic (2.3.8)
selenium-client (1.2.16)
selenium-webdriver (0.0.28)
shuber-sortable (1.0.6)
sinatra (1.1.2)
spork (0.8.4)
system_timer (1.0)
term-ansicolor (1.0.5)
thinking-sphinx (1.4.1)
thor (0.14.6)
thoughtbot-paperclip (2.2.9.1)
tilt (1.2.2)
tmail (1.2.7.1)
ts-resque-delta (0.0.6)
twilio (2.7.0)
validation_reflection (0.3.6)
vcr (0.4.1)
vegas (0.1.7)
vigetlabs-routing-filter (0.2.4)
webmock (1.2.1)
will_paginate (2.3.15)
xpath (0.1.3)
yard (0.6.1)
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll raspell-1.2/ext/
total 520
-rw-r--r-- 1 cameron cameron 171 Aug 25 12:32 extconf.rb
-rw-r--r-- 1 cameron cameron 571 Aug 25 12:32 extconf.rbc
-rw-r--r-- 1 cameron cameron 4073 Aug 25 12:32 Makefile
-rw-r--r-- 1 cameron cameron 216565 Aug 25 12:32 mkmf.log
-rw-r--r-- 1 cameron cameron 25714 Aug 25 12:32 raspell.c
-rw-r--r-- 1 cameron cameron 154 Aug 25 12:32 raspell.h
-rw-r--r-- 1 cameron cameron 140904 Aug 25 12:32 raspell.o
-rwxr-xr-x 1 cameron cameron 123987 Aug 25 12:32 raspell.so*
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll raspell-1.2/lib/
total 128
-rwxr-xr-x 1 cameron cameron 123987 Aug 25 12:32 raspell.so*
-rw-r--r-- 1 cameron cameron 3740 Aug 25 12:32 raspell_stub.rb
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll raspell-1.1/ext/
total 520
-rw-r--r-- 1 cameron cameron 112 Aug 25 12:32 extconf.rb
-rw-r--r-- 1 cameron cameron 454 Aug 25 12:32 extconf.rbc
-rw-r--r-- 1 cameron cameron 4020 Aug 25 12:32 Makefile
-rw-r--r-- 1 cameron cameron 216544 Aug 25 12:32 mkmf.log
-rw-r--r-- 1 cameron cameron 25720 Aug 25 12:32 raspell.c
-rw-r--r-- 1 cameron cameron 154 Aug 25 12:32 raspell.h
-rw-r--r-- 1 cameron cameron 140840 Aug 25 12:32 raspell.o
-rwxr-xr-x 1 cameron cameron 123831 Aug 25 12:32 raspell.so*
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll raspell-1.1/lib/
total 128
-rwxr-xr-x 1 cameron cameron 123831 Aug 25 12:32 raspell.so*
-rw-r--r-- 1 cameron cameron 3740 Aug 25 12:32 raspell_stub.rb
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll dmarkow-raspell-1.2.2/ext/
total 520
-rw-r--r-- 1 cameron cameron 112 Aug 25 12:33 extconf.rb
-rw-r--r-- 1 cameron cameron 464 Aug 25 12:33 extconf.rbc
-rw-r--r-- 1 cameron cameron 4040 Aug 25 12:33 Makefile
-rw-r--r-- 1 cameron cameron 216554 Aug 25 12:33 mkmf.log
-rw-r--r-- 1 cameron cameron 25888 Aug 25 12:33 raspell.c
-rw-r--r-- 1 cameron cameron 154 Aug 25 12:33 raspell.h
-rw-r--r-- 1 cameron cameron 140688 Aug 25 12:33 raspell.o
-rwxr-xr-x 1 cameron cameron 123819 Aug 25 12:33 raspell.so*
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll dmarkow-raspell-1.2.2/lib/
total 128
-rwxr-xr-x 1 cameron cameron 123819 Aug 25 12:33 raspell.so*
-rw-r--r-- 1 cameron cameron 3740 Aug 25 12:33 raspell_stub.rb
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll raspell-1.2/ext/
total 520
-rw-r--r-- 1 cameron cameron 171 Aug 25 12:32 extconf.rb
-rw-r--r-- 1 cameron cameron 571 Aug 25 12:32 extconf.rbc
-rw-r--r-- 1 cameron cameron 4073 Aug 25 12:32 Makefile
-rw-r--r-- 1 cameron cameron 216565 Aug 25 12:32 mkmf.log
-rw-r--r-- 1 cameron cameron 25714 Aug 25 12:32 raspell.c
-rw-r--r-- 1 cameron cameron 154 Aug 25 12:32 raspell.h
-rw-r--r-- 1 cameron cameron 140904 Aug 25 12:32 raspell.o
-rwxr-xr-x 1 cameron cameron 123987 Aug 25 12:32 raspell.so*
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll raspell-1.2/lib/
total 128
-rwxr-xr-x 1 cameron cameron 123987 Aug 25 12:32 raspell.so*
-rw-r--r-- 1 cameron cameron 3740 Aug 25 12:32 raspell_stub.rb
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll raspell-1.1/ext/
total 520
-rw-r--r-- 1 cameron cameron 112 Aug 25 12:32 extconf.rb
-rw-r--r-- 1 cameron cameron 454 Aug 25 12:32 extconf.rbc
-rw-r--r-- 1 cameron cameron 4020 Aug 25 12:32 Makefile
-rw-r--r-- 1 cameron cameron 216544 Aug 25 12:32 mkmf.log
-rw-r--r-- 1 cameron cameron 25720 Aug 25 12:32 raspell.c
-rw-r--r-- 1 cameron cameron 154 Aug 25 12:32 raspell.h
-rw-r--r-- 1 cameron cameron 140840 Aug 25 12:32 raspell.o
-rwxr-xr-x 1 cameron cameron 123831 Aug 25 12:32 raspell.so*
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll raspell-1.1/lib/
total 128
-rwxr-xr-x 1 cameron cameron 123831 Aug 25 12:32 raspell.so*
-rw-r--r-- 1 cameron cameron 3740 Aug 25 12:32 raspell_stub.rb
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll dmarkow-raspell-1.2.2/ext/
total 520
-rw-r--r-- 1 cameron cameron 112 Aug 25 12:33 extconf.rb
-rw-r--r-- 1 cameron cameron 464 Aug 25 12:33 extconf.rbc
-rw-r--r-- 1 cameron cameron 4040 Aug 25 12:33 Makefile
-rw-r--r-- 1 cameron cameron 216554 Aug 25 12:33 mkmf.log
-rw-r--r-- 1 cameron cameron 25888 Aug 25 12:33 raspell.c
-rw-r--r-- 1 cameron cameron 154 Aug 25 12:33 raspell.h
-rw-r--r-- 1 cameron cameron 140688 Aug 25 12:33 raspell.o
-rwxr-xr-x 1 cameron cameron 123819 Aug 25 12:33 raspell.so*
cameron@cam-debian:~/.rvm/gems/rbx-master@chapp/gems$ ll dmarkow-raspell-1.2.2/lib/
total 128
-rwxr-xr-x 1 cameron cameron 123819 Aug 25 12:33 raspell.so*
-rw-r--r-- 1 cameron cameron 3740 Aug 25 12:33 raspell_stub.rb
cameron@cam-debian:~/projects/chc/chapp(rbx)$ rake ts:conf --trace
(in /home/cameron/projects/chc/chapp)
DEPRECATION WARNING: Rake tasks in vendor/plugins/asset_packager/tasks, vendor/plugins/exception_logger/tasks, vendor/plugins/mapit/tasks, vendor/plugins/seed-fu/tasks, and vendor/plugins/state_machine/tasks are deprecated. Use lib/tasks instead. (called from __script__ at /home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/tasks/rails.rb:10)
** Invoke ts:conf (first_time)
** Invoke thinking_sphinx:configure (first_time)
** Invoke thinking_sphinx:app_env (first_time)
** Execute thinking_sphinx:app_env
** Invoke environment (first_time)
** Execute environment
rake aborted!
Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.1/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.1/lib/raspell.so: undefined symbol: rb_file_open
kernel/common/native_method.rb:26:in `load_extension'
kernel/delta/codeloader.rb:163:in `load_library'
kernel/common/codeloader.rb:41:in `require'
kernel/common/codeloader.rb:143:in `require'
kernel/common/kernel.rb:783:in `require'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `require'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
/home/cameron/projects/chc/chapp/config/boot.rb:119:in `load_gems'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/initializer.rb:164:in `process'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
/home/cameron/projects/chc/chapp/config/environment.rb:13:in `__script__'
kernel/common/codeloader.rb:147:in `require'
kernel/common/kernel.rb:783:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/tasks/misc.rake:4:in `__script__'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/thinking-sphinx-1.4.1/lib/thinking_sphinx/tasks.rb:7:in `__script__'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/bin/rake:31:in `__script__'
kernel/common/kernel.rb:732:in `load'
/home/cameron/.rvm/gems/rbx-master@global/bin/rake:19:in `__script__'
kernel/delta/codeloader.rb:65:in `load_script'
kernel/delta/codeloader.rb:90:in `load_script'
kernel/loader.rb:618:in `script'
kernel/loader.rb:769:in `main'
cameron@cam-debian:~/projects/chc/chapp(rbx+*-)$ irb
rbx-master :001 > require 'rubygems'
=> true
rbx-master :002 > require 'raspell'
LoadError::InvalidExtensionError: Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.1/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.1/lib/raspell.so: undefined symbol: rb_file_open
from Rubinius::NativeMethod.load_extension at kernel/common/native_method.rb:26
from Rubinius::CodeLoader#load_library at kernel/delta/codeloader.rb:163
from Rubinius::CodeLoader#require at kernel/common/codeloader.rb:41
from Rubinius::CodeLoader.require at kernel/common/codeloader.rb:143
from Kernel(Object)#gem_original_require (require) at kernel/common/kernel.rb:783
from Kernel(Object)#require at /home/cameron/.rvm/rubies/rbx-master/lib/rubygems/custom_require.rb:32
from { } in Object#irb_binding at (irb):2
from Rubinius::BlockEnvironment#call_on_instance at kernel/common/block_environment.rb:72
Caused by:
LoadError: Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.1/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.1/lib/raspell.so: undefined symbol: rb_file_open
from FFI::DynamicLibrary#initialize at kernel/platform/library.rb:229
from Rubinius::NativeMethod.load_extension at kernel/common/native_method.rb:24
from Rubinius::CodeLoader#load_library at kernel/delta/codeloader.rb:163
from Rubinius::CodeLoader#require at kernel/common/codeloader.rb:41
from Rubinius::CodeLoader.require at kernel/common/codeloader.rb:143
from Kernel(Object)#gem_original_require (require) at kernel/common/kernel.rb:783
from Kernel(Object)#require at /home/cameron/.rvm/rubies/rbx-master/lib/rubygems/custom_require.rb:32
from { } in Object#irb_binding at (irb):2
from Rubinius::BlockEnvironment#call_on_instance at kernel/common/block_environment.rb:72
cameron@cam-debian:~/projects/chc/chapp(rbx+*-)$ rake ts:conf --trace
(in /home/cameron/projects/chc/chapp)
DEPRECATION WARNING: Rake tasks in vendor/plugins/asset_packager/tasks, vendor/plugins/exception_logger/tasks, vendor/plugins/mapit/tasks, vendor/plugins/seed-fu/tasks, and vendor/plugins/state_machine/tasks are deprecated. Use lib/tasks instead. (called from __script__ at /home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/tasks/rails.rb:10)
** Invoke ts:conf (first_time)
** Invoke thinking_sphinx:configure (first_time)
** Invoke thinking_sphinx:app_env (first_time)
** Execute thinking_sphinx:app_env
** Invoke environment (first_time)
** Execute environment
rake aborted!
Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.2/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.2/lib/raspell.so: undefined symbol: rb_file_open
kernel/common/native_method.rb:26:in `load_extension'
kernel/delta/codeloader.rb:163:in `load_library'
kernel/common/codeloader.rb:41:in `require'
kernel/common/codeloader.rb:143:in `require'
kernel/common/kernel.rb:783:in `require'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `require'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
/home/cameron/.rvm/gems/rbx-master@global/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
/home/cameron/projects/chc/chapp/config/boot.rb:119:in `load_gems'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/initializer.rb:164:in `process'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
/home/cameron/projects/chc/chapp/config/environment.rb:13:in `__script__'
kernel/common/codeloader.rb:147:in `require'
kernel/common/kernel.rb:783:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/rails-2.3.14/lib/tasks/misc.rake:4:in `__script__'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/cameron/.rvm/gems/rbx-master@chapp/gems/thinking-sphinx-1.4.1/lib/thinking_sphinx/tasks.rb:7:in `__script__'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/home/cameron/.rvm/rubies/rbx-master/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
kernel/bootstrap/array.rb:76:in `each'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home/cameron/.rvm/gems/rbx-master@global/gems/rake-0.8.7/bin/rake:31:in `__script__'
kernel/common/kernel.rb:732:in `load'
/home/cameron/.rvm/gems/rbx-master@global/bin/rake:19:in `__script__'
kernel/delta/codeloader.rb:65:in `load_script'
kernel/delta/codeloader.rb:90:in `load_script'
kernel/loader.rb:618:in `script'
kernel/loader.rb:769:in `main'
cameron@cam-debian:~/projects/chc/chapp(rbx+*-)$ irb
rbx-master :001 > require 'rubygems'
=> true
rbx-master :002 > require 'raspell'
LoadError::InvalidExtensionError: Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.2/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.2/lib/raspell.so: undefined symbol: rb_file_open
from Rubinius::NativeMethod.load_extension at kernel/common/native_method.rb:26
from Rubinius::CodeLoader#load_library at kernel/delta/codeloader.rb:163
from Rubinius::CodeLoader#require at kernel/common/codeloader.rb:41
from Rubinius::CodeLoader.require at kernel/common/codeloader.rb:143
from Kernel(Object)#gem_original_require (require) at kernel/common/kernel.rb:783
from Kernel(Object)#require at /home/cameron/.rvm/rubies/rbx-master/lib/rubygems/custom_require.rb:32
from { } in Object#irb_binding at (irb):2
from Rubinius::BlockEnvironment#call_on_instance at kernel/common/block_environment.rb:72
Caused by:
LoadError: Could not open library /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.2/lib/raspell.so - /home/cameron/.rvm/gems/rbx-master@chapp/gems/raspell-1.2/lib/raspell.so: undefined symbol: rb_file_open
from FFI::DynamicLibrary#initialize at kernel/platform/library.rb:229
from Rubinius::NativeMethod.load_extension at kernel/common/native_method.rb:24
from Rubinius::CodeLoader#load_library at kernel/delta/codeloader.rb:163
from Rubinius::CodeLoader#require at kernel/common/codeloader.rb:41
from Rubinius::CodeLoader.require at kernel/common/codeloader.rb:143
from Kernel(Object)#gem_original_require (require) at kernel/common/kernel.rb:783
from Kernel(Object)#require at /home/cameron/.rvm/rubies/rbx-master/lib/rubygems/custom_require.rb:32
from { } in Object#irb_binding at (irb):2
from Rubinius::BlockEnvironment#call_on_instance at kernel/common/block_environment.rb:72
cameron@cam-debian:~/projects/chc/chapp(rbx)$ gem install raspell
Fetching: raspell-1.2.gem (100%)
Building native extensions. This could take a while...
Successfully installed raspell-1.2
1 gem installed
cameron@cam-debian:~/projects/chc/chapp(rbx)$ gem install raspell -v 1.1
Fetching: raspell-1.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed raspell-1.1
1 gem installed
cameron@cam-debian:~/projects/chc/chapp(rbx)$ gem install dmarkow-raspell
Fetching: dmarkow-raspell-1.2.2.gem (100%)
Building native extensions. This could take a while...
Successfully installed dmarkow-raspell-1.2.2
1 gem installed
cameron@cam-debian:~/projects/chc/chapp(rbx+*-)$ rvm version
rvm 1.8.0 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]
cameron@cam-debian:~/projects/chc/chapp(rbx+*-)$ ruby -v
rubinius 1.2.5dev (1.8.7 3790ba50 yyyy-mm-dd JI) [x86_64-unknown-linux-gnu]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment