Module: CommonMob::ShellHelper

Defined in:
lib/common_mob/shell.rb

Instance Method Summary collapse

Instance Method Details

#bundler_sh(*args, &blk) ⇒ Object

call ruby, or a ruby command with the environment cleaned of bundler spooge



15
16
17
18
# File 'lib/common_mob/shell.rb', line 15

def bundler_sh(*args,&blk)
  args.options.without_cleaning_bundler = true
  CommonMob::Shell.new(*args,&blk)
end

#sh(*args, &blk) ⇒ Object



10
11
12
# File 'lib/common_mob/shell.rb', line 10

def sh(*args,&blk)
  CommonMob::Shell.new(*args,&blk)
end