开发者

RSpec autotest and bundler

开发者 https://www.devze.com 2023-03-22 16:42 出处:网络
The RSpec documentation says that you should require \"autotest/bundler\" so that autotest will automtatically prepend bundle exec when you run it.Sounds nice, but I\'ve insta开发者_如何学编程ll autot

The RSpec documentation says that you should require "autotest/bundler" so that autotest will automtatically prepend bundle exec when you run it. Sounds nice, but I've insta开发者_如何学编程ll autotest version 4.4.5 and it does not come with a bundler plugin.

How do I get the bundler plugin?


You need to require autotest first, then the bundler plugin will load fine:

require 'autotest'
require 'autotest/bundler'

Tested just now with autotest-4.4.6.

(And you need bundler itself to be installed also):

gem install bundler
0

精彩评论

暂无评论...
验证码 换一张
取 消