Portable Ruby on Rails environment

2019-01-15 10:05发布

问题:

I got myself a new 8 gig USB key and I'm looking for a decent solution to have a portable RoR environment to learn on. I did the google on it and found a few possibilities, but I'm curious to hear some real life experiences and opinions. Thanks!

回答1:

I like InstantRails, very easy to use, no installer, and does not modify your system environment.



回答2:

InstantRails was replaced by [BitNami RubyStack] in 2007.

http://bitnami.org/stack/rubystack



回答3:

How to create a portable environment based on RubyInstaller's binaries and Development kit:

http://hcettech.blogspot.pt/2012/05/windows-portable-rails-development.html

Related: Portable Ruby on Rails environment for Windows



回答4:

Setting up a portable install of Cygwin would be a good choice.

You'll have a full *nix environment which would give you endless possibilities. You could easily have Ruby, Rails, Mongrel (or whatever server of choice) as well as a really good editor at your disposal as well. I would recommend VIM with this Rails specific VIM configuration (fantastic looks and feel!).

I currently have a similar setup running Cygwin off a jump drive. I use it mostly for the bash shell, VIM, and using tail to monitor development log files with its nicely color coded syntax.



回答5:

I found this, and I intend to give it a go this evening: Flash Rails



回答6:

Assuming you're on Windows, I'd go for Instant Rails and Netbeans (with a JVM for Netbeans).

Netbeans is a bit heavy-weight, but it supports lots of nice rails focused IDE features and is the best IDE for Rails on Windows IMO.

You'll get all of that on a lot less than 1 gig.