Hi all,
so when doing something on the ovirt wiki I have found a slight
imperfection in the admin guide:
http://www.ovirt.org/documentation/admin-guide/
So I decided to fix it but to verify it I wanted to run the page locally
but failed miserably. Spent some time trying to make it run but it seems I
will need some help.
I'm running Fedora 25.
So, first tried to use the non docker setup. The setup passed but when
running run-server.sh it first were complaining that:
bundler: command not found: middleman
even though the middleman is installed:
$ bundle show middleman
/home/tjelinek/.gem/ruby/gems/middleman-3.3.12
when set the path explicitly to point to it:
$ export
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/tjelinek/.gem/ruby/gems/middleman-core-3.3.12/bin
I've got:
bundler: failed to load command: middleman
(/home/tjelinek/.gem/ruby/gems/middleman-core-3.3.12/bin/middleman)
LoadError: libruby.so.2.0: cannot open shared object file: No such file or
directory -
/home/tjelinek/.gem/ruby/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.so
even the file is there:
ls
/home/tjelinek/.gem/ruby/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.so
/home/tjelinek/.gem/ruby/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.so
So I gave up and tied the docker setup. The docker-setup.sh passed without
any problems.
Now the docker-run: first of all it needs selinux disbaled otherwise it
fails on:
panic: standard_init_linux.go:178: exec user process caused "permission
denied" [recovered]
panic: standard_init_linux.go:178: exec user process caused "permission
denied"
And with selinux disabled I get:
Running docker image springboard-20170210-28960
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require':
cannot load such file -- active_support (LoadError)
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from fetch-dashboard.rb:12:in `<main>'
An error occurred while installing nokogiri (1.7.0.1), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.7.0.1'` succeeds before bundling.
And there I have stopped. Does it work to anyone? What needs to be done?
Thank you,
Tomas