在Linux Debian中找不到捆绑命令

编程入门 行业动态 更新时间:2024-10-23 13:35:50
本文介绍了在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 - 远程来源: - gems.rubyforge/

有人可以解释我如何让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: - gems.rubyforge/

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中找不到捆绑命令

本文发布于:2023-10-13 09:53:54,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中找   命令   Linux   Debian

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!