Public bug reported:

When I start vagrant, it fails with an error complaining about gems:

╰─▶ vagrant --help
/usr/lib/ruby/2.3.0/rubygems.rb:241:in `bin_path': can't find gem vagrant (>= 
0.a) (Gem::GemNotFoundException)
        from /usr/bin/vagrant:22:in `<main>'

According to upstream (https://www.vagrantup.com/docs/installation/),
installing via a gem is no longer supported, but the Ubunu and Debian
packages still seem to be using that method.  Looking at
/usr/bin/vagrant:


#!/usr/bin/ruby
#
# This file was generated by RubyGems.
#
# The application 'vagrant' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'rubygems'

version = ">= 0.a"

[...]

load Gem.bin_path('vagrant', 'vagrant', version)

** Affects: vagrant (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1708125

Title:
  vagrant fails with error "can't find gem vagrant"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vagrant/+bug/1708125/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to