Skip to content

Instantly share code, notes, and snippets.

@davidcpell
davidcpell / kitchen_diagnose_output
Created July 28, 2016 13:35
output of running 'kitchen diagnose --all'
➜ cic-zabbix-agent git:(feature_CIC-371) ✗ kitchen diagnose --all
---
timestamp: 2016-07-28 13:34:40 UTC
kitchen_version: 1.10.2
plugins:
error:
exception: "#<Kitchen::ClientError: Could not load the 'inspec' verifier from
the load path. Please ensure that your transport is installed as a gem or included
in your Gemfile if using Bundler.>"
message: Could not load the 'inspec' verifier from the load path. Please ensure
@davidcpell
davidcpell / kitchen_output
Created July 28, 2016 13:34
output of test kitchen command, failing due to not finding zabbix
➜ cic-zabbix-agent git:(feature_CIC-371) ✗ kitchen test default-ubuntu-1404 -l debug
-----> Starting Kitchen (v1.10.2)
D [Vagrant command] BEGIN (vagrant --version)
D [Vagrant command] END (0m0.46s)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ClientError
>>>>>> Message: Could not load the 'inspec' verifier from the load path. Please ensure that your transport is installed as a gem or included in your Gemfile if using Bundler.
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
@davidcpell
davidcpell / osx_ubuntu_system_returns.txt
Created July 20, 2016 19:12
osx/ubuntu Kernel#system
fail "Can't create cartridge: missing 'cartridge' utility" unless system("hash cartridge") # offending code
### UBUNTU COMMAND LINE
$ hash cartridge
$ echo $?
0
### UBUNTU IRB
system("hash cartridge")
=> nil
Worker information
hostname: travis-worker-gce-org-prod-3:e4fa5069-3780-4799-b3ba-77077d133e72
version: v2.0.0-24-g8f5b41a https://github.com/travis-ci/worker/tree/8f5b41a07b602643e7ee8cf307787f9ca8f4b00b
instance: testing-gce-7462925e-9c94-471c-85ff-967f1e3f7083:travis-ci-ruby-precise-1450195856
startup: 1m13.920356636s
system_info
Build system information
Build language: ruby
Build group: stable
Build dist: precise
# app/services/flight_stats.rb
module FlightStats
# ...
end
# app/services/flight_stats/request.rb
module FlightStats
class Request
# ...
end