备份宝石与openafs-client

时间:2016-03-30 18:55:32

标签: ruby rbenv

我正在关注walk-through以开始使用Ruby Backup gem。

我跑了gem install backup但运行正常,但是当我试图跑时:

backup generate:model --trigger my_backup \
--archives --storages='local' --compressor='gzip' --notifiers='mail'

我收到错误消息:

The program 'backup' is currently not installed. You can install it by typing:
sudo apt-get install openafs-client

我正在使用Ubuntu 14.04。

知道我的问题是什么或如何解决它?

更新:   - Ruby版本:ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]   - 使用rbenv

echo $PATH
/usr/local/heroku/bin:/home/stoebelj/.rbenv/plugins/ruby-build/bin:/home/stoebelj/.rbenv/shims:/home/stoebelj/.rbenv/bin:/home/stoebelj/.rbenv/plugins/ruby-build/bin:/home/stoebelj/.rbenv/shims:/home/stoebelj/.rbenv/bin:/home/stoebelj/.rbenv/plugins/ruby-build/bin:/home/stoebelj/.rbenv/shims:/home/stoebelj/.rbenv/bin:/home/stoebelj/.rbenv/plugins/ruby-build/bin:/home/stoebelj/.rbenv/shims:/home/stoebelj/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/stoebelj/.rvm/bin:/home/stoebelj/.rvm/bin

0 个答案:

没有答案