Home  >  Q&A  >  body text

ruby - 执行 rails server命令之后是这样的,怎么办?

这个该怎么解决呢? 求大神解救? 今天刚装的系统所以不太懂。。

为情所困为情所困2708 days ago724

reply all(3)I'll reply

  • 天蓬老师

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

    The picture provided by lz is not very helpful, it just shows that rails is installed successfully. Congratulations.

    After using rails new project_name to generate the project, you will encounter bundle problems.

    Please change the gem source to solve this problem.
    The current relatively stable domestic source is http://gems.ruby-china.org/

    Good luck!

    reply
    0
  • 某草草

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

    After many twists and turns, it became. .

    Could not find gem 'rails (= 4.2.6)' in any of the gem sources listed in your Gemfile or available on this machine.
    Run bundle install to install missing gems.

    Then running bundle install always stops halfway.

    reply
    0
  • 滿天的星座

    滿天的星座2017-04-25 09:04:10

    Add gem 'rails', '4.2.6'Control your own version in your gemfile

    reply
    0
  • Cancelreply