RVM problems (or possible RVM problems) are rare but have happened to me.

A much more common situation I've run into is a cascade of error messages 
when I tried to transfer my project to another development environment or 
when I tried to deploy my project.

In the case of Ruby gems, I've had times when I thought I was finished with 
my gem development, only to find I was missing one last critical step when 
I tried to use my gem in another gem or in a Rails app.  This is why I 
insist on having the ability to quickly reinstall RVM.  My Debian Stable 
Vagrant box allows me to do this in minutes.  It's not an option when using 
Ruby on Rails directly on the host OS.

For Rails projects, I've had times when my app worked in one development 
environment but didn't work when I tried to transfer my work to another 
development environment or when I tried to deploy it in production, and I'd 
get flooded with error messages.

My Vagrant base box gives me a known good reference setup that behaves 
exactly the same every time, even on bad hair days and even when the cosmic 
dice come up snake eyes.  For my Ruby gems, I now maintain a test_gem.sh 
script that does the setup and testing.  When I rebuild my Vagrant box and 
git clone my Ruby gem source code, I just run this script to verify that 
everything works as expected.  For my Rails apps, I now maintain a 
test_app.sh script that does the setup and testing.  When I rebuild my 
Vagrant box and git clone my Rails app source code, I just run this script 
to verify that everything works as expected.

Using Ruby on Rails directly installed on the host OS doesn't give me the 
ability to reinstall Ruby on Rails in a reasonable amount of time.  When it 
comes to picking my primary development environment, this is a dealbreaker 
for me.  The only reason I'd bother installing Ruby on Rails directly on 
the host OS is to have the ability to address complaints that my code 
doesn't work in OS X or Windows.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/fb2b103d-cfe0-43a3-9f9c-cb0159b19215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to