Questions tagged «gem-bundler»

9
您没有对/var/lib/gems/2.3.0目录的写许可权
我在Ubuntu 16.04上安装了ruby。 $which ruby /usr/bin/ruby $ruby -v ruby 2.3.0p0 (2015-12-25) [x86_64-linux-gnu] $gem install bundler ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.3.0 directory. 任何帮助将不胜感激!

5
如何降级捆绑器或升级导轨?
我将omniauth gem添加到我的gemfile中,并尝试运行bundle install,但收到有关Rails和bundler版本不兼容的消息。我尝试更新导轨,但收到有关与其他宝石不兼容的消息。如何将捆绑器降级到1.0? $ bundle install Fetching gem metadata from http://rubygems.org/...... Fetching gem metadata from http://rubygems.org/.. Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 3.0.0) ruby depends on bundler (~> 1.0.0) ruby Current Bundler version: bundler (1.1.1) This Gemfile requires a different version of Bundler. …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.