Author Topic: Some sort of Virtual Programming Environment  (Read 5455 times)

0 Members and 1 Guest are viewing this topic.

Offline Arexxk

  • Thread Starter
  • Posts: 48
  • Algebraic!
    • Blog mehs
Some sort of Virtual Programming Environment
« on: Tue, 24 January 2012, 18:13:27 »
I work with ruby and rails and hate constantly setting up rails on a local machine and having to go through the trouble of configuring it. I've literally spent more time setting up Rails, Rails revision tracking software, Git, and Heroku than I ever had actually coding with ruby on rails. Has anyone heard of some sort of virtual environment that has everything already set up, so all I have to do is access the virtual environment and start coding?
PBC Poker 40% Cherry MX Blues - Stolen in the stupid CS labs
HHKB Pro 2 Topre OBV - Still kickin

Offline metafour

  • Posts: 667
  • Location: Los Angeles
Some sort of Virtual Programming Environment
« Reply #1 on: Tue, 24 January 2012, 18:17:19 »
Vagrant might be what you're looking for. Vagrantup.com. It's essentially a scripting front-end to VirtualBox. You could also do a base install and then snapshot with either VMware or VirtualBox I believe.

What I normally do is use a cloud instance on Rackspace. Setup a base install and take a backup of it. I can then create new server instances from that backup.

Offline Arexxk

  • Thread Starter
  • Posts: 48
  • Algebraic!
    • Blog mehs
Some sort of Virtual Programming Environment
« Reply #2 on: Tue, 24 January 2012, 18:36:16 »
It seem like I still have to set up a development environment within the VM. What makes this any different than installing a barebones Linux OS in VMware, setting up a dev environment within that, and backing up that image? I was sort of looking for a Virtual Environment that was already set up to handle rails, java, etc. with all those testing modules pre-installed. For some reason I always have issues configuring modules like RubyGems.
PBC Poker 40% Cherry MX Blues - Stolen in the stupid CS labs
HHKB Pro 2 Topre OBV - Still kickin

Offline metafour

  • Posts: 667
  • Location: Los Angeles
Some sort of Virtual Programming Environment
« Reply #3 on: Tue, 24 January 2012, 18:51:07 »
Some of the vagrant stuff might already have a dev environment setup. There's two ways to script it one uses cookbooks and there may be cookbooks setup that have what you need. But yeah these are all virtual machine solutions which is what I prefer because you can exactly mirror your production environment.

Offline keyboardlover

  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Some sort of Virtual Programming Environment
« Reply #4 on: Tue, 24 January 2012, 20:26:43 »
If you can afford it, easiest thing might be to just find a good/cheap ruby on rails host. I don't have experience with one, but is it possible that they have rails setup software (something through cpanel) that installs your modules for you? Years ago I had a Java EE host that had that kind of setup.

That way you could easily set it up however you want and access it anywhere.

Offline hashbaz

  • Grand Ancient One
  • * Moderator Emeritus
  • Posts: 5057
  • Location: SF Bae Area
Some sort of Virtual Programming Environment
« Reply #5 on: Tue, 24 January 2012, 22:00:28 »
I don't know much of anything about this, but it looks interesting and along the lines of what you're describing:

http://kodingen.com

Offline metafour

  • Posts: 667
  • Location: Los Angeles
Some sort of Virtual Programming Environment
« Reply #6 on: Tue, 24 January 2012, 22:08:40 »
Quote from: hashbaz;498170
I don't know much of anything about this, but it looks interesting and along the lines of what you're describing:

http://kodingen.com

Their site doesn't respond well to the iPad. Doesn't scroll at all.

Offline Wildcard

  • * Esteemed Elder
  • Posts: 1046
  • Location: Fields of Columbia
  • When caffeine isn't enough
Some sort of Virtual Programming Environment
« Reply #7 on: Tue, 24 January 2012, 23:31:13 »
You could download a free pre built image from VMware. I can almost guarantee someone already has an image of some OS created for this purpose. Once you have a good base image you can export it and use it on different computers. Plus you can use shared online storage from within the guest OS, and retain snapshots in VMware.
« Last Edit: Tue, 24 January 2012, 23:35:19 by RiffRaff »

