Ruby on Rails Monday, February 28, 2011

What about Rmagick / imagemagickl? It needs to be compiled natively.
Will it work smoothly with RVM?

On Feb 27, 7:05 pm, radhames brito <rbri...@gmail.com> wrote:
> > Is there any advantage using rvm?
>
> in ruby, as in many languages you can have conflict between libraries, also
> since rails and ruby are open, gems came from everywhere so is hard to keep
> and eye on versions, another problem is that rails changes very fast because
> the community is very engaged and active, all this causes a problem, your
> libraries change often, so if lets say you have one project his week  using
> a certain  gem version maybe by next week when you are going to make a new
> project you can use a newer version of you favorite gem, but you soon notice
> there is a conflict since the new gem is not backwards compatible and cant
> be use in the old project or now it only works with a previous version of
> ruby and you old proyect needs a huge port to make the leap. All this could
> be a problem is there was no rvm, rvm creates a separated environment for
> every ruby you install and you can also have gemsets which isolate gems into
> folder that you can assign to each project, so now you can have
>
> rvm use ruby1.8.7@gemsold
>
> for the old project and
>
> rvm user ruby1.9.2@gemsnew
>
> for the new proyect and never worry about a conflict again.

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

No comments:

Post a Comment