[ovirt-devel] trying to run ovirt wiki locally
Martin Sivak
msivak at redhat.com
Fri Feb 10 09:28:30 UTC 2017
The plain version (./run-server.sh) works for me on the current
master, but I ran the setup.sh months ago so it is still possible
there is something wrong in the setup script now.
Martin
On Fri, Feb 10, 2017 at 10:17 AM, Tomas Jelinek <tjelinek at redhat.com> wrote:
> 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
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
More information about the Devel
mailing list