-
Notifications
You must be signed in to change notification settings - Fork 69
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
Case sensitivity messing up dependencies in bundler #384
Comments
Investigating |
I tried both |
I am on Mac and I did try adding the gem with lower case but it didn't work
|
I had the same problem. Gemfile: source 'https://rails-assets.org' do
gem 'rails-assets-formrenderer-base', '1.2.6'
end the gemspec for The
(instead of "Using rails-assets-DOMPurify 1.0.2"). Additionally, when I try to launch the server, it shows:
Adding What does work is manually editing Anyone have any idea whats going on here? I'm on macOS, using bundler version 1.15.4 |
Note that on rails-assets.org, the gem is lowercase: https://rails-assets.org/#/components/dompurify |
Nvm, when I tried to deploy I got the following error:
This tends to happen when Gemfile.lock is manually edited, so I'll need to find some other workaround. |
I found another workaround - since I control the
to
I think the root of the problem here is that there are two bower components for this library, one lower case and one with mixed case. I released a new version of my library, and it looks like now bundler/rails-assets was able to match against the existing lowercase dompurify rubygem. It looks like right after I did this, someone added a second dompurify package to rails-assets, this one upper case: https://rails-assets.org/#/components/DOMPurify . So now it should work either way. |
rails-assets-angular-scroll-pane depends on "jscrollpane" but jscrollpane pointing to "jScrollPane" at https://github.com/vitch/jScrollPane
And even though in bundle it would say "Installing rails-assets-jscrollpane 2.0.23", and installed, when running "rails s" it will say that
"Could not find rails-assets-jscrollpane-2.0.23 in any of the sources"
And it turns out that in the gem folder where bundle stores the gem, the folder is actually named
"rails-assets-jScrollPane-2.0.23"
No matter what I do the case will always be wrong.
I hope for a fix. Thanks.
The text was updated successfully, but these errors were encountered: