4 ms·
What about gems? As someone new to both Ruby and Rails, I found the process of installing both + gems and anything else I needed to take most of my first day c
by nhangen 16y ago
What about gems?
As someone new to both Ruby and Rails, I found the process of installing both + gems and anything else I needed to take most of my first day coding, not to mention if I install on two machines.
I'm no programming guru, but it seems to me that even Rails could be simplified.
- bricestacey 16y agoGems are super simple once you get the hang of it. Look into installing RVM[0]. It will let you manage multiple versions of ruby at once. Also get familiar with Bundler[1] and watch the Rails 3 screencast[2] that explains it. [0] https://rvm.beginrescueend.com/ https://rvm.beginrescueend.com/ [1] http://gembundler.com/ http://gembundler.com/ [2] http://rubyonrails.org/screencasts/rails3/bundler-action-mailer http://rubyonrails.org/screencasts/rails3/bundler-action-mai...
- kaylarose 16y agoTake bricestacey's advice, use RVM. I was in the same boat as you when getting started with Ruby - it seemed like I was always fighting with gems and other dependencies - "there has to be a better way!", I thought. And there was... I read this article[1] and it changed my life. [1]http://sirupsen.com/get-started-right-with-rvm/ http://sirupsen.com/get-started-right-with-rvm/
- astrodust 16y agoThere's always Bundler (http://gembundler.com/ http://gembundler.com/) to make your life a lot easier. Prior to this it was a bit of a scramble to get everything installed properly.