ManageIQ / manageiq-vagrant-dev

Vagrantfile and scripts so you can start a developer environment
Apache License 2.0
5 stars 16 forks source link

Error making 'bundler install' on manageiq/manageiq vagrant environment. #5

Closed jparrill closed 2 years ago

jparrill commented 7 years ago

Error after vagrant up and a bin/setup executed:

[vagrant@miqdev manageiq]$ cd manageiq
[vagrant@miqdev manageiq]$ bin/setup
Copying /home/vagrant/manageiq/manageiq/certs/v2_key from template...
Copying /home/vagrant/manageiq/manageiq/config/cable.yml from template...
Copying /home/vagrant/manageiq/manageiq/config/database.yml from template...
== Installing dependencies ==
Fetching: bundler-1.16.0.gem (100%)
Successfully installed bundler-1.16.0
Parsing documentation for bundler-1.16.0
Installing ri documentation for bundler-1.16.0
Done installing documentation for bundler after 6 seconds
1 gem installed
The git source https://github.com/ManageIQ/manageiq-gems-pending.git is not yet checked out. Please run `bundle install` before trying to start your application
Fetching https://github.com/ManageIQ/manageiq-gems-pending.git
Fetching https://github.com/ManageIQ/handsoap.git
Fetching https://github.com/ManageIQ/manageiq-providers-ansible_tower
Fetching https://github.com/ManageIQ/manageiq-schema
Fetching https://github.com/ManageIQ/manageiq-messaging
Fetching https://github.com/ManageIQ/ruport.git
Fetching https://github.com/ManageIQ/manageiq-providers-amazon
Fetching https://github.com/ManageIQ/amazon_ssa_support.git
Fetching https://github.com/ManageIQ/manageiq-providers-azure
Fetching https://github.com/ManageIQ/manageiq-providers-foreman
Fetching https://github.com/ManageIQ/foreman_api_client.git
Fetching https://github.com/ManageIQ/manageiq-providers-google
Fetching https://github.com/ManageIQ/manageiq-providers-hawkular
Fetching https://github.com/ManageIQ/manageiq-providers-kubernetes
Fetching https://github.com/ManageIQ/manageiq-providers-lenovo
Fetching https://github.com/ManageIQ/manageiq-providers-nuage
Fetching https://github.com/xlab-si/qpid_proton_gem
Fetching https://github.com/ManageIQ/manageiq-providers-openshift
Fetching https://github.com/ManageIQ/manageiq-providers-openstack
Fetching https://github.com/ManageIQ/manageiq-providers-ovirt
Fetching https://github.com/ManageIQ/manageiq-providers-scvmm
Fetching https://github.com/ManageIQ/manageiq-providers-vmware
Fetching https://github.com/ManageIQ/manageiq-automation_engine
Fetching https://github.com/ManageIQ/manageiq-api
Fetching https://github.com/chrisarcand/rufus-scheduler.git
Fetching https://github.com/ManageIQ/manageiq-content
Fetching https://github.com/ManageIQ/manageiq-consumption
Fetching https://github.com/ManageIQ/manageiq-ui-classic
Fetching https://github.com/ManageIQ/jquery-rjs.git
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "net-ssh":
  In Gemfile:
    net-ssh (= 3.2.0)

    manageiq-gems-pending (> 0) was resolved to 0.1.0, which depends on
      net-ssh (~> 4.2.0)

Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    jquery-rjs (= 0.1.1) was resolved to 0.1.1, which depends on
      rails (>= 3.2)

    manageiq-schema was resolved to 0.1.0, which depends on
      rails (~> 5.0.2)

    manageiq-ui-classic was resolved to 0.1.0, which depends on
      rails (< 5.2, >= 5.0.0.1)

== Command ["bundle install "] failed in /home/vagrant/manageiq/manageiq ==

It seems like a gem versions discrepancy between gems requirements.

chargio commented 7 years ago

Can you see if the gems you are using are on the latest version? Just do bundle update