[openstreetmap/openstreetmap-website] Vagrant: cannot find bundler executable (#2149)

Martijn van Exel notifications at github.com
Wed Feb 20 20:16:28 UTC 2019


`vagrant up` fails because the `bundle` executable cannot be found:

```
    default: /usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe'
    default: :
    default: can't find gem bundler (>= 0.a) with executable bundle
    default:  (
    default: Gem::GemNotFoundException
    default: )
    default: 	from /usr/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
    default: 	from /usr/local/bin/bundle:23:in `<main>'
```

I think this is because the `Gemfile.lock` has 

```
BUNDLED WITH
   1.16.2
```

which is not the version that is installed by default. manually installing that specific bundler gem version seems to remedy the situation.

I'm filing as an issue because I don't know enough about ruby packaging to suggest a fix.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2149
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190220/af18f9c1/attachment.html>


More information about the rails-dev mailing list