新checkout下来的项目,起server时遇到的各种问题,记录一下
编程技术  /  houtizong 发布于 3年前   107
$ ruby script/server/usr/lib/ruby/1.8/memcache.rb:24:in `read': No such file or directory - /usr/lib/ruby/1.8/../VERSION.yml (Errno::ENOENT)from /usr/lib/ruby/1.8/memcache.rb:24from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
dpkg -L libmemcache-client-ruby1.8
$ sudo apt-get install memcached
$ memcached -v1.4.5
# VERSION = begin # config = YAML.load(File.read(File.dirname(__FILE__) + '/../VERSION.yml')) # "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" # end
VERSION = 1.4.5
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- ruby-debug (MissingSourceFile)
$ sudo gem install ruby-debugBuilding native extensions. This could take a while...ERROR: Error installing ruby-debug:ERROR: Failed to build gem native extension./usr/bin/ruby1.8 extconf.rbextconf.rb:1:in `require': no such file to load -- mkmf (LoadError)from extconf.rb:1Gem files will remain installed in /var/lib/gems/1.8/gems/linecache-0.43 for inspection.Results logged to /var/lib/gems/1.8/gems/linecache-0.43/ext/gem_make.out
$ sudo gem install mkmfERROR: Could not find a valid gem 'mkmf' (>= 0) in any repository
$ sudo apt-get install ruby1.8-dev
$ sudo gem install ruby-debug
四、RMagick
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- RMagick (MissingSourceFile)$ sudo gem install RMagickERROR: Could not find a valid gem 'RMagick' (>= 0) in any repository
$ sudo apt-get install libmagick9-dev$ sudo gem install rmagick
/var/lib/gems/1.8/gems/activerecord-1.15.2/lib/active_record/vendor/mysql.rb:566:in `initialize': wrong number of arguments (1 for 0) (ArgumentError)from /var/lib/gems/1.8/gems/activerecord-1.15.2/lib/active_record/vendor/mysql.rb:566:in `new'from /var/lib/gems/1.8/gems/activerecord-1.15.2/lib/active_record/vendor/mysql.rb:566:in `scramble41'from /var/lib/gems/1.8/gems/activerecord-1.15.2/lib/active_record/vendor/mysql.rb:144:in `real_connect'from /var/lib/gems/1.8/gems/activerecord-1.15.2/lib/active_record/connection_adapters/mysql_adapter.rb:389:in `connect'from /var/lib/gems/1.8/gems/activerecord-1.15.2/lib/active_record/connection_adapters/mysql_adapter.rb:152:in `initialize'
$ sudo apt-get install libmysql-ruby1.8
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接