bundler


Ⅰ. 插件描述

Bundler standalone Vim plugin taken from my contribution to the Rails Vim plugin

Ⅱ. 基本信息

创建日期:  2010-08-08
使用用户:  6
Github星:  5
插件作者:  Susan Potter

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'mbbx6spp/bundler'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'mbbx6spp/bundler'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'mbbx6spp/bundler'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/mbbx6spp/vim-bundler

Ⅳ. 文档说明

Ruby Bundler is a RubyGem that is used for Rails 3+ and other Ruby projects to check dependencies of RubyGems for the project.

To use you can do the following:

  • :cd to a project with a Gemfile located at the root.
  • Open Gemfile
  • In Ex-command mode type <tt>:Bundle check</tt>
  • This will check your Gemfile dependencies are satisfied.  If there are RubyGem requirements specified in your Gemfile that are not satisfied the plugin will open up a quickfix window and for each error open up the Gemfile at the requirement that fails using quickfix keybindings.

Full featured quickfix support for other Bundler subcommands coming soon.  You can clone the Git repository on GitHub from here:
http://github.com/mbbx6spp/vim-bundler

添加新评论