-
Notifications
You must be signed in to change notification settings - Fork 55
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
/usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find blankslate-2.1.2.4 in any of the sources (Bundler::GemNotFound) #32
Comments
I had this issue when first starting the container : ➜ docker run -t --rm -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages
Unable to find image 'starefossen/github-pages:latest' locally
latest: Pulling from starefossen/github-pages
90f4dba627d6: Pull complete
ad7f738df39a: Pull complete
a6e59a321083: Pull complete
c1ea2460dd17: Pull complete
2274dfa03c63: Pull complete
50c4cca21ee0: Pull complete
9fe02f4ff1a4: Pull complete
a722e2320476: Pull complete
Digest: sha256:16b467a530387aaa509b54f514cefb4803a73ef2b179a0dade64aeb4dcb45bc7
Status: Downloaded newer image for starefossen/github-pages:latest
/usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find i18n-0.8.1 in any of the sources (Bundler::GemNotFound)
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/spec_set.rb:81:in `map!'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/spec_set.rb:81:in `materialize'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/definition.rb:159:in `specs'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/definition.rb:218:in `specs_for'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/definition.rb:207:in `requested_specs'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:109:in `block in definition_method'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:21:in `setup'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler.rb:101:in `setup'
from /usr/local/bundle/gems/jekyll-3.5.2/lib/jekyll/plugin_manager.rb:48:in `require_from_bundler'
from /usr/local/bundle/gems/jekyll-3.5.2/exe/jekyll:9:in `<top (required)>'
from /usr/local/bundle/bin/jekyll:23:in `load'
from /usr/local/bundle/bin/jekyll:23:in `<main>'
➜ docker run -t --rm -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages
Password:
/usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find i18n-0.8.1 in any of the sources (Bundler::GemNotFound)
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/spec_set.rb:81:in `map!'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/spec_set.rb:81:in `materialize'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/definition.rb:159:in `specs'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/definition.rb:218:in `specs_for'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/definition.rb:207:in `requested_specs'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:109:in `block in definition_method'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:21:in `setup'
from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler.rb:101:in `setup'
from /usr/local/bundle/gems/jekyll-3.5.2/lib/jekyll/plugin_manager.rb:48:in `require_from_bundler'
from /usr/local/bundle/gems/jekyll-3.5.2/exe/jekyll:9:in `<top (required)>'
from /usr/local/bundle/bin/jekyll:23:in `load'
from /usr/local/bundle/bin/jekyll:23:in `<main>' Then I looked at the Gemfile.lock and foudn a reference to that library in it, so I removed the Gemfile to see if it was related, and it worked : ➜ docker run -t --rm -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages
Password:
Configuration file: /usr/src/app/_config.yml
Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
Source: /usr/src/app
Destination: /_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 5.034 seconds.
Auto-regeneration: enabled for '/usr/src/app'
Server address: http://0.0.0.0:4000/
Server running... press ctrl-c to stop. |
EDIT : haha found the culprit as I'm not a ruby guy, I foudn out that the folder had an old Still got a similar issue. I hoped there was an update on this problem.
|
This looks similar to #11 but I'm struggling to work through the dependencies to resolve it.
When I run the following command:-
I get the following error:-
I tried adding blankslate to the list of gems in the Dockerfile but then it complains about other dependencies. I worked up the chain until I had a Dockerfile like the one below but it seems to be an endless chain of dependencies (the Dockerfile below complains about classifier-reborn missing) and I'm sure there must be an easier way to resolve it.
I'm running Docker 17.09.0-ce-win32 (13529) on Windows 10 Professional.
The text was updated successfully, but these errors were encountered: