# Moneta::File

**URL:** <https://www.ruby-forum.com/t/moneta-file/172536>\
**Category:** Rails\
**Created:** [July 23, 2009, 12:26am UTC](https://www.ruby-forum.com/t/moneta-file/172536 "2009-07-23T00:26:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mindtonic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f19dbf/32.png) [@mindtonic](https://www.ruby-forum.com/u/mindtonic)\
**Post date:** [July 23, 2009, 12:26am UTC](https://www.ruby-forum.com/t/moneta-file/172536/1 "2009-07-23T00:26:15Z")

</div>

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.
