Plugin Development Setup

17 views
Skip to first unread message

big...@gmail.com

unread,
Aug 17, 2015, 8:04:47 PM8/17/15
to Vagrant
Hi,

I am trying to develop a plugin according to this guide, I create the gem directory structure along with the Gemfile and files for my plugin, when I run:

bundle exec vagrant <command>

vagrant shows the help content.
For the demonstration purpose, I clone this example project https://github.com/noppanit/vagrant-ls
(I use MacOS-X)


rvm use ruby-2.2.2
gem install bundler
-v 1.10.5
rm
-rf ~/.vagrant.d
brew cask uninstall vagrant
brew cask install vagrant
vagrant --version
  Vagrant 1.7.4

git clone https:/
/github.com/noppanit/vagrant-ls.git
cd vagrant
-ls
bundle
exec vagrant ls

Usage: vagrant [options] <command> [<args>]
...


What did I miss here ? 

Thanks !

big...@gmail.com

unread,
Aug 18, 2015, 10:57:48 AM8/18/15
to Vagrant
I just omitted running 
bundle
command.
it works now.
Reply all
Reply to author
Forward
0 new messages