News for hackers. Stuff that matters.
Re:Engine Yard's sponsorship of RVM is coming to an end by twerquie on Monday October 28, 2013 @07:35PM (#6630612)
> I think that's true, and true in just about every language/environment

Agreed, although it seems as if nodejs may have solved most of the hard problems in this area by way of their unique require() module loader and the design of npm. After learning it, I wish every package manager worked that way.

Re:Engine Yard's sponsorship of RVM is coming to an end by mmgutz on Monday October 28, 2013 @08:03PM (#6630778)
Ran into same issues with nodejs. If one of your dependencies use libxy 1.2 and your app depends on libxy 1.4, you have to be careful which one gets loaded first and hope one is compatiblew with the ohter. Good luck if the APIs are different. NPM seems to solve the problem but it really doesn't.
Re:Engine Yard's sponsorship of RVM is coming to an end by nadaviv on Monday October 28, 2013 @08:15PM (#6630841)
This shouldn't be an issue at all. Your app would get libxy 1.4, and your dependency would get libxy 1.2. It shouldn't matter which is loaded first, and unless those modules somehow store something globally, they shouldn't conflict in any way.

npm does solve the "multiple versions of a library are used by different packages", unless that libxy you were using did something fishy. Can you give more details?

Re:Engine Yard's sponsorship of RVM is coming to an end by daleharvey on Monday October 28, 2013 @08:12PM (#6630823)
That is not how node / npm works, it specifically solves this problem, each module gets its own version of its dependancies
Re:Engine Yard's sponsorship of RVM is coming to an end by rubiquity on Monday October 28, 2013 @08:15PM (#6630835)
I agree about npm. Having the individual node_modules fixes a lot of dependency management issues. That said, I'm not a fan of Nodd but if I could steal two things from them it would npm and Isaac.