5 ms·
What makes heroku work with rails is rails' use of gemfiles/bundler, so that you don't have to upload every gem that your rails app uses. I don't know how it w
by rauljara 15y ago
What makes heroku work with rails is rails' use of gemfiles/bundler, so that you don't have to upload every gem that your rails app uses. I don't know how it works with node, but from heroku's getting started articles, it looks like leiningen (a clojure build tool) is what that allows them to offer clojure support.
I don't know the scala ecosystem at all. Does scala have a similar tool that allows you to specify what java/scala libraries you want without actually having to upload said libraries?
- shadowfiend 15y agomaven is the main package-distribution mechanism in use in the Java world, and it is what is used in the Scala world, as well. The specific tool used varies (sometimes maven, sometimes simple-build-tool, sometimes buildr), but the de facto standard is there.
- samstokes 15y agoThere's sbt, which is less... mavenny, although I think it's actually just a wrapper around maven.
- jbrechtel 15y agoAs far as dependency management goes SBT can consume Maven dependencies, Apache Ivy dependencies or just manually added JARs to a 'lib' directory.
- Zak 15y agoLeiningen is (mostly) a Clojure wrapper around Maven and Ant.
- mechanical_fish 15y agoWhich explains its name: http://en.wikipedia.org/wiki/Leiningen_Versus_the_Ants http://en.wikipedia.org/wiki/Leiningen_Versus_the_Ants
- aashay 15y ago>I don't know how it works with node FYI (for the curious) you just declare dependencies with npm using package.json. It's easy! http://devcenter.heroku.com/articles/node-js#declare_dependencies_with_npm http://devcenter.heroku.com/articles/node-js#declare_depende...