This file contains hidden or 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
namespace :boot2docker do | |
desc 'Start VM from any states' | |
task :start do | |
%x(boot2docker start > /dev/null 2>&1) | |
end | |
desc 'Setup shell' | |
task :shellinit => [:start] do | |
# NOTE: this does not set the env, so we have to do something different | |
# %x($(boot2docker shellinit > /dev/null 2>&1)) |