Giter Site home page Giter Site logo

Comments (5)

joallard avatar joallard commented on September 24, 2024

Bundler 1.12 1.12.pre.1 breaks it in 3c94eb74.

- Bundler.preserve_gem_path
+ Bundler.preserve_path_in_environment("GEM_PATH")

from pry-debundle.

joallard avatar joallard commented on September 24, 2024

Actually I can't debundle with Bundler 1.12 anymore.

from pry-debundle.

fgrehm avatar fgrehm commented on September 24, 2024

Not sure if it will work with this project but if I comment out the preserve_gem_path from here (which is based off this project) I was able to get things working for my use case

HTH

from pry-debundle.

joallard avatar joallard commented on September 24, 2024

Indeed, not sure what the effect of the preserve_gem_path is exactly, but the new incantation as of 5131fcd seems to be something like

- Bundler.preserve_gem_path
+ Bundler::EnvironmentPreserver.new(ENV, %w(GEM_PATH)).backup

Still, if I comment the line out, I seem to get most of the functionality.

from pry-debundle.

brandondrew avatar brandondrew commented on September 24, 2024

I get a similar error:

Loading development environment (Rails 3.2.22.5)

... output from my ~/.pryrc goes here

Debundling failed: undefined method `preserve_gem_path' for Bundler:Module
When reporting bugs to https://github.com/ConradIrwin/pry-debundle, please include:
* gem version: 2.5.2.3
* bundler version: 1.16.2
* pry version: 0.10.4
* ruby version: 2.3.7
* ruby engine: ruby

from pry-debundle.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.