Virtual Operating System
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib upd docs Sep 9, 2011
spec fix Sep 8, 2011
Rakefile tmp Dec 1, 2011

Vos - Virtual Operating System

Small abstraction over Operating System, mainly it should be used in conjunction with Virtual File System tool. Kind of Capistrano but without extra stuff and more universal, not forcing You to follow 'The Rails Way'.

Currently, there are following implementations available:

  • local os
  • remote os (over ssh)


$ gem install vos

Code samples:

gem 'vos'                                         # Virtual Operating System
require 'vos'

server ='')                  # it will use id_rsa, or You can add {user: 'me', password: 'secret'}

server.bash 'ls'                                  # ls /
server['apps/cool_app'].bash 'rails production'   # cd /apps/cool_app && rails production

For more details look also to Virtual File System project. Or checkout configuration I use to control my production servers My Cluster in conjunction with small configuration tool Cluster Management.


Copyright (c) Alexey Petrushin, released under the MIT license.