Hi Phil,
----- Original Message -----
Slavek,
On 2012-07-16 18:02, Bohuslav Kabrda wrote:
> Hi Phil,
>
> ----- Original Message -----
>> Bohuslav,
>>
>>
>> On Jul 16 05:39:29 UTC 2012 Bohuslav Kabrda wrote:
>> > On 2012-07-15 15:23, Philip Rhoades wrote:
>> > > Bohuslav,
>> > >
>> > >
>> > > On 2012-06-19 20:44, Bohuslav Kabrda wrote:
>> > >> Hi all,
>> > >> since Ruby/Fedora integration had some significant changes
>> > >> from
>> > F16
>> > >> to F17, I thought it might be a good idea to write a summary
>> > >> of
>> > new
>> > >> features and send it out for all - see [1].
>> > >>
>> > >> All comments and suggestions for further development are
>> > >> welcome.
>> > >
>> > >
>> > > On a Fedora 17 x86_64 install:
>> > >
>> > > gem list
>> > >
>> > > shows:
>> > >
>> > > actionmailer (3.2.6)
>> > > . .
>> > >
>> > > but:
>> > >
>> > > updateb
>> > > locate gem | grep actionmailer
>> > >
>> > > show nothing?
>> > >
>> > > What gives?
>> >
>> > Hi Phil,
>> > I can't find a way to reproduce the issue. I tried installing
>> > the
>> > gem
>> > both with "gem install" and "sudo gem install" and
both
>> > locations
>> > are
>> > found with "locate gem | grep actionmailer".
>> > Could you please provide more specific info:
>> > - How did you install the gem? (with or without sudo)
>> > - Was the installation successful?
>> > - Is the actionmailer-3.2.6 directory located under
>> > "/usr/local/share/gems/gems" or
>> > "/home/<yourusername>/.gem/ruby/1.9.1/gems"?
>>
>>
>> I think I found this after I had done:
>>
>> yum install rubygems
>>
>> - would that allow "gem list" to show "actionmailer" ?
>>
>
> If you have installed Ruby from Fedora, the Rubygems must have been
> installed too, so doing "yum install rubygems" probably did
> nothing.
> "gem list" command is the standard way to find what gems you have
> installed on your system.
I understand that - that is why I was surprised that "actionmailer"
apppeared in the list but I couldn't find where it was in the file
system (as I could in previous versions).
> Actually I am not sure about the
> "updatedb/locate" stuff, I'm not familiar with it very much.
A DB of Existing files in the file system are updated usually by a
cron
job nightly but the update can be forced with "updatedb" - locate
just
shows the existence of a search string in the updated database ie the
location of the file.
> Could you please answer all the questions from my previous email?
I thought I had - trying again:
- I had not done any "gem install xx" only "yum install rubygems"
- I didn't have any errors up to that point
- The "actionmailer" dir could not be found at that time - of course
after further "gem install xx" it exists now under:
"/usr/local/share/gems/gems"
=> That's why I suggested trying to reproduce the problem with a
fresh
install of a virtual machine . .
Hmm, so I have precisely the same setup and locate can see actionmailer in
/usr/local/share/gems/gems. Is it possible that you're running "locate"
under a user who can't read the directory? I'm kind of running out of ideas. It
seems that this is not Rubygems related problem.
I tried this locally:
yum install rubygems
gem install actionmailer
updatedb
locate gem | grep actionmailer
These steps printed bunch of the files under /usr/local/share/gems for me, so I can't
really reproduce the issue.
Does anyone else have any idea what might be going on here?
> Also, was this a fresh Fedora 17 install or an upgrade from an
> older
> Fedora?
As I said/implied before it was a fresh Fedora install on a virtual
machine.
Thanks,
Phil.
--
Regards,
Bohuslav "Slavek" Kabrda.