友情提示:欢迎光临!本地已启用二维码api网关,地址是https://api.slogra.com

解决bundle install安装问题

post by rocdk890 / 2015-11-27 11:33 Friday linux技术

今天同事又来跟我纠结ruby和rails这台服务器的问题,今天他说执行bundle install的时候报下面的错误,如图
点击查看原图
好嘛,继续网上给他找解决办法...

阅读全文>>

标签: 解决 错误 gem bundle

评论(0) 引用(0) 浏览(11447)

linux安装rails失败的解决办法

post by rocdk890 / 2015-11-26 13:25 Thursday linux技术

  其实当ruby安装成功后,然后在gem install --no-ri --no-rdoc rails的时候,报出了下面的错误:

Fetching: thread_safe-0.3.4.gem (100%)
Successfully installed thread_safe-0.3.4
Fetching: minitest-5.5.1.gem (100%)
Successfully installed minitest-5.5.1
Fetching: tzinfo-1.2.2.gem (100%)
Successfully installed tzinfo-1.2.2
Fetching: i18n-0.7.0.gem (100%)
Successfully installed i18n-0.7.0
Fetching: activesupport-4.2.0.gem (100%)
Successfully installed activesupport-4.2.0
Fetching: rails-deprecated_sanitizer-1.0.3.gem (100%)
Successfully installed rails-deprecated_sanitizer-1.0.3
Fetching: mini_portile-0.6.2.gem (100%)
Successfully installed mini_portile-0.6.2
Fetching: nokogiri-1.6.6.2.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing rails...

阅读全文>>

标签: 安装 linux 错误 rails gem

评论(0) 引用(0) 浏览(3541)

解决linux编译ruby1.8.7错误

post by rocdk890 / 2015-11-25 17:01 Wednesday linux技术

  今天同事要求在测试机上安装ruby和rails的时候,居然安装ruby-1.8.7出现编译错误.如下:
ossl_pkey_ec.c:815: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function)
ossl_pkey_ec.c:815: error: (Each undeclared identifier is reported only once
ossl_pkey_ec.c:815: error: for each function it appears in.)
make[1]: *** [ossl_pkey_ec.o] Error 1
make[1]: Leaving directory `/home/vagrant/ruby-1.8.7-p357/ext/openssl'
make: *** [all] Error 1

解决方法如下...

阅读全文>>

标签: linux 编译 ruby ruby1.8.7 ruby-1.8.7

评论(0) 引用(0) 浏览(3796)