+container-tools

On 05/14/2016 08:18 PM, Andrew Lee Rubinger wrote:


Spent some time getting Vagrant to cooperate on Fedora 23 and then figured I'd ping here :)

From instructions at:

https://github.com/ALRubinger/adb-atomic-developer-bundle/blob/master/docs/installing.rst

Did:

  $ sudo dnf -y install vagrant-libvirt
  $ sudo systemctl start libvirtd
  $ sudo systemctl enable libvirtd
  $ vagrant init projectatomic/adb
  $ vagrant up

Now getting the following:

https://gist.github.com/ALRubinger/0c6f9fe48d18e49bef9176d16bab02ce

Note that I have 2 Ruby environments going on, one in my /home managed by RVM and other other from stock dnf:

[alr@overdrive adb]$ which ruby
~/.rvm/rubies/ruby-2.2.4/bin/ruby
[alr@overdrive adb]$ sudo which ruby
/bin/ruby

Seen before?

The error is :

/usr/share/gems/gems/nokogiri-1.6.7.2/lib/nokogiri.rb:29:in `require': cannot load such file -- nokogiri/nokogiri (LoadError)

I have not seen this issue exactly , but have experienced similar issue. the issue comes when the some of the required ruby gems are installed using dnf and some are using "gem install".

For your issue I guess the nokogiri is installed using "gem install" . So try uninstalling it and try "dnf install rubygem-nokogiri" and let us if it works :)


S,
ALR

On Fri, May 13, 2016 at 10:08 AM, Andrew Lee Rubinger <[email protected] <mailto:[email protected]>> wrote:

    Thanks!  Looking forward to using these instructions to build
    Catapult against starting in the coming week. :)

    On Fri, May 13, 2016 at 10:06 AM, Lalatendu Mohanty
    <[email protected] <mailto:[email protected]>> wrote:

        Hi,

        ADB [1] can help setup OpenShift Origin single node setup in
        just two commands and user can choose which version of Origin
        to setup. Here are some quick start steps for the setup.

        Prerequisites:

        * A working Vagrant setup with Virtualbox or Libvirt/KVM

        Steps:

        * $ mkdir adb ; cd adb

        * $ vagrant init projectatomic/adb

        *  $ git clone
        https://github.com/projectatomic/adb-atomic-developer-bundle

        * cd
        adb-atomic-developer-bundle/components/centos/centos-openshift-setup/

        * Vagrant up

        "vagrant up" would take some time as it download the OpenShift
        Origin's docker images (around 400MB) from docker hub. At the
        end of the vagrant up you will get  information about the
        console web url , username/password etc  for further use.

        At this point of time we are using little older version of
        Origin for the default setup, but you can use any tag from
        docker hub for Origin in the Vagrantfile [2]

        [1] https://github.com/projectatomic/adb-atomic-developer-bundle

        [2]
        
https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/components/centos/centos-openshift-setup/Vagrantfile#L9


        Thanks,

        Lala




-- Red Hat Developer Programs Architecture
    @ALRubinger




--
Red Hat Developer Programs Architecture
@ALRubinger


_______________________________________________
Container-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/container-tools

Reply via email to