0

I have a virtual Debian host with about 256MB RAM running a little Rails application that won't need more. As Ruby 2.0 is coming along, it should be upgraded in the near future. The last time I upgraded Ruby, I had to stop the app and expand the swap partition to build it successfully, which took almost a day to complete.

Has anyone here have a tip or a good way how to put new Rubies on production machines without troubling a Rails application running on it?

I thought of setting up a virtual machine locally and then copying over the built Ruby, or nice the build process, but this would then maybe result in an ETA of ~2 days on such a little machine.

Greg
  • 167
  • 4
pdu
  • 177
  • 15

1 Answers1

2

Obviously, you can build on another machine and copy over the binaries.
Or, you can use Ruby provided by Debian, so you don't have to rebuild when updating.

Greg
  • 167
  • 4
Sandor Marton
  • 1,564
  • 9
  • 12