新手问题 Arch 里 Gem 安装 Slim, 为什么找不到 slimrb 命令 [关闭]

jiyinyiyong · 2012年09月14日 · 最后由 jiyinyiyong 回复于 2012年09月14日 · 2842 次阅读

同学在 Ubuntu 上测试了命令是可以有的,于是怀疑 Arch 有什么问题, 但着说包管理的事情,环境差异并不大呀,或者 Gem 的版本有问题么? 先软链接用着,请问有人预测过么,有更好的解决方案么?

➤➤ gem -v
1.8.23
➤➤ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
➤➤ /home/chen/.gem/ruby/1.9.1/gems/slim-1.3.0/bin/slimrb -h
Usage: slimrb [options]
    -s, --stdin                      Read input from standard input instead of an input file
        --trace                      Show a full traceback on error
    -c, --compile                    Compile only but do not run
    -r, --rails                      Generate rails compatible code (combine with -c)
    -t, --translator                 Enable translator plugin
    -l, --logic-less                 Enable logic-less plugin
    -p, --pretty                     Produce pretty html
    -h, --help                       Show this message
    -v, --version                    Print version
➤➤ slimrb
bash: slimrb: command not found
➤➤ echo $PATH
/home/chen/.autojump/bin:/home/chen/.autojump/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl
➤➤ 


需要 登录 后方可回复, 如果你还没有账号请 注册新账号