当我输入 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 bundleror probably, since there is an executable
sudo gem install bundler
更多推荐
在Linux Debian中找不到捆绑命令
发布评论