class Bixby::Provision::Meteor

Constants

EXPORTS

Public Instance Methods

install(opts={}) click to toggle source
# File lib/bixby/provision/dsl/meteor.rb, line 9
def install(opts={})
  if File.exists? "/usr/local/bin/meteor" then
    logger.info "meteor already installed; skipping"
    return
  end

  logger.info "[meteor] installing meteor"
  logged_systemu("curl -sL https://install.meteor.com | sh")
end
mrt(path, opts={}) click to toggle source

Run meteorite install

# File lib/bixby/provision/dsl/meteor.rb, line 20
def mrt(path, opts={})
  logger.info "[meteor] mrt install"
  logged_systemu("mrt install", :cwd => File.expand_path(path))
end