Hello,

I have been learning Rails for several weeks now. I am working through 
Michael Hartl's tutorial and other various things. My question is basically 
regarding what type of environment to do my development in. First, some 
background:

I have used different linux distros on and off throughout the years, so it 
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 to 
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 powertop, 
thinkfan etc), I was able to increase that marginally.

Then, I had someone recommend that I use win7 as my host OS, and then use a 
VM for rails development. While doing some research, I came across Vagrant. 
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 is 
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 it 
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 - and 
work out of the shared directory while just performing tests inside of the 
VM?

I use Guard / Spork on my desktop - how do I set this up within Vagrant? I 
have read that some people have issues with it.

Am I going to run into any problems down the line running windows as my OS 
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 back 
to learning more rails!

Thanks everyone,
Michael

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/Vs2Tso15ZBwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to