Created
May 13, 2017 01:42
-
-
Save majormoses/b4cc44accb0e8ac264a3eef5023c39f3 to your computer and use it in GitHub Desktop.
Attempting to replicate install failure with sensu-plugins-memcached
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in the repo root we checkout latest released version | |
$ git checkout 0.0.3 | |
Note: checking out '0.0.3'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. | |
If you want to create a new branch to retain commits you create, you may | |
do so (now or later) by using -b with the checkout command again. Example: | |
git checkout -b <new-branch-name> | |
HEAD is now at 745e7bb... deploy | |
# locally set ruby version to 2.4.0 | |
$ rbenv local 2.4.0 | |
# verify ruby version | |
$ ruby --version | |
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux] | |
# install bundeler | |
$ gem install bundler | |
Fetching: bundler-1.14.6.gem (100%) | |
Successfully installed bundler-1.14.6 | |
Parsing documentation for bundler-1.14.6 | |
Installing ri documentation for bundler-1.14.6 | |
Done installing documentation for bundler after 3 seconds | |
1 gem installed | |
# grab the dependencies | |
$ bundle | |
Fetching gem metadata from https://rubygems.org/........ | |
Fetching version metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Installing rake 10.5.0 | |
Installing ast 2.3.0 | |
Using bundler 1.14.6 | |
Installing docile 1.1.5 | |
Installing json 2.1.0 with native extensions | |
Installing simplecov-html 0.10.0 | |
Installing coderay 1.1.1 | |
Installing diff-lcs 1.3 | |
Installing github-markup 1.6.0 | |
Installing memcached 1.8.0 with native extensions | |
Installing method_source 0.8.2 | |
Installing mixlib-cli 1.7.0 | |
Installing powerpack 0.1.1 | |
Installing slop 3.6.0 | |
Installing redcarpet 3.4.0 with native extensions | |
Installing rspec-support 3.6.0 | |
Installing ruby-progressbar 1.8.1 | |
Installing yard 0.9.9 | |
Installing rainbow 2.2.2 with native extensions | |
Installing parser 2.4.0.0 | |
Installing simplecov 0.14.1 | |
Installing sensu-plugin 1.2.0 | |
Installing pry 0.10.4 | |
Installing rspec-core 3.6.0 | |
Installing rspec-expectations 3.6.0 | |
Installing rspec-mocks 3.6.0 | |
Installing astrolabe 1.3.1 | |
Installing codeclimate-test-reporter 0.6.0 | |
Using sensu-plugins-memcached 0.0.3 from source at `.` | |
Installing rspec 3.6.0 | |
Installing rubocop 0.30.0 | |
Bundle complete! 10 Gemfile dependencies, 31 gems now installed. | |
Use `bundle show [gemname]` to see where a bundled gem is installed. | |
Post-install message from yard: | |
-------------------------------------------------------------------------------- | |
As of YARD v0.9.2: | |
RubyGems "--document=yri,yard" hooks are now supported. You can auto-configure | |
YARD to automatically build the yri index for installed gems by typing: | |
$ yard config --gem-install-yri | |
See `yard config --help` for more information on RubyGems install hooks. | |
You can also add the following to your .gemspec to have YARD document your gem | |
on install: | |
spec.metadata["yard.run"] = "yri" # use "yard" to build full HTML docs. | |
-------------------------------------------------------------------------------- | |
# removed the siugning key stuff from gemspec as its not used anymore | |
# verification | |
$ grep -n 'pvt_key' sensu-plugins-memcached.gemspec | |
12:# pvt_key = '~/.ssh/gem-private_key.pem' | |
35: # s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/ | |
# try building and installing it | |
$ bundle exec rake install | |
sensu-plugins-memcached 0.0.3 built to pkg/sensu-plugins-memcached-0.0.3.gem. | |
sensu-plugins-memcached (0.0.3) installed. | |
# verify it is installed | |
$ gem list | grep memcached | |
memcached (1.8.0) | |
sensu-plugins-memcached (0.0.3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment