Somenone asked the same question about two years ago. The answer was InstantRails at that time. But InstantRails seems to be out of date.
Are there any other solutions?
Somenone asked the same question about two years ago. The answer was InstantRails at that time. But InstantRails seems to be out of date.
Are there any other solutions?
ENV_DIR
ENV_DIR\ruby
ENV_DIR\devkit
Create a script:
ENV_DIR\setpaths.bat
with the commands:Create a script:
ENV_DIR\console.bat
with the commands:Now you can now run the console.bat executable and have a console in which you can create and run Rails projects.
Source: http://hcettech.blogspot.pt/2012/05/windows-portable-rails-development.html
I just heard about an Instant Rails VM that Engineyard made using Vagrant-- it's an Ubuntu virtual box with rails all set up and ready to go. I haven't tried it yet though.
As much as I wish Rails ran better on Windows, giving up and using an Ubuntu VM may be the best thing for your purposes-- it would be very self contained.
Bitnami offers both native and virtual stacks for popular platforms, you might check these out.
This question is a bit old at this point in time but I stumbled upon it searching for a similar question today.
The current state of the art appears to be rubyinstaller.org Both Puppet and Chef are using this runtime on windows.
The runtime takes the form of an installation package, so it's not necessarily USB stick portable, but it does give you the option to install to various directories. You should be able to simply copy
C:\RubyXXX
to your USB stick, change your%PATH%
appropriately and run with it.Hope this information helps.