Commit a6d58fc2
Changed files (3)
capfile
@@ -0,0 +1,13 @@
+role :web, "cakeside.com"
+
+task :search_libs, :roles => :web do
+ run "ls -x1 /usr/lib | grep -i xml"
+end
+
+task :count_libs, :roles => :web do
+ run "ls -x1 /usr/lib | wc -l"
+end
+
+task :show_free_space, :roles => :web do
+ run "df -h /"
+end
Gemfile
@@ -24,7 +24,7 @@ gem 'kaminari'
# gem 'unicorn'
# Deploy with Capistrano
-# gem 'capistrano'
+gem 'capistrano'
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
Gemfile.lock
@@ -33,6 +33,12 @@ GEM
arel (2.0.10)
bcrypt-ruby (2.1.4)
builder (2.1.2)
+ capistrano (2.6.0)
+ highline
+ net-scp (>= 1.0.0)
+ net-sftp (>= 2.0.0)
+ net-ssh (>= 2.0.14)
+ net-ssh-gateway (>= 1.1.0)
carrierwave (0.5.4)
activesupport (~> 3.0)
configuration (1.3.1)
@@ -63,6 +69,7 @@ GEM
launchy (>= 0.3.2)
rest-client (~> 1.6.1)
term-ansicolor (~> 1.0.5)
+ highline (1.6.2)
i18n (0.5.0)
jquery-rails (1.0.12)
railties (~> 3.0)
@@ -85,7 +92,11 @@ GEM
net-ldap (0.2.2)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
+ net-sftp (2.0.5)
+ net-ssh (>= 2.0.9)
net-ssh (2.1.4)
+ net-ssh-gateway (1.1.0)
+ net-ssh (>= 1.99.1)
nokogiri (1.4.6)
oa-basic (0.2.6)
oa-core (= 0.2.6)
@@ -198,6 +209,7 @@ PLATFORMS
DEPENDENCIES
RedCloth (>= 4.1.1)
bcrypt-ruby
+ capistrano
carrierwave
devise
fog