在Linux Debian中找不到捆绑命令 [英] bundle command not found in linux debian

查看:138
本文介绍了在Linux Debian中找不到捆绑命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我输入 bundle install 时,出现错误'-bash:bundle:command not found'。

如何查找bundler是否已安装?



gem环境返回以下内容:

pre $ RubyGems环境:
- RUBYGEMS VERSION:1.2.0
- RUBY VERSION:1.8.7(2008-08-11 patchlevel 72)[x86_64-linux]
- 安装目录:/var/lib/gems/1.8
- RUBY EXECUTABLE:/usr/bin/ruby1.8
- 可执行目录:/var/lib/gems/1.8/bin
- RUBYGEMS平台:
- ruby​​
- x86_64-linux
- GEM PATHS:
- /var/lib/gems/1.8
- GEM配置:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- 远程来源:
- http://gems.rubyforge.org/

有人可以解释我如何让bundler命令工作吗?
我是这个主题的新手。

解决方案

  gem install bundler 

或者可能是因为有可执行文件

  sudo gem install bundler 


When i enter bundle install I get the error '-bash: bundle: command not found'.

How do I find whether bundler is installed ?

gem environment returns the following

RubyGems Environment:
  - RUBYGEMS VERSION: 1.2.0
  - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
  - INSTALLATION DIRECTORY: /var/lib/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby1.8
  - EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /var/lib/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/

Can somebody explains me how to get the bundler command working ? I am a novice to this subject..

解决方案

gem install bundler

or probably, since there is an executable

sudo gem install bundler

这篇关于在Linux Debian中找不到捆绑命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