如何在 Github 代码空间上设置开发环境以贡献给 Rails?
How to setup dev environment on Github codespaces to contribute to Rails?
看完 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 以解决依赖性问题。都没有用。有什么想法吗?
According to the Rails core team member Rafael França:
This “error” is just a warning. It should not impact the setup, and you can just ignore it.
看完 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 以解决依赖性问题。都没有用。有什么想法吗?
According to the Rails core team member Rafael França:
This “error” is just a warning. It should not impact the setup, and you can just ignore it.