• 恩,好吧。谢谢各位的建议。😃

  • @samatist @mrpasserby 我说的并不是什么鸡汤,是我的真实经历,同是天涯沦落人,当然我比你接受了更多,无论是心灵上,或者身体上,当然我不会说出来需要人去怜悯。什么是鸡汤?难道我就没告诉该如何做吗?为什么非要否定呢?人生是需要动力的,从你自己的内心里面释放来,我只是希望,不是求你懂得,我只是在给予我能给予的所有正反馈,不求你懂!

  • 这个世界上比你受苦受累的人,受到创伤的多得是,别觉得自己多惨似的。这样很不成熟!!

  • 这个世界上,不会因为少了谁而停止运转。

    眼界是靠书叠起来的,成长是靠自己的付出的出来的,希望你懂得 10000 小时天才理论,成功是靠你的执行力与决断力。

    换一种说法吧,看书,智慧提高了,自控力提高了,明白了很多以前不明白的事情,明白了当初年少的时候做的决策是多么的愚蠢,明白了看书是多么的重要,更努力的看书了,而不会把时间浪费在无关紧要的事情上。渐渐涵养就上来了,明白了看山还是山,看水还是水。找到了自己所喜爱的东西,乐此不疲的去学,试着去创造,试着去想想自己是不是能改变点什么,犹如 10 年的寒窗苦读。此时眼界你有了,从很多前人的书籍里面明白了一些人本该就应该懂得的东西(现在很多人不愿意去懂的,觉得没用的,或者说人人都懂,却不去做的--不告诉你,你自己去发现!),经过 10000 小时的精深练习,能力你也有了。成功也来了,不仅是钱,更是人生。

    我照着这条路一直奋斗着,你应该有自己的人生规划,你一定要努力,但千万别着急,你是一个潜力股,绝对不是你透支未来的借口,我很能理解你的心,我不止一次经历过你这种事情,因为自己的无能为力,感觉好无助(记住:世界没有救世主)。

    只要你有一颗变得更优秀的心,不停的思考,如何变得更优秀?尝试所有你能找到,所有可以接触到,哪怕最笨的方法。

    爱情这个东西,有很多不确定性因素在里面,有的时候往往很没有道理。你爱她,能为她付出到哪种程度呢?在一起互相得到了什么呢?假如你真的“爱”(付出)她,不需要太多理由,释放你的深藏于内心的欲望就好了。同时,失去是为了更好的懂得珍惜。不知道你有没有在父母生日的时候给他们买过礼物,想想你所拥有的。

    马上要放假了,妈咪说,要把暑假作业做完才可以打 LoL,我好慌!!万能的主!请告诉我盖伦是出帽子好,还是金身叼!!

    神说,要有光!于是我出了金身!!

    😀

  • 不会写前端感觉太痛苦了 at 2016年06月25日

    赞同 #20 的说法,东西出来才是真材实料。

  • 会玩。

  • 很 Cool 的公司 👍 !

  • 好酷的应用~

  • 技术总是慢慢发展的。

  • Docker Ubuntu 安装 Jekyll 报错 at 2016年03月06日

    #2 楼 @watraludru 自己根据 Docker Book 在写一个教程。假如说使用的话,记住几个命令就好。

  • Docker Ubuntu 安装 Jekyll 报错 at 2016年03月06日

    #1 楼 @rei 感谢,原来是编译环境的问题,自己又去搜了一搜相关的,在 centos 下面也成功了。 在 centos 下面用

    RUN yum install make gcc gcc-c++ kernel-devel
    # 或者
    RUN yum groupinstall "Development Tools"
    
  • so cool~~

  • #94 楼 @chenge

    Warning: libyaml-0.1.6_1 already installed, it's just not linked
    

    reinstall也是一样的

  • #89 楼 @chenge #86 楼 @liwei78 感谢您们的细心解答。我自己再研究研究,争取把坑全踩完,之后发一篇分享。 这是我 MAC 下面生成了 Log 文件,安装 2.2.1,依旧一样。不过我 vagrant 里面的安装成功了。

    # ubuntu vagrant

    # mac install.log
    +__rvm_make:0> make install
    config.status: creating x86_64-darwin14-fake.rb
        CC = gcc
        LD = ld
        LDSHARED = gcc -dynamiclib
        CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens   -fno-common -pipe
        XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
        CPPFLAGS = -I/usr/local/Cellar/libyaml/0.1.6_1/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -I. -I.ext/include/x86_64-darwin14 -I./include -I.
        DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/Cellar/libyaml/0.1.6_1/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib  -install_name /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/libruby.2.2.0.dylib -current_version 2.2.0 -compatibility_version 2.2.0  -fstack-protector -Wl,-u,_objc_msgSend -framework CoreFoundation  -fstack-protector -Wl,-u,_objc_msgSend -framework CoreFoundation
        SOLIBS = -lpthread -ldl -lobjc
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1
    Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
    Target: x86_64-apple-darwin14.4.0
    Thread model: posix
    making enc
    make[1]: Nothing to be done for `enc'.
    making srcs under enc
    make[1]: Nothing to be done for `srcs'.
    generating transdb.h
    transdb.h unchanged
    making trans
    make[1]: Nothing to be done for `./enc/trans'.
    making encs
    generating makefile exts.mk
    Failed to configure -test-/win32/console. It will not be installed.
    Failed to configure -test-/win32/dln. It will not be installed.
    Failed to configure -test-/win32/dln/empty. It will not be installed.
    Failed to configure -test-/win32/fd_setsize. It will not be installed.
    Failed to configure gdbm. It will not be installed.
    configuring socket
    Failed to configure tk. It will not be installed.
    Failed to configure tk/tkutil. It will not be installed.
    Failed to configure win32. It will not be installed.
    Failed to configure win32ole. It will not be installed.
    make[2]: Nothing to be done for `all'.
    make[2]: Nothing to be done for `all'.
    make[2]: Nothing to be done for `all'.
    make[2]: Nothing to be done for `all'.
    installing default bigdecimal libraries
    installing default date_core libraries
    installing digest libraries
    installing default digest libraries
    installing default sha2 libraries
    installing default fiddle libraries
    make[2]: Nothing to be done for `all'.
    installing default console libraries
    installing default libraries
    installing default nkf libraries
    installing default openssl libraries
    installing default pathname libraries
    installing default psych libraries
    installing default pty libraries
    linking shared-object ripper.bundle
    installing default ripper libraries
    checking ../.././parse.y and ../.././ext/ripper/eventids2.c
    linking shared-object socket.bundle
    installing default socket libraries
    installing default syslog libraries
    make[2]: Nothing to be done for `all'.
    make[2]: Nothing to be done for `all'.
    make[2]: Nothing to be done for `all'.
    make[2]: Nothing to be done for `all'.
    make[2]: `ruby' is up to date.
    ./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems -r./x86_64-darwin14-fake ./tool/rbinstall.rb --make="/Applications/Xcode.app/Contents/Developer/usr/bin/make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
    installing binary commands:   /Users/Yugo/.rvm/rubies/ruby-2.2.0/bin
    installing base libraries:    /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib
    installing arch files:        /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14
    installing pkgconfig data:    /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/pkgconfig
    installing command scripts:   /Users/Yugo/.rvm/rubies/ruby-2.2.0/bin
    installing library scripts:   /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0
    installing common headers:    /Users/Yugo/.rvm/rubies/ruby-2.2.0/include/ruby-2.2.0
    installing manpages:          /Users/Yugo/.rvm/rubies/ruby-2.2.0/share/man/man1
    installing extension objects: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14
    installing extension objects: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/x86_64-darwin14
    installing extension objects: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/vendor_ruby/2.2.0/x86_64-darwin14
    installing extension headers: /Users/Yugo/.rvm/rubies/ruby-2.2.0/include/ruby-2.2.0/x86_64-darwin14
    installing extension scripts: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0
    installing extension scripts: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0
    installing extension scripts: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/vendor_ruby/2.2.0
    installing extension headers: /Users/Yugo/.rvm/rubies/ruby-2.2.0/include/ruby-2.2.0/ruby
    installing default gems:      /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems, specifications)
                                  bigdecimal 1.2.6
                                  io-console 0.4.3
                                  json 1.8.1
                                  psych 2.0.8
                                  rake 10.4.2
                                  rdoc 4.2.0
    installing bundle gems:       /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems, specifications)
    /Users/Yugo/.rvm/src/ruby-2.2.0/lib/yaml.rb:4:in `<top (required)>':
    It seems your ruby installation is missing psych (for YAML output).
    To eliminate this warning, please install libyaml and reinstall your ruby.
    /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Users/Yugo/.rvm/src/ruby-2.2.0/.ext/x86_64-darwin14/psych.bundle, 9): Library not loaded: /usr/local/opt/libyaml/lib/libyaml-0.2.dylib (LoadError)
      Referenced from: /Users/Yugo/.rvm/src/ruby-2.2.0/.ext/x86_64-darwin14/psych.bundle
      Reason: image not found - /Users/Yugo/.rvm/src/ruby-2.2.0/.ext/x86_64-darwin14/psych.bundle
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/.ext/common/psych.rb:1:in `<top (required)>'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/yaml.rb:5:in `<top (required)>'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems.rb:624:in `load_yaml'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/config_file.rb:328:in `load_file'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/config_file.rb:197:in `initialize'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems.rb:297:in `new'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems.rb:297:in `configuration'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/remote_fetcher.rb:51:in `fetcher'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/spec_fetcher.rb:76:in `initialize'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/spec_fetcher.rb:42:in `new'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/spec_fetcher.rb:42:in `fetcher'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/resolver/installer_set.rb:37:in `initialize'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:430:in `new'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:430:in `resolve_dependencies'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:373:in `install'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems.rb:558:in `install'
        from ./tool/rbinstall.rb:717:in `block (2 levels) in <main>'
        from ./tool/rbinstall.rb:716:in `each'
        from ./tool/rbinstall.rb:716:in `block in <main>'
        from ./tool/rbinstall.rb:749:in `call'
        from ./tool/rbinstall.rb:749:in `block in <main>'
        from ./tool/rbinstall.rb:746:in `each'
        from ./tool/rbinstall.rb:746:in `<main>'
    make: *** [do-install-nodoc] Error 1
    +__rvm_make:0> return 2
    
  • #89 楼 @chenge
    it not worked. #88 楼 @liwei78 这让我的命令行瞬间爆炸~

    ➜  ~  gem sources --remove https://ruby.taobao.org/
    /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/yaml.rb:4:in `<top (required)>':
    It seems your ruby installation is missing psych (for YAML output).
    To eliminate this warning, please install libyaml and reinstall your ruby.
    /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle, 9): Library not loaded: /usr/local/opt/libyaml/lib/libyaml-0.2.dylib (LoadError)
      Referenced from: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle
      Reason: image not found - /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/psych.rb:1:in `<top (required)>'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/yaml.rb:5:in `<top (required)>'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems.rb:624:in `load_yaml'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/config_file.rb:328:in `load_file'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/config_file.rb:197:in `initialize'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:74:in `new'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:74:in `do_configuration'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:39:in `run'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/bin/gem:21:in `<main>'
    ➜  ~  gem sources -l
    /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/yaml.rb:4:in `<top (required)>':
    It seems your ruby installation is missing psych (for YAML output).
    To eliminate this warning, please install libyaml and reinstall your ruby.
    /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle, 9): Library not loaded: /usr/local/opt/libyaml/lib/libyaml-0.2.dylib (LoadError)
      Referenced from: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle
      Reason: image not found - /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/psych.rb:1:in `<top (required)>'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/yaml.rb:5:in `<top (required)>'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems.rb:624:in `load_yaml'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/config_file.rb:328:in `load_file'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/config_file.rb:197:in `initialize'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:74:in `new'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:74:in `do_configuration'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:39:in `run'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/bin/gem:21:in `<main>'
    ➜  ~  gem sources -a http://ruby.taobao.org/
    /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/yaml.rb:4:in `<top (required)>':
    It seems your ruby installation is missing psych (for YAML output).
    To eliminate this warning, please install libyaml and reinstall your ruby.
    /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle, 9): Library not loaded: /usr/local/opt/libyaml/lib/libyaml-0.2.dylib (LoadError)
      Referenced from: /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle
      Reason: image not found - /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/psych.bundle
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/psych.rb:1:in `<top (required)>'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/yaml.rb:5:in `<top (required)>'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems.rb:624:in `load_yaml'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/config_file.rb:328:in `load_file'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/config_file.rb:197:in `initialize'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:74:in `new'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:74:in `do_configuration'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/gem_runner.rb:39:in `run'
        from /Users/Yugo/.rvm/rubies/ruby-2.2.0/bin/gem:21:in `<main>'
    
  • #86 楼 @liwei78 你好~

    ➜  ~  gem sources -l
    *** CURRENT SOURCES ***
    
    https://ruby.taobao.org/
    

    查看了一下就是淘宝的源。主要是安装 rvm install 2.2.0 出错,重新安装,涛声依旧。 😭,还是这个错误,我相信上天是公平的,毕竟颜值在那放着。我去试试 vagrant,生命不息,折腾不止。

  • 前后分离架构的探索之路 at 2015年09月13日

    好厉害,看不懂。我只知道,该学 ES6,和 WebPack 了。

  • 不好意思,最近想体验一下 Ruby,于是看您的书学习,遇见个问题,百度了没找到解决方案,发帖又刚注册,比较尴尬,所以才借贵宝地提个问,学校最近更新网络架构,墙比较厉害,根本无法科学上网 Google,实在找不到了才来问的!
    我是按照您的书步骤来的,安装好rvm,在.zshrc添加 PATH

    export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    export PATH="$PATH:$HOME/.rvm/bin"
    

    本机的一些参数,在 segmentfault 找到了一个淘宝源命令,改了一下源。 sed -i .bak 's!cache.ruby-lang.org/pub/ruby!ruby.taobao.org/mirrors/ruby!' $rvm_path/config/db

    ➜  ~  ruby -v
    ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
    ➜  ~  gem -v
    2.0.14
    ➜  ~  rvm -v
    rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
    ➜  ~  rails
    Rails is not currently installed on this system. To get the latest version, simply type:
    
        $ sudo gem install rails
    
    You can then rerun your "rails" command.
    

    rvm install 2.2.0进行安装,能安装,但是报错如下,能 use,但是无法安装 rails。

    Searching for binary rubies, this might take some time.
    No binary rubies available for: osx/10.10/x86_64/ruby-2.2.0.
    Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
    Checking requirements for osx.
    Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
    Requirements installation successful.
    Installing Ruby from source to: /Users/Yugo/.rvm/rubies/ruby-2.2.0, this may take a while depending on your cpu(s)...
    ruby-2.2.0 - #downloading ruby-2.2.0, this may take a while depending on your connection...
    ruby-2.2.0 - #extracting ruby-2.2.0 to /Users/Yugo/.rvm/src/ruby-2.2.0 - please wait
    ruby-2.2.0 - #applying patch /Users/Yugo/.rvm/patches/ruby/2.2.0/fix_installing_bundled_gems.patch - please wait
    ruby-2.2.0 - #configuring - please wait
    ruby-2.2.0 - #post-configuration - please wait
    ruby-2.2.0 - #compiling - please wait
    ruby-2.2.0 - #installing - please wait
    Error running '__rvm_make install',
    showing last 15 lines of /Users/Yugo/.rvm/log/1442124916_ruby-2.2.0/install.log
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/spec_fetcher.rb:42:in `fetcher'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/resolver/installer_set.rb:37:in `initialize'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:430:in `new'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:430:in `resolve_dependencies'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:373:in `install'
        from /Users/Yugo/.rvm/src/ruby-2.2.0/lib/rubygems.rb:558:in `install'
        from ./tool/rbinstall.rb:717:in `block (2 levels) in <main>'
        from ./tool/rbinstall.rb:716:in `each'
        from ./tool/rbinstall.rb:716:in `block in <main>'
        from ./tool/rbinstall.rb:749:in `call'
        from ./tool/rbinstall.rb:749:in `block in <main>'
        from ./tool/rbinstall.rb:746:in `each'
        from ./tool/rbinstall.rb:746:in `<main>'
    make: *** [do-install-nodoc] Error 1
    +__rvm_make:0> return 2
    There has been an error while running make install. Halting the installation.