-
Notifications
You must be signed in to change notification settings - Fork 95
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
Knapsack doesn't work with spring binstubs #54
Comments
I saw you forked the gem synth@884069c |
Yes, it solves it temporarily. Perhaps the rspec command can be parameterized. |
In knapsack_pro gem I load the rspec task in a bit different way: You may want to try the knapsack_pro gem to see if it works better for you. |
is it possible to try knapsack_pro (just to see if it fixes the issue) without getting a license for it? Why doesn't knapsack free use the same way of loading rake tasks? It'd be nice to make sure that the free version works with spring binstubs too, since it's a fairly common thing. (I'm having a similar issue and am trying @synth's fork, but it'd be nice to not have to do that) Ah, bleh, my issue was not resolved by using the fork. So maybe it's a different issue. Briefly, I have this code if ENV['UPLOAD_CODECOV']
require 'simplecov'
require 'codecov'
SimpleCov.start 'rails' do
formatter SimpleCov::Formatter::Codecov
end
Rails.application.eager_load!
end But when I use Knapsack it fails because |
Hi @ibrahima
Sure you can try https://knapsackpro.com for free. The trial is 14 days and days are count only when you use Knapsack Pro API. If you need more time to test it please just drop me an email so I will extend your trial period.
knapsack gem is older project than knapsack_pro hence the differences. |
Ah OK, that still didn't resolve my issue, so I think my problem is unrelated to binstubs. I'll open a new issue then. |
Our app has binstubs generated by rails/spring in the application root/bin folder. So for example, here is Rails.root/bin/rspec
So, we execute all commands with the bin/ prefix.
When we run knapsack
We get loads of errors, including
undefined_method
errorsHow can we get Knapsack to play nice with our binstubs?
The text was updated successfully, but these errors were encountered: