News for hackers. Stuff that matters.
Re:Rails Has Turned into Java by spellboots on Wednesday February 20, 2013 @03:08PM (#5252962)
Dependency management in ruby is trivial with bundler.
Re:Rails Has Turned into Java by tmo9d on Wednesday February 20, 2013 @03:52PM (#5253259)
Oh I disagree entirely. After having spend two days debugging someone's versionless Gemfile / bundler problem on my CI server, I want someone to pay for my pain.
Re:Rails Has Turned into Java by jbail on Wednesday February 20, 2013 @04:08PM (#5253375)
That's not Bundler's fault. It's the fault of the person who made the versionless Gemfile.

There's really no comparison between using Bundler and mucking around with JAR files or Ant scripts in Java. I've even seen Python codebases with a Java-esque rats nest of dependencies that are just as painful to get setup correctly.

Bundler is way easier. I've never been on a Rails project where it took more than 30 minutes to get the env setup and it's in large part, thanks to Bundler. Admittedly, I haven't touched Java in a few years, but last I checked, Java had nothing like Bundler (which is a shame, because it could really use it).

Re:Rails Has Turned into Java by squidsoup on Wednesday February 20, 2013 @04:16PM (#5253430)
Maven and POM files are the standard way of managing dependencies in Java projects. Maven's more complex than bundler, but reasonably easy to use as it is very convention oriented.
Re:Rails Has Turned into Java by tmo9d on Wednesday February 20, 2013 @04:19PM (#5253450)
Hey, don't forget Gradle - http://www.gradle.org - Gradle syntax for declaring dependencies is similar to Maven.

But there's a very close comparison between Bundler and managing dependencies with Maven or Gradle. And there's a huge difference. Maven Central has never been compromised because they have a secure method for deploying artifacts, RubyGems? You've had a fun month with RubyGems, right?

Re:Rails Has Turned into Java by jbail on Wednesday February 20, 2013 @04:42PM (#5253563)
If you are going to base your argument on a one-time security vulnerability in RubyGems, then I'm just going to get out of your way and let you troll on.
Re:Rails Has Turned into Java by taligent on Wednesday February 20, 2013 @04:21PM (#5253456)
If you are using Play or Grails then dependency management is handled almost identically to bundler.

If not then Ivy is what is used mostly albeit far less elegantly.

Re:Rails Has Turned into Java by taligent on Wednesday February 20, 2013 @03:14PM (#5253002)
For small, single apps sure.

But if you have large apps with multiple Ruby versions then dealing with rvmrc, bundler and gem incompatibilities is a nightmare.

Java's forward compatibility is a lot more robust.

Re:Rails Has Turned into Java by damoncali on Wednesday February 20, 2013 @04:55PM (#5253629)
But if you have large apps with multiple Ruby versions then dealing with rvmrc...

Why on earth would you do that?

Re:Rails Has Turned into Java by jdminhbg on Wednesday February 20, 2013 @04:47PM (#5253583)
You have an app with multiple Ruby versions?
Re:Rails Has Turned into Java by taligent on Wednesday February 20, 2013 @05:52PM (#5253944)
Yes. I take it you've never worked at an enterprise company before ?

Every time a new developer comes on board they just love to add new technology X and then in the years to come other developers add Y and so on. Of course there are developers who have to manage this.

Re:Rails Has Turned into Java by calinet6 on Wednesday February 20, 2013 @10:06PM (#5255110)
Enterprise company? Ha. Just try dealing with three different decade-old JVM versions once. You'll pray for bundler.
Re:Rails Has Turned into Java by rsyntax on Wednesday February 20, 2013 @05:12PM (#5253720)
What use case is there for "multiple Ruby versions" within the same app?