Git Product home page Git Product logo

Comments (9)

zymergen-vdc avatar zymergen-vdc commented on May 25, 2024 1

Ah! I had this in my .bash_profile from a long-forgotten RVM install:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

I commented it out and now bolt-inventory-pdb works fine. Since bolt worked I didn't think to check.

Thanks for the help, and sorry for the noise.

from bolt.

donoghuc avatar donoghuc commented on May 25, 2024

Bolt is not yet packaged for macOS 10.14 (18A391). We can update the our Cask to prevent downloads for 10.14 until we support it. Thanks.

from bolt.

zymergen-vdc avatar zymergen-vdc commented on May 25, 2024

In the meantime is there a way to install manually? Any timeline on an available package?

from bolt.

MikaelSmith avatar MikaelSmith commented on May 25, 2024

Can you try re-installing? That looks really strange, and I've occasionally seen something similar happen when the package doesn't install right.

from bolt.

zymergen-vdc avatar zymergen-vdc commented on May 25, 2024
vdc@ZL-10546 ~ $ brew cask --force uninstall puppet-bolt
==> Uninstalling Cask puppet-bolt
==> Running uninstall process for puppet-bolt; your password may be necessary
==> Uninstalling packages:
com.puppetlabs.puppet-bolt
Password:
==> Purging files for version 1.1.0 of Cask puppet-bolt
vdc@ZL-10546 ~ $ brew cask install puppetlabs/puppet/puppet-bolt
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).
==> Updated Formulae
[email protected]                                                                       git-review                                                                       wine

==> Satisfying dependencies
==> Downloading https://downloads.puppet.com/mac/puppet5/10.13/x86_64/puppet-bolt-1.1.0-1.osx10.13.dmg
Already downloaded: /Users/vdc/Library/Caches/Homebrew/downloads/0b89bb163492a2e892312ad09f9387ac25295a52a8e8611979388c8b58a750da--puppet-bolt-1.1.0-1.osx10.13.dmg
==> Verifying SHA-256 checksum for Cask 'puppet-bolt'.
==> Installing Cask puppet-bolt
==> Running installer for puppet-bolt; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
installer: Package name is puppet-bolt
installer: Installing at base path /
installer: The install was successful.
🍺  puppet-bolt was successfully installed!
vdc@ZL-10546 ~ $ bolt --version
1.1.0
vdc@ZL-10546 ~ $ bolt-inventory-pdb
Traceback (most recent call last):
	2: from /opt/puppetlabs/bolt/bin/bolt-inventory-pdb:23:in `<main>'
	1: from /opt/puppetlabs/bolt/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
/opt/puppetlabs/bolt/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bolt (>= 0.a) with executable bolt-inventory-pdb (Gem::GemNotFoundException)

from bolt.

MikaelSmith avatar MikaelSmith commented on May 25, 2024

Ok thanks. I guess I'll upgrade to 10.14 and see what's going on.

I don't think we add bolt-inventory-pdb to a location accessible by PATH in packaging (that seems like an oversight). Did you add something to PATH?

from bolt.

zymergen-vdc avatar zymergen-vdc commented on May 25, 2024

I did add /opt/puppetlabs/bin:/opt/puppetlabs/bolt/bin to my PATH, but it didn't change the result to call it directly:

vdc@ZL-10546 ~ $ cd /opt/puppetlabs/bolt/bin
vdc@ZL-10546 bin $ ./bolt-inventory-pdb
Traceback (most recent call last):
	2: from ./bolt-inventory-pdb:23:in `<main>'
	1: from /opt/puppetlabs/bolt/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
/opt/puppetlabs/bolt/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bolt (>= 0.a) with executable bolt-inventory-pdb (Gem::GemNotFoundException)
vdc@ZL-10546 bin $ echo $PATH
/Users/vdc/.rvm/gems/ruby-2.5.1/bin:/Users/vdc/.rvm/gems/ruby-2.5.1@global/bin:/Users/vdc/.rvm/rubies/ruby-2.5.1/bin:/Users/vdc/.npm-packages/bin:/Users/vdc/.jenv/shims:/Users/vdc/.jenv/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/vdc/.pyenv/shims:/Users/vdc/.pyenv:/opt/puppetlabs/bin:/opt/puppetlabs/bolt/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/jamf/bin:/usr/local/jamf/bin:/Users/vdc/.rvm/bin

from bolt.

MikaelSmith avatar MikaelSmith commented on May 25, 2024

Does your rvm Ruby possibly have an old version of Bolt in it? I'm on 10.14 and not having any problems with the package.

from bolt.

MikaelSmith avatar MikaelSmith commented on May 25, 2024

Also any GEM_* environment variables set?

from bolt.

Related Issues (20)

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.