I have been learning Rails for several weeks now. I am working through
Michael H.'s tutorial and other various things. My question is
regarding what type of environment to do my development in. First, some
I have used different linux distros on and off throughout the years, so
was easy and familiar for me to set up my desktop computer with Mint and
get rvm/rails etc installed and working correctly. No issues there.
However, I went out and bought a laptop this last weekend; I have never
installed any linux variant on a laptop, so when I did it was startling
find out how incredibly terrible the battery life / power management
functions were. I was getting ~2 hours of life just doing simple web
browsing. After spending an afternoon tweaking everything (using
thinkfan etc), I was able to increase that marginally.
Then, I had someone recommend that I use win7 as my host OS, and then
VM for rails development. While doing some research, I came across
I got it set up and installed using one of the boxes made for rails
development, however I have not started using it yet. I guess the idea
still quite fresh regarding workflow. If I was using a standard VM with
ubuntu or whatever, I would boot it up and do my work inside just as if
was the host OS. When it comes to Vagrant, I am a little more confused.
Am I supposed to start my headless vagrant box, start all my services /
rails server etc inside, but then have Sublime Text 2 on my host OS -
work out of the shared directory while just performing tests inside of
I use Guard / Spork on my desktop - how do I set this up within Vagrant?
have read that some people have issues with it.
Am I going to run into any problems down the line running windows as my
for coding / the VM for testing and server?
Well, I am rambling. This whole idea is just very fresh for me, so I am
just looking for any feedback possible. I want to get my development
environment set up as fast (but as stable) as possible, so I can get
to learning more rails!