readme.md in vos-0.3.1 vs readme.md in vos-0.3.2
- old
+ new
@@ -8,19 +8,24 @@
- local os
- remote os (over ssh)
## Installation
- $ gem install vos
+```bash
+$ 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
+```ruby
+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][vfs] project.
Or checkout configuration I use to control my production servers [My Cluster][my_cluster] in conjunction with small
configuration tool [Cluster Management][cluster_management].
\ No newline at end of file