ruby on rails - Warning regarding not using bundler when running guard init -
in rails app getting warning when running guard init rspec
:
warning: have gemfile, you're not using bundler or rubygems_gemdeps 14:54:15 - info - writing new guardfile /home/ubuntu/railsprojects/sillyfish/guardfile 14:54:16 - info - rspec guard added guardfile, feel free edit
i don't understand why it's showing. okay ignore warning?
here gemfile:
source 'https://rubygems.org' gem 'rails', '4.2.4' gem 'pg' gem 'sass-rails', '~> 5.0' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.1.0' gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 2.0' gem 'sdoc', '~> 0.4.0', group: :doc group :development, :test gem 'rspec-rails', '3.3.3' gem 'guard-rspec', require: false gem 'spring-commands-rspec' gem 'byebug' end group :development gem 'web-console', '~> 2.0' gem 'spring' end group :test gem 'capybara', '2.5.0' end #custom gems gem 'puma' gem 'bootstrap-sass', '~> 3.3.5' gem 'devise', '~> 3.5.2'
if run guard init rspec
, use globally installed guard-rails
. run 1 installed through gemfile, use bundle exec guard init rspec
. recommended in the documentation.
from readme:
it's important run guard through bundler avoid errors.
so it's best take warning seriously, avoid issues down line.
Comments
Post a Comment