I was just starting to use log4r and everything was going peachy until I
tired to unpack it into my local vendor/gems. The next time I tried to
load my rails environment, I got:

config.gem: Unpacked gem log4r-1.1.2 in vendor/gems has no specification
file. Run 'rake gems:refresh_specs' to fix this

and:

no such file to load -- log4r

So - I dutifully tried running rake gems:refresh_specs, only to get:

rake aborted!
undefined method `installed_source_index' for
#<Gem::SourceIndex:0x2b4a6fc>

As a result, I was stuck. I could no longer load my environment.

After a lot of head scratching, a co-developer recommended renaming the
'src' folder in the log4r gems dir to 'lib'.

This magically works. I can now load my environment, although I still
get that pesky message about the specification file missing.

Any suggestion sas to how to clean this up would be very much
appreciated.

Yoram
-- 
Posted via http://www.ruby-forum.com/.

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to