上帝的RVM包装:错误:找不到二进制'上帝'

时间:2011-04-08 21:32:54

标签: ruby rvm god

我正在尝试为上帝设置一个RVM包装器,但是我无法让它正常工作。上帝在我的道路上,但它声称它找不到二进制文件。我错误配置了什么吗?

root@hostname:~# rvm info

ruby-1.9.2-p180:

  system:
    uname:       "Linux hostname 2.6.38-linode31 #1 SMP Mon Mar 21 21:22:33 UTC 2011 i686 GNU/Linux"
    bash:        "/bin/bash => GNU bash, version 4.1.5(1)-release (i686-pc-linux-gnu)"
    zsh:         " => not installed"

  rvm:
    version:      "rvm 1.6.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]"

  ruby:
    interpreter:  "ruby"
    version:      "1.9.2p180"
    date:         "2011-02-18"
    platform:     "i686-linux"
    patchlevel:   "2011-02-18 revision 30909"
    full_version: "ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]"

  homes:
    gem:          "/usr/local/rvm/gems/ruby-1.9.2-p180"
    ruby:         "/usr/local/rvm/rubies/ruby-1.9.2-p180"

  binaries:
    ruby:         "/usr/local/rvm/bin/ruby"
    irb:          "/usr/local/rvm/bin/irb"
    gem:          "/usr/local/rvm/bin/gem"
    rake:         "/usr/local/rvm/bin/rake"

  environment:
    PATH:         "/usr/local/rvm/bin:/usr/local/rvm/gems/ruby-1.9.2-p180/bin:/usr/local/rvm/gems/ruby-1.9.2-p180@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p180/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
    GEM_HOME:     "/usr/local/rvm/gems/ruby-1.9.2-p180"
    GEM_PATH:     "/usr/local/rvm/gems/ruby-1.9.2-p180:/usr/local/rvm/gems/ruby-1.9.2-p180@global"
    MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.9.2-p180"
    IRBRC:        "/usr/local/rvm/rubies/ruby-1.9.2-p180/.irbrc"
    RUBYOPT:      ""
    gemset:       ""


root@hostname:~# which god
/usr/local/rvm/gems/ruby-1.9.2-p180/bin/god
root@hostname:~# rvm wrapper @global boot god
ERROR: Binary 'god' not found.
root@hostname:~# 

1 个答案:

答案 0 :(得分:2)

我有类似的问题。因为你的ruby是ruby-1.9.2-p180,你应该使用它创建wrapper而不是@global:

$  rvm wrapper ruby-1.9.2-p180 bootup god