Skip to content

Failing tests when ran locally. #227

@duckinator

Description

@duckinator

I tried to get a working development environment for gemstash. I couldn't find any documentation on doing so, so I did my usual approach:

$ git clone https://github.com/bundler/gemstash.git
$ cd gemstash
$ bundle install
$ bundle exec rake spec

And bundle exec rake spec gave this output: https://gist.github.com/duckinator/0e9088d0f24281170b6dfb1518514d39

There appears to be two distinct errors.

The first is this, which I have also encountered with Bundler:

       ERROR:  While executing gem ... (NameError)
           uninitialized constant Gem::RDoc
     # ./spec/integration_spec.rb:204:in `block (4 levels) in <top (required)>'

The second is this one, which I find very strange because I'm... running it through bundler 2.0.1:

       /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

Any ideas where to start poking at this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions