everydayrails / rspec_rails_4

Everyday Rails Testing with RSpec (Rails 4.0 Edition)
MIT License
270 stars 144 forks source link

Do you use rbenv-aliases? #99

Open JunichiIto opened 10 years ago

JunichiIto commented 10 years ago

In the sample application, every .ruby-version file is written as "2.0.0" but I think such a version does not exist. So I had to update .ruby-version for each branch.

But today I found rbenv-aliases plugin. I guess you use this plugin in order to make "2.0.0" available. If so, it is worth mentioning it in the book or README.

ruralocity commented 10 years ago

I use RVM, and at least until recently using a version without a patch level worked fine. I'm running into a similar problem elsewhere. If I can't resolve it soon I'm apt to either declare the Ruby dependency in the Gemfile, Heroku-style, or remove it entirely.

JunichiIto commented 10 years ago

declare the Ruby dependency in the Gemfile

I think it might be good alternative.

ruralocity commented 10 years ago

It looks like rbenv does not support specifying the Ruby version in the Gemfile, and won't. I'm going to do some research on how similar tutorials handle Ruby versions.