Home  >  Q&A  >  body text

ruby - 关于gem的问题

看网上说ruby不适合在windows下开发 会有很多问题 确实我遇到了几个不明原因跟的问题,还解决不了 就装了ubuntu16.04来试试ruby 然而依旧有各种问题 不管我从源码自编译 还是 sudo apt-get安装ruby gem install rails 都会失败 同时也试过rvm 但是不知道什么时候开始 不管怎么重装ruby 我gem env 和 gem source l的里面都是我改过的配置 重装不会把gem的配置还原 我想知道 gem的配置文件在哪 我好删掉 估计gem的配置有问题 导致rails装不上

我的问题是 gem的配置文件在哪? 不是解决现有问题啊。。。

高洛峰高洛峰2758 days ago633

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-25 09:04:25

    First of all, you must clearly understand the error prompts. The errors that users often encounter are as follows:
    Please check
    1. Installing rails requires sqlite3 and sqlite3-dev
    2. Requires zlib and zlib-dev
    3. Compile and install You need to install complete compilation tools, make, gcc, gcc-c++, etc.

    reply
    0
  • 某草草

    某草草2017-04-25 09:04:25

    Generally speaking, when asking questions, you should focus on one question and post error messages.

    It’s such a rough question and I don’t know how to answer it.
    You might as well stop learning.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-25 09:04:25

    I don’t post errors when reporting errors, I just tell you that I made a mistake and who can help you

    reply
    0
  • Cancelreply