Closed fwolfst closed 4 years ago
Hello @fwolfst
What version of the solidus_static_content
are you pulling?
My gem is pointing to master branch with the latest commit and it is working for me. Could you have a look to your lock file and check if that works? Regards
GIT
remote: https://github.com/solidusio-contrib/solidus_static_content.git
revision: 4ffe31c3b04b7ddbee36931689eb2be5ef5900b8
branch: master
specs:
solidus_static_content (1.0.0)
deface (~> 1.0)
solidus_core (>= 2.0.0, < 3)
solidus_support (~> 0.5)
I just required it as per README, but will try with master branch.
solidus_static_content
never made it into Gemfile.lock (I think this only happens on successfull dependency resolution and installation).
I then manually installed it (gem install solidus_static_content
), which will result in:
gem info solidus_static_content
*** LOCAL GEMS ***
solidus_static_content (1.0.0)
Authors: Peter Berkenbosch, Roman Smirnov
Homepage: http://spreecommerce.com/extensions/139-static-content
License: BSD-3
Installed at: /home/XXXXX/gems/ruby-2.7.1
Extention to manage the static pages for your Spree shop.
Okay, gem 'solidus_static_content', github: 'solidusio-contrib/solidus_static_content'
in Gemfile
does the trick, but this means a new version should be released or the README updated
.
Hi @fwolfst
I think if you install it as the README you will get the latest release that is 1.0.0
as it is the only release available in the release section. You could go in more detail in your Gemfile
to point to a particular branch, tag or version like this.
gem 'solidus_static_content', github: 'solidusio-contrib/solidus_static_content', branch: 'master'
Change your Gemfile
and then run the following command:
bundle update
Be aware that the previous command will attempt to update other gems as well, just update and commit your changes for the gem you want. Just make sure your lock file is not completely broken after the update.
Regards
Hi @fwolfst
I guess there was not release with the latest features and bug fixes, so I guess master is the latest.
I'm glad is working for you now. I guess you could close this bug as it is working now?
Regards
Thanks @memotoro . It always gives me a bit of creeps if I depend on the github master
branch of a gem. Is there anything that can be done for a "proper" 1.0.1 / 1.1 release?
Hi @fwolfst
I understand your concern with master
. Is your lock file in version control? That is something I tried to keep there so I definitely work with a particular commit hash even though is pointing to master.
I'm not sure how is the release process, I guess @aldesantis or @kennyadsl could help here? I always bug them with things like this. I'm not sure how the team decides to create a release or how this fit in the release roadmap they have. Regards
@fwolfst @memotoro hey there, we are slowly releasing new versions of all extensions. I'll give this a go tomorrow if that works!
I guess there was not release with the latest features and bug fixes, so I guess master is the latest.
I'm glad is working for you now. I guess you could close this bug as it is working now? I'd wait till release.
Thanks so far, that was quick and concise help and response.
I ran into the same issue, and running bundle update instead of bundle worked to resolve the dependency issue for me.
I have just released 2.0.0 with all the latest improvements. It's a major because I also took the chance to remove all deprecated modules and code, so a few things may break here and there, but changing the require paths and namespaces should be enough to fix it.
Installing latest solidus and the solius_static_content extension leads to
I believe the "culprit" here is the dependency on deface
~> 1.0.2
, where hopefully~> 1.0
would suffice.