This stems from the require 'rails' on line 4 of the gemspec. I see why you're doing that, so you can check whether to use cancan or cancancan, but it doesn't seem like this is safe. I even added a runtime_dependency to the gemspec for rails and it still didn't try to install rails before trying to install canard. I'm sure there is a way, but I'm not sure what it is. Can you help?
There was a LoadError while loading canard.gemspec:
cannot load such file -- rails from
/rails/github/canard/canard.gemspec:4:in `<main>'
This is from my local branch, which is why the path is not maybe what you'd expect.
This stems from the
require 'rails'
on line 4 of the gemspec. I see why you're doing that, so you can check whether to use cancan or cancancan, but it doesn't seem like this is safe. I even added a runtime_dependency to the gemspec for rails and it still didn't try to install rails before trying to install canard. I'm sure there is a way, but I'm not sure what it is. Can you help?This is from my local branch, which is why the path is not maybe what you'd expect.
Thanks!