module Rails::Sh::Bundler

Public Class Methods

_invoke(line) click to toggle source
# File lib/rails/sh/bundler.rb, line 7
def _invoke(line)
  line ||= 'install'
  command, *args = line.split(/\s+/)
  ARGV.clear
  ARGV.concat args
  require 'bundler/cli'
  ::Bundler::CLI.new.send(command.to_sym)
end
sub_commands() click to toggle source
# File lib/rails/sh/bundler.rb, line 16
def sub_commands
  %w(exec install update open package config check list show console open viz init gem)
end