-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Don't know how to build task 'environment' #80
Comments
Sorry I was traveling when you raised this. I’ll have a look and see if I can recreate the error. |
Found a solution/workaround: config.before(:suite) {
Rails.application.load_tasks
Seedbank.load_tasks
Rake::Task["db:seed:test"].invoke
} |
@xtagon thanks for posting your workaround, this worked for me as well 👍 |
gregorbg
referenced
this issue
in gregorbg/worldcubeassociation.org
Mar 1, 2023
Including hotfix as per https://github.com/james2m/seedbank/issues/80\#issuecomment-1183799920
gregorbg
referenced
this issue
in gregorbg/worldcubeassociation.org
Mar 1, 2023
Including hotfix as per https://github.com/james2m/seedbank/issues/80\#issuecomment-1183799920
gregorbg
referenced
this issue
in gregorbg/worldcubeassociation.org
Mar 18, 2023
Including hotfix as per https://github.com/james2m/seedbank/issues/80\#issuecomment-1183799920
gregorbg
referenced
this issue
in gregorbg/worldcubeassociation.org
Mar 18, 2023
Including hotfix as per https://github.com/james2m/seedbank/issues/80\#issuecomment-1183799920
gregorbg
referenced
this issue
in gregorbg/worldcubeassociation.org
Mar 18, 2023
Including hotfix as per https://github.com/james2m/seedbank/issues/80\#issuecomment-1183799920
gregorbg
referenced
this issue
in thewca/worldcubeassociation.org
Mar 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have a hook in my Rspec config to run my test seeds with Seedbank before my test suite runs. Worked great until I tried to upgrade Seedbank to 0.5.0, now I get this error:
Here are the relevant lines from my config:
What is the recommended way of accomplishing this? I don't believe I can do
Rails.application.load_seed
with Seedbank.It works fine on 0.4.0.
Thanks!
The text was updated successfully, but these errors were encountered: