This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cap deploy:start | |
triggering load callbacks | |
* executing `staging' | |
triggering start callbacks for `deploy:start' | |
* executing `multistage:ensure' | |
* executing `deploy:start' | |
Starting TorqueBox AS | |
* executing "nohup /usr/local/rvm/gems/jruby-1.6.7@global/gems/torquebox-server-2.0.0.cr1-java/jboss/bin/standalone.sh -b 0.0.0.0 < /dev/null > /dev/null 2>&1 &" | |
servers: ["domain"] | |
[domain] executing command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'torquebox-capistrano-support' | |
require 'bundler/capistrano' | |
$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path. | |
require "rvm/capistrano" # Load RVM's capistrano plugin. | |
set :rvm_ruby_string, 'jruby-1.6.7@myapp' | |
set :use_sudo, false | |
set :stages, %w(staging production) | |
set :default_stage, "production" | |
require 'capistrano/ext/multistage' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def thefunc | |
@this = "123" | |
end |
NewerOlder