On 15 May 2011 23:51, Carl Jenkins <[email protected]> wrote:
> Frederick Cheung wrote in post #998691:
>> On May 14, 2:03pm, Carl Jenkins <[email protected]> wrote:
>>> I am running ruby 1.8.7 and rails 3.0.7 on a MacPro.
>>>
>>> When I run a command - something as simple as 'gem list --local' I get a
>>> stack trace in the terminal.
>>>
>>> The stack trace mentions deprecation and that something will be removed,
>>> but the exception happens every-time I issue a command?!
>>>
>> It's warning you that the gemspec files inside some of your gems are
>> using a soon to deprecated option. Remove older versions of gems
>> should make the warnings go away (assuming that the newer versions
>> have no longer use the option in question)
>
> This is the first time I've run into this. After a quick search I found
> I can run a 'cleanup' to remove old gems.
>
> The problem is that I notice a dependency issue.

Yes, you'll get a few dependency warnings when you run 'gem cleanup'.
If A depends on B, and it is trying to remove B, then it'll warn you
that A will stop working.

But chances are that A is going to be removed later on in the clean-up
anyway. As long as A isn't a version that you intend to keep, it's
okay to let it remove the dependency.

Just read the message and do a quick mental sanity check. You can
always reinstall a gem later if it gets removed by mistake.

> It looks like I should not remove some gems that are causing this issue.
> Do others just live with the annoying messages about deprecation?

The annoying messages about deprecation are a recent introduction:

  http://blog.zenspider.com/2011/05/rubygems-18-is-coming.html

We're all still learning how to live with them (or, more productively,
trying to get gems updated to not use the deprecated APIs).

Chris

-- 
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