Facets units not working

D

David Vallner

I tried to give Units a try to find out the date difference between two days,
and ran into this:

irb(main):001:0> require 'facet/units'
Errno::ENOENT: No such file or directory
- /usr/share/calibre/units/standard.yaml
from /usr/lib/ruby/1.8/yaml.rb:129:in `initialize'
from /usr/lib/ruby/1.8/yaml.rb:129:in `load_file'

from /usr/lib/ruby/gems/1.8/gems/facets-1.0.3/packages/more/lib/facet/units.rb:804
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from (irb):1

Is there something I'm missing? Or is this a genuine facets / packaging bug?

I'm using (well, trying to use) the 1.0.3 gem version of Facets.

David Vallner
 
T

Trans

Well, I have to recommend that Facets be installed via the tar.bz2
using setup.rb, instead of using Gems.

Unfortunately I had forgotten about this, but AFAIK, Gems has no
support for installing configuration and shared data files. So I'm not
sure how I'm going to resolve this conflict between Gems and setup.rb
:-(

T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top