3 ms·
> Using rubygems to distribute ruby code is sometimes done but then sometimes it’s frowned upon Wat? Rails?
by hashkb 10y ago
> Using rubygems to distribute ruby code is sometimes done but then sometimes it’s frowned upon
Wat? Rails?
- jdminhbg 10y agoThe author means as a means to distribute programs and executables, not libraries.
- squar1sm 10y agoYeah, that's what I meant. :)
- hashkb 10y agoOK... Rails is an executable too. So is Rake... tons of executables are easily installed and managed with Rubygems.
- cderwin 10y agoDevelopment tools often are, but almost never exclusively using ruby gems and it's certainly not a universal practice. ANd of course non-dev tools can't be distributed this way.
- squar1sm 10y agoI think of Rake/Rails as dev tools that are executables. In the post, I mentioned passenger because that was using Rubygems as a distribution mechanism and then they stopped doing that. I don't know if it's a hard / fast rule or even who would enforce that rule ... I was just mentioning that maybe it's an anti-pattern?