Actually, I found one way to accomplish this (not building two versions from sources) but it works for me now. Link to the article <https://bmwlog.pp.ua/post/use-multiple-versions-of-vagrant-on-the-same-machine> .
On Tuesday, August 14, 2018 at 8:50:45 AM UTC+3, Misha Behersky wrote: > > Hi, I'm trying to use Vagrant 2.1 and Vagrant 1.8 at the same time on the > one Ubuntu machine. > Therefore I'm building them manually via > > git clone https://github.com/hashicorp/vagrant.git vagrant-1.8.4/ > > cd vagrant-1.8.4/ > > git checkout v1.8.4 > > bundle install > > This doesn't work as I receive such an error > >> Bundler could not find compatible versions for gem "rspec": In Gemfile: >> rspec (~> 2.14.0) >> vagrant-spec was resolved to 0.0.1, which depends on rspec (~> 3.5.0) > > Is it the right way to make two different versions of Vagrant to work > simultaneously? Is there a way I can accomplish that? > My environment: > > $ bundler --version > Bundler version 1.16.3 > $ ruby --version > ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu] > > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c9914f61-330f-4e54-a532-8441d0934a1b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
