Hi Jamil,
have you customized your Ruby installation or it is the Ruby installedton
by ce-installer? Could you verify that your GEM_ROOT and GEM_PATH are set
correctly on the root account?

You can manually snapshot the repositories and database:
http://getgitorious.com/installer#sec-4-4

Cheers,
Pawel


On 21 February 2014 15:12, Jamil Ben Alluch <[email protected]> wrote:

> Hello,
>
> I've been getting this error when trying to run the snapshot script.
>
> I am running the latest origin/master commit. This has been achieved
> through the upgrade script from the ce-installer branch.
>
> This is the error that I am encountering:
>
> [root@git bin]# ./snapshot /var/backup/gitorious/test.tar
> /opt/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require': cannot load such file -- bundler/setup (LoadError)
>         from
> /opt/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>
> If I run bundle from /var/www/gitorious/app it works (I get a list and no
> error messages).
>
> I haven't been able to figure out why this isn't working.
>
> Below is my path:
> [jamil@git ~]$ echo $PATH
>
> /home/jamil/.gem/ruby/1.9.3/bin:/opt/rubies/ruby-1.9.3-p484/lib/ruby/gems/1.9.1/bin:/opt/rubies/ruby-1.9.3-p484/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jamil/bin
> [jamil@git ~]$ su
> Password:
> [root@git jamil]# echo $PATH
>
> /opt/rubies/ruby-1.9.3-p484/bin:/home/jamil/.gem/ruby/1.9.3/bin:/opt/rubies/ruby-1.9.3-p484/lib/ruby/gems/1.9.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jamil/bin
> [root@git jamil]#
>
> Any help would be greatly appreciated.
>
> Also, is there a doc somewhere to perform the backup manually if I can't
> get snapshot to work?.
>
> Thank you
>
>
> --
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Gitorious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to