Offline Wildcard

  • * Esteemed Elder
  • Posts: 1046
  • Location: Fields of Columbia
  • When caffeine isn't enough
Some sort of Virtual Programming Environment
« Reply #8 on: Tue, 24 January 2012, 23:33:10 »

Offline flyball

  • Posts: 258
Some sort of Virtual Programming Environment
« Reply #9 on: Wed, 25 January 2012, 00:10:08 »
there's rvm but it just sounds like you need to learn how to use whatever package manager/installers your os has. you have to constantly install ruby on one machine? i dont get it.
[SIGPIC][/SIGPIC]

Offline Wildcard

  • * Esteemed Elder
  • Posts: 1046
  • Location: Fields of Columbia
  • When caffeine isn't enough
Some sort of Virtual Programming Environment
« Reply #10 on: Wed, 25 January 2012, 00:21:19 »
Quote from: flyball;498350
there's rvm but it just sounds like you need to learn how to use whatever package manager/installers your os has. you have to constantly install ruby on one machine? i dont get it.

Sounded like they wanted a vm they could move around between several local machines.

Offline Wildcard

  • * Esteemed Elder
  • Posts: 1046
  • Location: Fields of Columbia
  • When caffeine isn't enough
Some sort of Virtual Programming Environment
« Reply #11 on: Wed, 25 January 2012, 00:26:59 »
Quote from: metafour;498018
Some of the vagrant stuff might already have a dev environment setup. There's two ways to script it one uses cookbooks and there may be cookbooks setup that have what you need. But yeah these are all virtual machine solutions which is what I prefer because you can exactly mirror your production environment.

Check this for example http://www.vmware.com/appliances/directory/cat/0?k=Ruby+on+rails&c=0

Part way down there is a "rails appliance" for development, based in ubuntu, free to download

Offline cheebs

  • Posts: 83
Some sort of Virtual Programming Environment
« Reply #12 on: Wed, 25 January 2012, 10:03:08 »
Quote from: flyball;498350
there's rvm but it just sounds like you need to learn how to use whatever package manager/installers your os has. you have to constantly install ruby on one machine? i dont get it.

Yes, I'm sure he's constantly installing ruby on the same machine, repeatedly, then posting his frustrations about doing so.  That sounds plausible.

OP : I would just do what others have said and build an image of some sort

Offline daerid

  • Posts: 4276
  • Location: Denver, CO
    • Rossipedia
Some sort of Virtual Programming Environment
« Reply #13 on: Wed, 25 January 2012, 21:54:52 »
Quote from: cheebs;498633
OP : I would just do what others have said and build an image of some sort

Why not just configure a live usb, and carry it around with you?

Offline Arexxk

  • Thread Starter
  • Posts: 48
  • Algebraic!
    • Blog mehs
Some sort of Virtual Programming Environment
« Reply #14 on: Fri, 27 January 2012, 03:29:09 »
Quote from: daerid;499231
Why not just configure a live usb, and carry it around with you?

This is a really cool idea. Im not sure if my school locks down their workstation BIOS, if not then this could work. I ve tried rvm, but it's a  hassle to work with as a beginning rails developer and gems doesnt really play well with OSX (rvm is a gem right?). I  just found railsinstaller, which actually prepackages everything you need to build a rails app and is going to work cross-platform. So, maybe a VM server + railsinstaller + dropbox? Imma try this out :P
PBC Poker 40% Cherry MX Blues - Stolen in the stupid CS labs
HHKB Pro 2 Topre OBV - Still kickin

Offline Arexxk

  • Thread Starter
  • Posts: 48
  • Algebraic!
    • Blog mehs
Some sort of Virtual Programming Environment
« Reply #15 on: Fri, 27 January 2012, 03:35:55 »
Quote from: hashbaz;498170
I don't know much of anything about this, but it looks interesting and along the lines of what you're describing:

http://kodingen.com

This is wayy cool.
PBC Poker 40% Cherry MX Blues - Stolen in the stupid CS labs
HHKB Pro 2 Topre OBV - Still kickin

Offline kidchunks

  • Posts: 496
Some sort of Virtual Programming Environment
« Reply #16 on: Tue, 07 February 2012, 19:24:26 »
I heard http://railsplayground.com/ is a good host.
Topre || BS > *
my root : kidchunks[dot]com