Friday, July 29, 2011

[Rails] Re: Gem problems

On Jul 29, 2:34 pm, paul h <p...@hollyer.me.uk> wrote:
> Hi Fred,
>
> Can the OP not put the following in his gem file:
>
> gem 'nokogiri', '~> 1.4.4', '1.5.0'
>
> Would this not make both gem versions available to gems that require
> different versions of nokogiri?
>
> I had two gems recently that required different versions of capybara,
> and a similar approach worked for me. If it's wrong, then I need to
> find out why it solved my issue, because my understanding of my
> problem is therefore wrong.

Hard to say without knowing exactly what your circumstances were, but
at a basic level only one version of any given gem can be loaded at
any single time

Fred

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate