【问题标题】:How to setup dev environment on Github codespaces to contribute to Rails?如何在 Github 代码空间上设置开发环境来为 Rails 做出贡献?
【发布时间】:2022-01-07 14:57:40
【问题描述】:

在观看Eileen's Talk 之后,我对为 Rails 做出贡献产生了兴趣。为了让事情变得更容易,我分叉了这个 repo,并在 Github Codespaces 中打开了它。运行bundle install 后,我想运行一些测试,但我一直收到此错误:

Your lockfile doesn't include a valid resolution.
You can fix this by regenerating your lockfile or trying to manually editing the bad locked gems to a version that satisfies all dependencies.
The unmet dependencies are:
* activesupport (>= 3.0, < 6.2), depended upon delayed_job-4.1.9, unsatisfied by activesupport-7.1.0.alpha
* activerecord (>= 3.0, < 6.2), depended upon delayed_job_active_record-4.1.6, unsatisfied by activerecord-7.1.0.alpha

我尝试更新捆绑器并降级有问题的 gem 以解决依赖问题。都没有奏效。有什么想法吗?

【问题讨论】:

    标签: ruby-on-rails ruby open-source development-environment github-codespaces


    【解决方案1】:

    According to the Rails core team member Rafael França:

    这个“错误”只是一个警告。它不应该影响设置,您可以忽略它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-10-02
      • 2011-04-07
      • 1970-01-01
      • 1970-01-01
      • 2011-05-22
      • 2015-05-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多