5 ms·
I think the main complaint about Ruby is going to become, "it's impossible to install". Used to be a beginner user could install a workable current version of
by dnautics 11y ago
I think the main complaint about Ruby is going to become, "it's impossible to install". Used to be a beginner user could install a workable current version of Ruby with one or zero commands from a Linux distro. That is no more.
- majormajor 11y agoI've never had trouble installing fairly up-to-date Ruby versions on Linux, but Mac OS X can become a disaster once you get into installing certain gems. I put this down to Apple more than Ruby, though, since Linux support hasn't let me down in the same way.
- moondev 11y agodocker run -it -v "$PWD":/usr/src/app -w /usr/src/app rails rails new --skip-bundle webapp
- dnautics 11y ago...and someone interested in learning ruby as a beginner is going to know (and understand) that incantation how?
- sergiotapia 11y agoI hope your comment was meant as a sarcastic jab lol.
- yxhuvud 11y agoEh, in the bad old times some big distros thought it was a good idea to not install the Ruby stdlib by default. It is not harder to install ruby than it has been.
- aeze 11y agoYou can type `apt-get install ruby` for ruby 2.3 in ubuntu 16.04
- joshmn 11y agoAnd osx... `gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3` `\curl -sSL https://get.rvm.io https://get.rvm.io | bash -s stable --rails --ruby=2.2.2` ¯\_(ツ)_/¯ It literally doesn't get easier than that. Need Postgres? Postgres.app. Need redis? Probably will install brew anyway, and then `brew install redis` I'm not seeing OP's argument here. Sure, it's not PHP where zillions of shared hosts are abundant and you can just upload stuff via FTP, and there's no cPanel/DirectAdmin or Fantastico/Softaculous for your WordPress deploy. But that's a different segment of a similar-but-not-same market.
- dnautics 11y agoah, sorry, I haven't upgraded since the last LTS, which is a mess. You get 1.8.6? 1.8.4? by default, and then TSHTF when you try to install higher 2.x versions.
- exelius 11y agoLess relevant these days with Docker, but yeah, I get your point. There have been a number of posts on HN in the past few months about the complexity of dependencies between gems, and how many of Ruby's performance issues are actually due to these types of dependency issues (your app's performance used to be good, till someone changed a method in a module that another module you use depended on and made it 5% slower, except that module used it 30 times per call, so the resulting code was 50-100% slower).
- tibbon 11y agoMaybe/kinda? I used to teach at General Assembly, at at least when I was there adding the layer of Docker for complexity, on top of RVM/RBenv, Rails, etc... was seen as too much. In my current company, we also haven't moved to Docker. A few people use it for a few things, but I'm not running it yet myself. Definitely not a universal, and I'm actually kinda unsure where to get started with it in my daily workflow.
- deleted 11y ago[deleted]