I am looking for help with Moneta. I can’t seem to find a specific forum anywhere, so I am going to try here.
I am trying to use the File option on Moneta. On my development mac, everything is peachy, but when I went to run my test on my deployment server, which is a Joyent solaris box, I ran into trouble.
I installed the moneta gem and the xattr gem as indicated, but everytime I try to create a new filestore, I get errors. This particular example comes from trying to build the filestore in the console, but the results are the same regardless of whether they are coming from my tests, my code, or what directory path I pass to the :path option.
m = Moneta::File.new(:path => “filestore”)
RuntimeError: ld.so.1: ruby18: fatal: libSystem.dylib: open failed: No such file or directory from /opt/local/lib/ruby/1.8/dl/import.rb:29:in `initialize' from /opt/local/lib/ruby/1.8/dl/import.rb:29:in `dlopen' from /opt/local/lib/ruby/1.8/dl/import.rb:29:in `dlload' from /opt/local/lib/ruby/1.8/dl/import.rb:27:in `each' from /opt/local/lib/ruby/1.8/dl/import.rb:27:in `dlload' from /opt/local/lib/ruby/gems/1.8/gems/xattr-0.1/lib/xattr.rb:26 from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `gem_original_require' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `require' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:156:in `require' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:521:in `new_constants_in' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:156:in `require' from /home/fe7hkkaa/web/SumSport/vendor/gems/wycats-moneta-0.6.0/lib/ moneta/file.rb:2 from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:380:in `load_without_new_constant_marking' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:380:in `load_file' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:521:in `new_constants_in' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:379:in `load_file' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:259:in `require_or_load' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:425:in `load_missing_constant' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:80:in `rake_original_const_missing' from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing'
I am beginning to believe that this has something to do with the Xattr gem dependency but I can't be for sure. If anyone has had experience with this before, or can interpret this error message for me so I can figure out how to get it running on my server I would be grateful.