rbenv install 2.2.8
下载ruby-2.2.8.tar.bz2 ...
- > https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.8.tar.bz2 安装ruby-2.2.8 ......
警告:ruby-2.2.8即将结束。 它只接收关键的安全更新,没有错误修复。
BUILD FAILED(Ubuntu 17.10使用ruby-build 20170914-19-gdcfa90c)
检查或清理/tmp/ruby-build.20171209140352.8093上的工作树 结果记录到/tmp/ruby-build.20171209140352.8093.log
最后10个日志行:
/tmp/ruby-build.20171209140352.8093/ruby-2.2.8/lib/rdoc/generator/ri.rb:26:in 'DatabaseError' object has no attribute 'message'
Request Method:
POST
Request URL:
http://127.0.0.1:8000/storeowner/edit/
Django Version:
1.11.7
Exception Type:
AttributeError
Exception Value:
'DatabaseError' object has no attribute 'message'
Exception Location:
C:\WORK\AppPython\ContractorsClubSubModuleDEVELOP\libmstr\storeowner\views.py in edit_basic_info, line 40
Python Executable:
C:\WORK\Software\Python64bitv3.6\python.exe
Python Version:
3.6.3
Python Path:
['C:\\WORK\\AppPython\\ContractorsClubSubModuleDEVELOP',
'C:\\WORK\\Software\\OracleInstantClient64Bit\\instantclient_12_2',
'C:\\WORK\\Software\\Python64bitv3.6\\python36.zip',
'C:\\WORK\\Software\\Python64bitv3.6\\DLLs',
'C:\\WORK\\Software\\Python64bitv3.6\\lib',
'C:\\WORK\\Software\\Python64bitv3.6',
'C:\\Users\\dgmufasa\\AppData\\Roaming\\Python\\Python36\\site-packages',
'C:\\WORK\\AppPython\\ContractorsClubSubModuleDEVELOP\\libintgr',
'C:\\WORK\\AppPython\\ContractorsClubSubModuleDEVELOP\\libmstr',
'C:\\WORK\\AppPython\\ContractorsClubSubModuleDEVELOP\\libtrans',
'C:\\WORK\\AppPython\\ContractorsClubBackofficeCode\\libintgr',
'C:\\WORK\\AppPython\\ContractorsClubBackofficeCode\\libmstr',
'C:\\WORK\\TRASH\\tempforcustomer\\tempforcustomer\\libtempmstr',
'C:\\WORK\\AppPython\\ContractorsClubBackofficeCode\\libtrans',
'C:\\WORK\\Software\\Python64bitv3.6\\lib\\site-packages',
'C:\\WORK\\Software\\Python64bitv3.6\\lib\\site-packages\\django-1.11.7-py3.6.egg',
'C:\\WORK\\Software\\Python64bitv3.6\\lib\\site-packages\\pytz-2017.3-py3.6.egg']
Server time:
Sat, 9 Dec 2017 08:42:49 +0000
阻止生成'
/tmp/ruby-build.20171209140352.8093/ruby-2.2.8/lib/rdoc/rdoc.rb:525:in generate'
/tmp/ruby-build.20171209140352.8093/ruby-2.2.8/lib/rdoc/rdoc.rb:530:in
生成'
/tmp/ruby-build.20171209140352.8093/ruby-2.2.8/lib/rdoc/rdoc.rb:508:in chdir'
/tmp/ruby-build.20171209140352.8093/ruby-2.2.8/lib/rdoc/rdoc.rb:525:in
'
uncommon.mk:427:目标' rdoc'失败 make:*** [rdoc]错误1
答案 0 :(得分:2)
尝试禁用文档构建步骤
RUBY_CONFIGURE_OPTS = - disable-install-doc rbenv install 2.2.8
它有效