更改

跳转至: 导航搜索

Ubuntu安装Bitnami redmine

添加235字节, 2020年10月19日 (一) 22:09
Bundle install 报错的处理
# 如果提醒要求bundle install情况下,运行:
#* bundle config mirror.https://rubygems.org https://gems.ruby-china.com
# 如果提醒“nokogiri”等报错情况下,可以执行如下操作:如果提醒“nokogiri”等报错情况下,比如:Make sure that `gem install nokogiri -v '1.10.9' --source 'https://gems.ruby-china.com/'` succeeds before bundling.可以执行如下操作:#* gem uninstall list --remote --all nokogiri// 查看远程所有版本是否存在,如果不存在请换一个版本。若果版本没有问题,再运行命令:#* gem install nokogiri# 也可以尝试安装nogogiri环境:
#* sudo apt-get install libxslt-dev libxml2-dev
#* sudo apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev (https://nokogiri.org/tutorials/installing_nokogiri.html)
#* gem install nokogiri -v 'xxxxxxxx'
# 也可以尝试升级gem#* 再次运行 :sudo bundlegem update
# 出现gemrile sources问题:fetching gem metadata from https://rubygems.org,可以用 Bundler的Gem源代码镜像命令,这样不用改 Gemfile 的 source。
#* ''Gemfile 的 source''
#* ''source 'https://rubygems.org/'''
#* ''gem 'rails', '4.1.0'''
#* bundle config mirror.https://rubygems.org https://ruby.taobao.org
## 如果问题依旧,则尝试修改Gemfile:##* vim Gemfile##* source 'https://gems.ruby-china.com/ or https://ruby.taobao.org/'
# 出现rake aborted,尝试:
#* gem install rake
486
个编辑

导航菜单