Does it work if you perform the rake task in your gitlab directory instead of your gitlab-shell directory?
-Alex On Thu, May 15, 2014 at 9:35 AM, Labbackup <tdzim...@gmail.com> wrote: > Ran the command from this page, > https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.mdand > getting the following error, looked at some of the documentation that > say I need backup.rake, but that is not indicated on the initial backup doc > mentioned above, I'm running this from the gitlab-shell directory, rake is > part of the enviroment > [root@git-server gitlab-shell]# bundle exec rake gitlab:backup:create > RAILS_ENV=production > /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in > `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. > (Gem::LoadError) > from /usr/local/rvm/gems/ruby-1.9.3-p392/bin/rake:22:in `<main>' > from > /usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_executable_hooks:15:in `eval' > from > /usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_executable_hooks:15:in `<main>' > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to gitlabhq+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/edccabdd-f8a0-4fa8-b3c8-8714c52f6037%40googlegroups.com<https://groups.google.com/d/msgid/gitlabhq/edccabdd-f8a0-4fa8-b3c8-8714c52f6037%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CAGWx_yZ33_tmVVHKxqt1RAB%3D1%3DX1Bf%3D1yq_qAmUg6XrWZbhogg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.