Project

vos

0.02
No commit activity in last 3 years
No release in over 3 years
Virtual Operating System
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

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)

Installation

$ gem install vos

Code samples:

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

server = Box.new('cool_app.com')                  # 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.

License

Copyright (c) Alexey Petrushin http://petrush.in, released under the MIT license.