Skip to content

Instantly share code, notes, and snippets.

@ryanartecona
Created October 12, 2016 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanartecona/3d7677aa8b0c7af3b4f5e8d192280deb to your computer and use it in GitHub Desktop.
Save ryanartecona/3d7677aa8b0c7af3b4f5e8d192280deb to your computer and use it in GitHub Desktop.
> result/embedded/bin/ruby --debug result/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/pre-rubygems.rb --help
Exception `LoadError' at /nix/store/1wmp1mbsxwlkyipjmyvw1lzca7wz4fhv-ruby-2.2.5/lib/ruby/site_ruby/2.2.0/rubygems.rb:1344 - cannot load such file -- rubygems/defaults/operating_system
Exception `LoadError' at /nix/store/1wmp1mbsxwlkyipjmyvw1lzca7wz4fhv-ruby-2.2.5/lib/ruby/site_ruby/2.2.0/rubygems.rb:1353 - cannot load such file -- rubygems/defaults/ruby
Exception `LoadError' at /nix/store/1wmp1mbsxwlkyipjmyvw1lzca7wz4fhv-ruby-2.2.5/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55 - cannot load such file -- bundler
Ignoring binding_of_caller-0.7.2 because its extensions are not built. Try: gem pristine binding_of_caller --version 0.7.2
Exception `LoadError' at /nix/store/1wmp1mbsxwlkyipjmyvw1lzca7wz4fhv-ruby-2.2.5/lib/ruby/2.2.0/resolv.rb:168 - LoadError
Using Ext extension for JSON.
/nix/store/hpyq4ir3gx8krr6pnmdxjnd293w2fvxk-vagrant-1.8.6/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/bundler.rb:25: warning: instance variable @enabled not initialized
Usage: vagrant [options] <command> [<args>]
-v, --version Print the version and exit.
-h, --help Print this help.
Common commands:
box manages boxes: installation, removal, etc.
connect connect to a remotely shared Vagrant environment
destroy stops and deletes all traces of the vagrant machine
global-status outputs status Vagrant environments for this user
halt stops the vagrant machine
help shows the help for a subcommand
hostmanager plugin: vagrant-hostmanager: manages the /etc/hosts file within a multi-machine environment
hosts Information about hostnames managed by the vagrant-hosts plugin
init initializes a new Vagrant environment by creating a Vagrantfile
login log in to HashiCorp's Atlas
package packages a running vagrant environment into a box
plugin manages plugins: install, uninstall, update, etc.
port displays information about guest port mappings
powershell connects to machine via powershell remoting
provision provisions the vagrant machine
push deploys code in this environment to a configured destination
rdp connects to machine via RDP
reload restarts vagrant machine, loads new Vagrantfile configuration
resume resume a suspended vagrant machine
share share your Vagrant environment with anyone in the world
snapshot manages snapshots: saving, restoring, etc.
ssh connects to machine via SSH
ssh-config outputs OpenSSH valid configuration to connect to the machine
status outputs status of the vagrant machine
suspend suspends the machine
up starts and provisions the vagrant environment
version prints current and latest Vagrant version
For help on any individual command run `vagrant COMMAND -h`
Additional subcommands are available, but are either more advanced
or not commonly used. To see all subcommands, run the command
`vagrant list-commands`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment