-
-
Save duckinator/0e9088d0f24281170b6dfb1518514d39 to your computer and use it in GitHub Desktop.
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
.rubocop-bundler.yml:61: `Style/TrailingCommaInArguments` is concealed by line 93 | |
Running RuboCop... | |
Inspecting 103 files | |
....................................................................................................... | |
103 files inspected, no offenses detected | |
/usr/bin/ruby -I/home/pup/dev/ruby/bundler/gemstash/.bundle/gems/gems/rspec-core-3.8.0/lib:/home/pup/dev/ruby/bundler/gemstash/.bundle/gems/gems/rspec-support-3.8.0/lib /home/pup/dev/ruby/bundler/gemstash/.bundle/gems/gems/rspec-core-3.8.0/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --color | |
Run options: include {:focus=>true} | |
All examples were filtered out; ignoring {:focus=>true} | |
gemstash concurrency tests | |
storage | |
works with serial code | |
works with concurrent reads and writes | |
works with concurrent reads and writes with varying content (PENDING: this fails because of this scenario: thread-1 loads a resource and the corresponding properties file, then thread-2 writes the files for a resource, then thread-1 reads the files for the resource; this scenario is unimportant since the content in gemstash should be always consistent, though the extra work is a bit undesirable) | |
with large data | |
..........done building data works with concurrent reads and writes | |
Gemstash::Authorization | |
#remove | |
with an existing authoriation | |
removes the authorization | |
with a non-existent authorization | |
doesn't log the lack of removal | |
with an invalid authorization | |
raises an error | |
#authorize | |
with invalid permissions | |
raises an error | |
with 'all' permission along with other permissions | |
raises an error | |
invalid authorization key | |
raises an error | |
valid authorization key and permissions | |
inserts or updates the database | |
#check | |
with an invalid permission | |
raises an error | |
with an empty authorization | |
raises a Gemstash::NotAuthorizedError | |
with an invalid auth key | |
raises a Gemstash::NotAuthorizedError | |
with an auth key without permission | |
raises a Gemstash::NotAuthorizedError | |
with an auth key with permission | |
doesn't raise an error | |
with an auth key with all permissions | |
doesn't raise an error | |
#[] | |
an invalid authorization key | |
returns nil | |
a missing authorization key | |
returns nil | |
a valid authorization key | |
returns the specified auth | |
permissions | |
'all' permissions | |
has authorization to everything | |
a mix of permissions | |
has authorization for given auths | |
Gemstash::CLI::Authorize | |
authorizing with just the auth key | |
authorizes the key for all permissions | |
authorizing with the auth key and permissions | |
authorizes the key for just the given permissions | |
authorizing without specifying the key | |
outputs the new key and authorizes for all permissions | |
authorizing without specifying the key and with permissions | |
outputs the new key and authorizes for the given permissions | |
a random auth key coming up more than once | |
continues to generate a key until a unique one is generated | |
authorizing an existing auth key | |
updates the permissions | |
with the --remove option | |
removes the authorization | |
with invalid permissions | |
gives the user an error | |
with --remove option and permissions | |
gives the user an error | |
with --remove option and no --key | |
gives the user an error | |
Gemstash::CLI::Base | |
#check_gemstash_version | |
allows loading when stored metadata is the same version | |
allows loading when stored metadata is prerelease of the same version | |
blocks loading when this version is a prerelease of the stored metadata version | |
allows loading when stored metadata is older | |
allows loading when stored metadata is prerelease of an older version | |
blocks loading when stored metadata is newer | |
blocks loading when stored metadata is prerelease of a newer version | |
#store_config | |
fails if the config file doesn't exist | |
fails if the config file is specified as empty | |
Gemstash::CLI::Setup | |
accepting all defaults | |
saves the config with defaults | |
with a storage that already indicates a newer version of gemstash | |
errors immediately | |
with invalid cache setup | |
errors when checking the cache | |
with invalid database setup | |
errors when checking the cache | |
CLI executable | |
should have output: /Gemstash version \d\.\d\.\d/ | |
Gemstash::Configuration | |
no config file | |
loads the default config | |
erb config file | |
interprets the erb, loads yaml and merges with defaults | |
plain yaml config file | |
merges the yaml config with defaults | |
empty yaml config file | |
loads the default config | |
Gemstash::Dependencies | |
.fetch | |
one gem | |
finds the gem | |
multiple gems | |
finds the gems | |
some missing gems | |
finds the available gems | |
multiple similar requests | |
caches the results | |
with private gem requests | |
finds the available gems | |
with multiple private gem requests | |
finds the available gems | |
Gemstash::Env | |
.log_file | |
has a default log file path | |
supports a customized log file path | |
supports :stdout from config to obtain standard out | |
with a base path other than default | |
blocks access if it is not writable | |
defaults the log file to server.log | |
can override the default log file location | |
Gemstash::GemPusher | |
.serve | |
without authorization | |
prevents pushing | |
with invalid authorization | |
prevents pushing | |
with invalid permission | |
prevents pushing | |
with an unknown gem name | |
saves the dependency info and stores the gem | |
stores the gemspec | |
with a non-ruby platform | |
saves the dependency info and stores the gem | |
stores the gemspec | |
with an exsiting gem name | |
saves the new version dependency info and stores the gem | |
stores the gemspec | |
with a yanked version | |
rejects the push | |
with an existing version | |
rejects the push and does not change the file content | |
does not overwrite the gem content | |
Gemstash::GemSource | |
using private gem source | |
sets the source to PrivateSource and rewrites the path | |
using a custom upstream | |
sets the source to UpstreamSource and rewrites the path | |
using an upstream defined in a header | |
sets the source to RubygemsSource | |
using the default upstream | |
sets the source to RubygemsSource | |
Gemstash::GemYanker | |
.serve | |
without authorization | |
prevents yanking | |
with invalid authorization | |
prevents yanking | |
with invalid permission | |
prevents yanking | |
with an unknown gem name | |
rejects the yank | |
with an unknown gem version | |
rejects the yank | |
with a yanked gem version | |
rejects the yank | |
with an existing gem version | |
yanks the gem | |
with an implicit platform | |
yanks the gem | |
with an existing gem version with other versions | |
yanks just the specified gem version | |
with an existing gem version with other platforms | |
yanks just the specified gem version | |
with an existing gem version and explicit platform with other platforms | |
yanks just the specified gem version | |
Gemstash::HTTPClient | |
[2019-03-29 21:46:01] INFO WEBrick 1.4.2 | |
[2019-03-29 21:46:01] INFO ruby 2.5.3 (2018-10-18) [x86_64-linux] | |
[2019-03-29 21:46:01] INFO WEBrick 1.4.2 | |
[2019-03-29 21:46:01] INFO ruby 2.5.3 (2018-10-18) [x86_64-linux] | |
[2019-03-29 21:46:01] INFO WEBrick::HTTPServer#start: pid=22149 port=10001 | |
[2019-03-29 21:46:01] INFO WEBrick::HTTPServer#start: pid=22149 port=10002 | |
.get | |
with a valid url | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /simple_fetch HTTP/1.1" 200 20 | |
returns the body of the result | |
- -> /simple_fetch | |
with an upstream that includes a path | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /nested/fetch HTTP/1.1" 200 20 | |
returns the body of the result | |
- -> /nested/fetch | |
with a valid redirect | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /redirect HTTP/1.1" 302 56 | |
- -> /redirect | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /simple_fetch HTTP/1.1" 200 20 | |
- -> /simple_fetch | |
returns the body of the result after the redirect | |
with a redirect to a different server | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /other_redirect HTTP/1.1" 302 92 | |
- -> /other_redirect | |
127.0.0.1 - - [29/Mar/2019:21:46:01 EDT] "GET /redirect HTTP/1.1" 302 100 | |
- -> /redirect | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /simple_fetch HTTP/1.1" 200 20 | |
returns the body of the result after the redirects | |
- -> /simple_fetch | |
with a url that returns a 500 | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /error HTTP/1.1" 500 12 | |
throws an error | |
- -> /error | |
with a url that returns a 404 | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /missing HTTP/1.1" 404 13 | |
throws an error | |
with a stubbed faraday client | |
- -> /missing | |
with a client that specifies a user agent | |
forwards the user agent to the remote server | |
with a simple client | |
forwards the default user agent to the remote server | |
handles a connection failed error correctly | |
retries 3 times on connection error | |
with a block to store the headers | |
throws an error | |
with a slow server | |
[2019-03-29 21:46:01] INFO WEBrick 1.4.2 | |
[2019-03-29 21:46:01] INFO ruby 2.5.3 (2018-10-18) [x86_64-linux] | |
[2019-03-29 21:46:01] INFO WEBrick::HTTPServer#start: pid=22149 port=10003 | |
times out with a small fetch_timeout value | |
[2019-03-29 21:46:02] INFO going to shutdown ... | |
[2019-03-29 21:46:02] INFO WEBrick 1.4.2 | |
[2019-03-29 21:46:02] INFO ruby 2.5.3 (2018-10-18) [x86_64-linux] | |
[2019-03-29 21:46:02] INFO WEBrick::HTTPServer#start: pid=22149 port=10004 | |
::1 - - [29/Mar/2019:21:46:01 EDT] "GET /slow_fetch HTTP/1.1" 200 0 | |
- -> /slow_fetch | |
[2019-03-29 21:46:02] INFO WEBrick::HTTPServer#start done. | |
::1 - - [29/Mar/2019:21:46:02 EDT] "GET /slow_fetch HTTP/1.1" 200 2 | |
does not timeout out with a larger fetch_timeout value | |
- -> /slow_fetch | |
Gemstash::Logging | |
[2019-03-29 21:46:02] INFO going to shutdown ... | |
[2019-03-29 21:46:02] INFO going to shutdown ... | |
[2019-03-29 21:46:02] INFO going to shutdown ... | |
[2019-03-29 21:46:02] INFO WEBrick::HTTPServer#start done. | |
[2019-03-29 21:46:02] INFO WEBrick::HTTPServer#start done. | |
[2019-03-29 21:46:02] INFO WEBrick::HTTPServer#start done. | |
builds a logger in the right place | |
can write using the formatted logger | |
won't add multiple lines when logging with newlines | |
Gemstash::Logging::StreamLogger | |
responds to flush | |
response to sync= | |
logs with write | |
logs with puts | |
logs with the level provided | |
Gemstash::RackEnvRewriter | |
with just a prefix to drop | |
rewrites the URI | |
doesn't do anything if there is no match | |
with a parameter to extract | |
captures the parameter and rewrites the URI | |
doesn't do anything if there is no match | |
Gemstash::SpecsBuilder | |
with no private gems | |
returns an empty result | |
returns an empty latest result | |
returns an empty prerelease result | |
with some private gems | |
marshals and gzips the versions | |
marshals and gzips the latest versions | |
returns an empty prerelease result | |
with some prerelease gems | |
returns an empty result | |
returns an empty latest result | |
marshals and gzips the prerelease versions | |
with some private and prerelease gems | |
marshals and gzips the versions | |
marshals and gzips the latest versions | |
marshals and gzips the prerelease versions | |
with some yanked gems | |
marshals and gzips the versions | |
marshals and gzips the latest versions | |
marshals and gzips the prerelease versions | |
with a new spec pushed | |
busts the cache | |
busts the latest cache | |
with a new prerelease spec pushed | |
busts the cache | |
with a spec yanked | |
busts the cache | |
busts the latest cache | |
with a prerelease spec yanked | |
busts the cache | |
with protected fetch disabled | |
serves specs without authorization | |
with protected fetch enabled | |
with valid authorization | |
serves specs | |
with invalid authorization | |
prevents serving specs | |
with invalid permission | |
prevents serving specs | |
Gemstash::Storage | |
builds with a valid folder | |
builds the path if it does not exists | |
stores metadata about Gemstash and the storage engine version | |
prevents using storage engine if the storage version is too new | |
with a valid storage | |
can create a child storage from itself | |
returns a non existing resource when requested | |
auto sets gemstash version property, even when properties not saved | |
won't update gemstash version when already stored | |
won't load a resource that is at a larger version than our current version | |
with a simple resource | |
can be saved | |
can be read afterwards | |
can also save properties | |
can save nested properties | |
with a previously stored resource | |
loads the content from disk | |
can have properties updated | |
can merge nested properties | |
can be deleted | |
storing multiple files in one resource | |
can be done in 1 save | |
can be done in 2 saves | |
can be done in 2 saves with separate properties defined | |
can be done in 2 saves with nil properties defined on second | |
can be done in 2 saves with separate properties defined from separate resource instances | |
supports 1 file being deleted | |
supports both files being deleted | |
with resource name that is unique by case only | |
stores the content separately | |
uses different downcased paths to avoid issues with case insensitive file systems | |
with resource name that includes odd characters | |
stores and retrieves the data | |
doesn't include the odd characters in the path | |
#property? | |
with a single key | |
returns true for a valid key | |
returns true for a key pointing to explicit nil | |
returns true for a key pointing to a nested hash | |
returns false if the resource doesn't exist | |
returns false for a missing key | |
with nested keys | |
returns true for a valid set of keys | |
returns true for a set of keys pointing to explicit nil | |
returns true for a set of keys pointing to a nested hash | |
returns false if the resource doesn't exist | |
returns false for a missing leaf key | |
returns false for a missing parent key | |
returns false if a key hits a non-hash | |
Gemstash::Upstream | |
parses an escaped uri | |
parses a clear uri | |
supports url auth in the uri | |
distinguishes between ports, auths, and paths | |
supports building urls with parameters | |
fails if the uri is not valid | |
has a nil user agent if not provided | |
supports getting user agent | |
.url | |
with nothing provided | |
returns the server url | |
with just a query string provided | |
returns the url | |
with just a path provided | |
returns the url | |
with just a path and query string provided | |
returns the url | |
Gemstash::Upstream::GemName | |
With a simple upstream | |
resolves to the gem name | |
removes the trailing .gem from the name | |
removes the trailing .gemspec.rz from the name | |
Gemstash::Web | |
GET / | |
redirects to rubygems.org | |
GET /versions | |
with https://rubygems.org upstream | |
redirects to https://index.rubygems.org | |
with a non https://rubygems.org upstream | |
redirects to the same upstream | |
GET /info/* | |
with https://rubygems.org upstream | |
redirects to https://index.rubygems.org | |
with a non https://rubygems.org upstream | |
redirects to the same upstream | |
GET /api/v1/dependencies | |
there are no gems | |
returns an empty string | |
there are gems | |
returns a marshal dump | |
there are too many gems | |
returns a 422 | |
GET /api/v1/dependencies.json | |
there are no gems | |
returns an empty string | |
there are gems | |
returns a marshal dump | |
there are too many gems | |
returns a 422 | |
GET /gems/:id | |
from the default upstream | |
fetches the gem file, stores, and serves it | |
keeps the upstream and full gem name in the properties | |
keeps headers for specs that have been previously fetched | |
indexes the cached gem | |
indexes specs of different versions separately | |
can be called multiple times without error | |
can be called after the gem has been deleted | |
from private gems | |
with a missing gem | |
halts with 404 | |
with a regular gem | |
fetches the gem contents | |
with a yanked gem | |
halts with 403 | |
GET /quick/Marshal.4.8/:id | |
from the default upstream | |
fetches the marshalled gemspec, stores, and serves it | |
keeps the upstream and full gem name in the properties | |
keeps headers for gems that have been previously fetched | |
indexes the cached spec | |
indexes specs of different versions separately | |
can be called multiple times without error | |
can be called after the spec has been deleted | |
from private gems | |
with a missing gem | |
halts with 404 | |
with a regular gem | |
fetches the spec contents | |
with a yanked gem | |
halts with 403 | |
POST /api/v1/gems | |
returns 200 on a successful push | |
returns a 422 when gem already exists | |
Gemstash | |
has a version number | |
gemstash integration tests | |
[2019-03-29 21:46:03] INFO WEBrick 1.4.2 | |
[2019-03-29 21:46:03] INFO ruby 2.5.3 (2018-10-18) [x86_64-linux] | |
[2019-03-29 21:46:03] INFO WEBrick::HTTPServer#start: pid=22149 port=9043 | |
[2019-03-29 21:46:03] INFO WEBrick 1.4.2 | |
[2019-03-29 21:46:03] INFO ruby 2.5.3 (2018-10-18) [x86_64-linux] | |
[2019-03-29 21:46:03] INFO WEBrick::HTTPServer#start: pid=22149 port=9044 | |
Puma starting in single mode... | |
* Version 3.12.1 (ruby 2.5.3-p105), codename: Llamas in Pajamas | |
* Min threads: 0, max threads: 4 | |
* Environment: test | |
* Listening on tcp://0.0.0.0:9042 | |
Use Ctrl-C to stop | |
Puma starting in single mode... | |
* Version 3.12.1 (ruby 2.5.3-p105), codename: Llamas in Pajamas | |
* Min threads: 0, max threads: 4 | |
* Environment: test | |
* Listening on tcp://0.0.0.0:9041 | |
Use Ctrl-C to stop | |
interacting with private gems | |
pushing a gem | |
pushes valid gems to the server | |
searching for a gem | |
finds private gems | |
finds the latest version of private gems | |
finds private gems when just the private source is configured (PENDING: this doesn't work because Rubygems sends /specs.4.8.gz instead of /private/specs.4.8.gz) | |
finds private gems when just the private source is configured with a trailing slash | |
yanking a gem | |
removes valid gems from the server | |
installing a gem | |
successfully installs the gem (FAILED - 1) | |
bundle install against gemstash | |
with default upstream gems | |
behaves like a bundleable project | |
successfully bundles (FAILED - 2) | |
can bundle with full index (FAILED - 3) | |
can bundle with prerelease versions (FAILED - 4) | |
can bundle with prerelease versions with full index (FAILED - 5) | |
with upstream gems via a header mirror | |
behaves like a bundleable project | |
successfully bundles (FAILED - 6) | |
can bundle with full index (FAILED - 7) | |
can bundle with prerelease versions (FAILED - 8) | |
can bundle with prerelease versions with full index (FAILED - 9) | |
with upstream gems | |
can successfully bundle twice (FAILED - 10) | |
behaves like a bundleable project | |
successfully bundles (FAILED - 11) | |
can bundle with full index (FAILED - 12) | |
can bundle with prerelease versions (FAILED - 13) | |
can bundle with prerelease versions with full index (FAILED - 14) | |
with redirecting gems | |
behaves like a bundleable project | |
successfully bundles (FAILED - 15) | |
can bundle with full index (FAILED - 16) | |
can bundle with prerelease versions (FAILED - 17) | |
can bundle with prerelease versions with full index (FAILED - 18) | |
with private gems | |
behaves like a bundleable project | |
successfully bundles (FAILED - 19) | |
can bundle with full index (FAILED - 20) | |
can bundle with prerelease versions (FAILED - 21) | |
can bundle with prerelease versions with full index (FAILED - 22) | |
checking the health of Gemstash | |
with a healthy server | |
succeeds with a valid JSON document | |
using the heartbeat endpoint | |
succeeds with a valid JSON document | |
with a failure to read from storage | |
responds with an appropriate failure | |
with a failure to write to storage | |
responds with an appropriate failure | |
[2019-03-29 21:46:26] INFO going to shutdown ... | |
[2019-03-29 21:46:26] INFO WEBrick::HTTPServer#start done. | |
[2019-03-29 21:46:26] INFO going to shutdown ... | |
- Gracefully stopping, waiting for requests to finish | |
[2019-03-29 21:46:26] INFO WEBrick::HTTPServer#start done. | |
=== puma shutdown: 2019-03-29 21:46:26 -0400 === | |
- Goodbye! | |
- Gracefully stopping, waiting for requests to finish | |
=== puma shutdown: 2019-03-29 21:46:26 -0400 === | |
- Goodbye! | |
Pending: (Failures listed here are expected and do not affect your suite's status) | |
1) gemstash concurrency tests storage works with concurrent reads and writes with varying content | |
# this fails because of this scenario: thread-1 loads a resource and the corresponding properties file, then thread-2 writes the files for a resource, then thread-1 reads the files for the resource; this scenario is unimportant since the content in gemstash should be always consistent, though the extra work is a bit undesirable | |
# ./spec/concurrency_spec.rb:135 | |
2) gemstash integration tests interacting with private gems searching for a gem finds private gems when just the private source is configured | |
# this doesn't work because Rubygems sends /specs.4.8.gz instead of /private/specs.4.8.gz | |
# ./spec/integration_spec.rb:154 | |
Failures: | |
1) gemstash integration tests interacting with private gems installing a gem successfully installs the gem | |
Failure/Error: | |
expect(execute("gem", ["install", "speaker", "--clear-sources", "--source", host], dir: env_dir, env: env)). | |
to exit_success | |
expected 'gem install speaker --clear-sources --source http://127.0.0.1:9042/private' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/environments/integration_spec/private_gems' to exit with a success code, but it didn't. | |
the command output was: | |
ERROR: While executing gem ... (NameError) | |
uninitialized constant Gem::RDoc | |
# ./spec/integration_spec.rb:204:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
2) gemstash integration tests bundle install against gemstash with default upstream gems behaves like a bundleable project successfully bundles | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/default_upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:251 | |
# ./spec/integration_spec.rb:222:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
3) gemstash integration tests bundle install against gemstash with default upstream gems behaves like a bundleable project can bundle with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/default_upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:251 | |
# ./spec/integration_spec.rb:229:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
4) gemstash integration tests bundle install against gemstash with default upstream gems behaves like a bundleable project can bundle with prerelease versions | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/default_upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:251 | |
# ./spec/integration_spec.rb:236:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
5) gemstash integration tests bundle install against gemstash with default upstream gems behaves like a bundleable project can bundle with prerelease versions with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/default_upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:251 | |
# ./spec/integration_spec.rb:243:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
6) gemstash integration tests bundle install against gemstash with upstream gems via a header mirror behaves like a bundleable project successfully bundles | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/header_mirror_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:257 | |
# ./spec/integration_spec.rb:222:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
7) gemstash integration tests bundle install against gemstash with upstream gems via a header mirror behaves like a bundleable project can bundle with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/header_mirror_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:257 | |
# ./spec/integration_spec.rb:229:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
8) gemstash integration tests bundle install against gemstash with upstream gems via a header mirror behaves like a bundleable project can bundle with prerelease versions | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/header_mirror_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:257 | |
# ./spec/integration_spec.rb:236:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
9) gemstash integration tests bundle install against gemstash with upstream gems via a header mirror behaves like a bundleable project can bundle with prerelease versions with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/header_mirror_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:257 | |
# ./spec/integration_spec.rb:243:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
10) gemstash integration tests bundle install against gemstash with upstream gems can successfully bundle twice | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
# ./spec/integration_spec.rb:266:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
11) gemstash integration tests bundle install against gemstash with upstream gems behaves like a bundleable project successfully bundles | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:262 | |
# ./spec/integration_spec.rb:222:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
12) gemstash integration tests bundle install against gemstash with upstream gems behaves like a bundleable project can bundle with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:262 | |
# ./spec/integration_spec.rb:229:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
13) gemstash integration tests bundle install against gemstash with upstream gems behaves like a bundleable project can bundle with prerelease versions | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:262 | |
# ./spec/integration_spec.rb:236:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
14) gemstash integration tests bundle install against gemstash with upstream gems behaves like a bundleable project can bundle with prerelease versions with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/upstream_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:262 | |
# ./spec/integration_spec.rb:243:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
15) gemstash integration tests bundle install against gemstash with redirecting gems behaves like a bundleable project successfully bundles | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/redirecting_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:280 | |
# ./spec/integration_spec.rb:222:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:44:in `block (3 levels) in <top (required)>' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:238:in `_transaction' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:220:in `block in transaction' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/connection_pool/threaded.rb:92:in `hold' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/connecting.rb:270:in `synchronize' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:186:in `transaction' | |
# ./spec/spec_helper.rb:43:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
16) gemstash integration tests bundle install against gemstash with redirecting gems behaves like a bundleable project can bundle with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/redirecting_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:280 | |
# ./spec/integration_spec.rb:229:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:44:in `block (3 levels) in <top (required)>' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:238:in `_transaction' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:220:in `block in transaction' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/connection_pool/threaded.rb:92:in `hold' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/connecting.rb:270:in `synchronize' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:186:in `transaction' | |
# ./spec/spec_helper.rb:43:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
17) gemstash integration tests bundle install against gemstash with redirecting gems behaves like a bundleable project can bundle with prerelease versions | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/redirecting_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:280 | |
# ./spec/integration_spec.rb:236:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:44:in `block (3 levels) in <top (required)>' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:238:in `_transaction' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:220:in `block in transaction' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/connection_pool/threaded.rb:92:in `hold' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/connecting.rb:270:in `synchronize' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:186:in `transaction' | |
# ./spec/spec_helper.rb:43:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
18) gemstash integration tests bundle install against gemstash with redirecting gems behaves like a bundleable project can bundle with prerelease versions with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/redirecting_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:280 | |
# ./spec/integration_spec.rb:243:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:44:in `block (3 levels) in <top (required)>' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:238:in `_transaction' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:220:in `block in transaction' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/connection_pool/threaded.rb:92:in `hold' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/connecting.rb:270:in `synchronize' | |
# ./.bundle/gems/gems/sequel-5.18.0/lib/sequel/database/transactions.rb:186:in `transaction' | |
# ./spec/spec_helper.rb:43:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
19) gemstash integration tests bundle install against gemstash with private gems behaves like a bundleable project successfully bundles | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/private_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:294 | |
# ./spec/integration_spec.rb:222:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
20) gemstash integration tests bundle install against gemstash with private gems behaves like a bundleable project can bundle with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/private_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:294 | |
# ./spec/integration_spec.rb:229:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
21) gemstash integration tests bundle install against gemstash with private gems behaves like a bundleable project can bundle with prerelease versions | |
Failure/Error: expect(execute("bundle", dir: dir, env: env)).to exit_success | |
expected 'bundle' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/private_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:294 | |
# ./spec/integration_spec.rb:236:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
22) gemstash integration tests bundle install against gemstash with private gems behaves like a bundleable project can bundle with prerelease versions with full index | |
Failure/Error: expect(execute("bundle", %w[--full-index], dir: dir, env: env)).to exit_success | |
expected 'bundle --full-index' in '/home/pup/dev/ruby/bundler/gemstash/spec/data/bundles/integration_spec/private_gems' to exit with a success code, but it didn't. | |
the command output was: | |
/usr/local/share/ruby/site_ruby/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.0.1) required by `$BUNDLER_VERSION`. (Gem::GemNotFoundException) | |
To update to the latest version installed on your system, run `bundle update --bundler`. | |
To install the missing version, run `gem install bundler:2.0.1` | |
from /usr/local/share/ruby/site_ruby/rubygems.rb:302:in `activate_bin_path' | |
from /home/pup/.gem/ruby/bin/bundle:23:in `<main>' | |
Shared Example Group: "a bundleable project" called from ./spec/integration_spec.rb:294 | |
# ./spec/integration_spec.rb:243:in `block (4 levels) in <top (required)>' | |
# ./spec/spec_helper.rb:41:in `block (2 levels) in <top (required)>' | |
# ./.bundle/gems/gems/aruba-0.14.9/lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>' | |
Finished in 25.43 seconds (files took 1.34 seconds to load) | |
260 examples, 22 failures, 2 pending | |
Failed examples: | |
rspec ./spec/integration_spec.rb:202 # gemstash integration tests interacting with private gems installing a gem successfully installs the gem | |
rspec ./spec/integration_spec.rb[1:2:1:1:1] # gemstash integration tests bundle install against gemstash with default upstream gems behaves like a bundleable project successfully bundles | |
rspec ./spec/integration_spec.rb[1:2:1:1:2] # gemstash integration tests bundle install against gemstash with default upstream gems behaves like a bundleable project can bundle with full index | |
rspec ./spec/integration_spec.rb[1:2:1:1:3] # gemstash integration tests bundle install against gemstash with default upstream gems behaves like a bundleable project can bundle with prerelease versions | |
rspec ./spec/integration_spec.rb[1:2:1:1:4] # gemstash integration tests bundle install against gemstash with default upstream gems behaves like a bundleable project can bundle with prerelease versions with full index | |
rspec ./spec/integration_spec.rb[1:2:2:1:1] # gemstash integration tests bundle install against gemstash with upstream gems via a header mirror behaves like a bundleable project successfully bundles | |
rspec ./spec/integration_spec.rb[1:2:2:1:2] # gemstash integration tests bundle install against gemstash with upstream gems via a header mirror behaves like a bundleable project can bundle with full index | |
rspec ./spec/integration_spec.rb[1:2:2:1:3] # gemstash integration tests bundle install against gemstash with upstream gems via a header mirror behaves like a bundleable project can bundle with prerelease versions | |
rspec ./spec/integration_spec.rb[1:2:2:1:4] # gemstash integration tests bundle install against gemstash with upstream gems via a header mirror behaves like a bundleable project can bundle with prerelease versions with full index | |
rspec ./spec/integration_spec.rb:264 # gemstash integration tests bundle install against gemstash with upstream gems can successfully bundle twice | |
rspec ./spec/integration_spec.rb[1:2:3:1:1] # gemstash integration tests bundle install against gemstash with upstream gems behaves like a bundleable project successfully bundles | |
rspec ./spec/integration_spec.rb[1:2:3:1:2] # gemstash integration tests bundle install against gemstash with upstream gems behaves like a bundleable project can bundle with full index | |
rspec ./spec/integration_spec.rb[1:2:3:1:3] # gemstash integration tests bundle install against gemstash with upstream gems behaves like a bundleable project can bundle with prerelease versions | |
rspec ./spec/integration_spec.rb[1:2:3:1:4] # gemstash integration tests bundle install against gemstash with upstream gems behaves like a bundleable project can bundle with prerelease versions with full index | |
rspec ./spec/integration_spec.rb[1:2:4:1:1] # gemstash integration tests bundle install against gemstash with redirecting gems behaves like a bundleable project successfully bundles | |
rspec ./spec/integration_spec.rb[1:2:4:1:2] # gemstash integration tests bundle install against gemstash with redirecting gems behaves like a bundleable project can bundle with full index | |
rspec ./spec/integration_spec.rb[1:2:4:1:3] # gemstash integration tests bundle install against gemstash with redirecting gems behaves like a bundleable project can bundle with prerelease versions | |
rspec ./spec/integration_spec.rb[1:2:4:1:4] # gemstash integration tests bundle install against gemstash with redirecting gems behaves like a bundleable project can bundle with prerelease versions with full index | |
rspec ./spec/integration_spec.rb[1:2:5:1:1] # gemstash integration tests bundle install against gemstash with private gems behaves like a bundleable project successfully bundles | |
rspec ./spec/integration_spec.rb[1:2:5:1:2] # gemstash integration tests bundle install against gemstash with private gems behaves like a bundleable project can bundle with full index | |
rspec ./spec/integration_spec.rb[1:2:5:1:3] # gemstash integration tests bundle install against gemstash with private gems behaves like a bundleable project can bundle with prerelease versions | |
rspec ./spec/integration_spec.rb[1:2:5:1:4] # gemstash integration tests bundle install against gemstash with private gems behaves like a bundleable project can bundle with prerelease versions with full index | |
/usr/bin/ruby -I/home/pup/dev/ruby/bundler/gemstash/.bundle/gems/gems/rspec-core-3.8.0/lib:/home/pup/dev/ruby/bundler/gemstash/.bundle/gems/gems/rspec-support-3.8.0/lib /home/pup/dev/ruby/bundler/gemstash/.bundle/gems/gems/rspec-core-3.8.0/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --color failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment