相关疑难解决方法(0)

zsh:找不到命令:bundle(在gem install bundle之后)

为什么zsh: command not found: bundle之后gem install bundler

我试着设置path=( /usr/local/lib/ruby/gems/2.2/gems/ ~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin )/etc/zshrcsource /etc/zshrc没有用.

root@dev:/home/dev# gem install bundler
Successfully installed bundler-1.7.12
Parsing documentation for bundler-1.7.12
Done installing documentation for bundler after 10 seconds
1 gem installed

root@dev:/home/dev# bundle
zsh: command not found: bundle

root@dev:/home/dev# uname -a
OpenBSD dev.my.domain 5.7 GENERIC#748 amd64

root@dev:/home/dev# gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 2.4.5
  - RUBY VERSION: 2.2.0 (2014-12-25 patchlevel …
Run Code Online (Sandbox Code Playgroud)

ruby gem openbsd bundler

20
推荐指数
4
解决办法
2万
查看次数

标签 统计

bundler ×1

gem ×1

openbsd ×1

ruby ×1