Personally, I don't understand the hype of rubyenv. I really love rvm. I'm not sure why the author called rvm a "mess of bash scripts". I guess because rvm has a lot of features? If I did not care for gemsets and all of the other niceties that rvm has, I guess I would be on the market for another ruby manager. The fact that the author of this article was rubbed the wrong way by Wayne and rvm, rubbed me the wrong way.
Modern Ruby Development
51–56 of 56 posts
Re: Modern Ruby Development
#52I think it is natural and understandable because there are many Ruby freelancers around who desire to build a brand around their name. But the "competition" between rbenv and rvm was not constructive at all so far. It would be much more helpful if there was one .rubyversion file that both would respect, for starters.
Re: Modern Ruby Development
#53I thought this post would be about Ruby, but instead it's about Rails. Sort of. :(
Alright, let's do ruby then. I use vim with Ri, Rdoc, and ack-grep plugins ( https://github.com/kristopolous/vimbuild ) and then use irb with a bunch of extensions ( http://stackoverflow.com/questions/2952793/anything-like-bpy... ) but there is nothing out there that makes my life phenomenally easy yet (for instance, some really awesome code navigation tool). zsh has built-in autocomplete for ri; try running zsh then…
However, /usr/bin/ri (ri v1.0.1 - 20041108) does give completion but different from your list. ri K gives Classes and methods (e.g. Kconv\#guess) and not just classes. So it's a huge list. Thx.
Re: Modern Ruby Development
#54Any recommendations for a good beginner ruby/rails book? Coming from a PHP world, but want to learn something new.
A great second book (maybe even first if you're comfortable enough learning basic syntax on your own) is Eloquent Ruby by Russ Olsen.
Re: Modern Ruby Development
#55Interesting guide, one thing I find lacking in ruby is longevity in projects. Too much cool new stuff, why not just work out the bugs in the existing projects instead? Of course it's easier to write a new half-assed implementation than getting the hard last percent done. Interesting that he roots for homebrew over macports and rbenv over rvm while at the same time voting for capistrano. Of those 3 projects I find mac…
Capistrano is lacking, but has fewer good alternatives. What would you recommend over it?
we have custom vlad plugins for usual rails related stuff, so our config/deploy.rb scripts are usually about 5-10 lines long. see https://github.com/astrails/vladify
Re: Modern Ruby Development
#56Personally, I don't understand the hype of rubyenv. I really love rvm. I'm not sure why the author called rvm a "mess of bash scripts". I guess because rvm has a lot of features? If I did not care for gemsets and all of the other niceties that rvm has, I guess I would be on the market for another ruby manager. The fact that the author of this article was rubbed the wrong way by Wayne and rvm, rubbed me the wrong way.
Part of the problem is that it overrides extremely low-level things like cd. That can get in your way pretty badly if there's a bug, or just a feature you don't understand.
but again, if you don't like this part of rvm, just switch it off