[katello-devel] Trying t install katello

Bryan Kearney bkearney at redhat.com
Thu Jul 28 18:03:47 UTC 2011


On 07/28/2011 07:43 AM, Lukas Zapletal wrote:
> On 07/27/2011 08:06 PM, Bryan Kearney wrote:
>> [root at dhcp231-109 ~]# service katello depcheck
>
> Bryan,
>
> this step is not necessary to install Katello. It's just a helper
> command... and it's obviously not working :-)
>
> The thing is bundler needs this file to be writeable, but does not write
> here with the parameters we use:
>
> # cat /usr/lib/katello/.bundle/config
> ---
> BUNDLE_WITHOUT: development:test
>
> The workaround is:
>
> # chmod 777 /usr/lib/katello/.bundle/config
>
> I have fixed this using copy to a temp dir:
>
> depcheck)
> # check if required dependencies from Gemfile are installed
> TMPDIR=$(mktemp -d)
> pushd $KATELLO_HOME >/dev/null
> cp -R .bundle/ $TMPDIR
> cp Gemfile* $TMPDIR
> popd >/dev/null
> pushd $TMPDIR >/dev/null
> bundle install --without 'test development' --local
> popd >/dev/null
> rm -rf $TMPDIR
> ;;
>
> ALL: If you ever need to check rubygem dependencies without fear just
> issue this command. It should read:
>
> Your bundle is complete! Use `bundle show [gemname]` to see where a
> bundled gem is installed.
>
> @jrist - could you add this to FAQ? maybe we could move the FAQ to our
> wiki...
>
I will keep rebuilding every coulple of dats to see if I can get the 
scripts to run cleanly.

-- bk




More information about the katello-devel mailing list