question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find gem 'embulk (>= 0.9.15)'

See original GitHub issue

Context

Hi, I’m a newbie embulk plugin developper and I haven’t created before. I’ve just followed the doc and “Next steps” output:

https://www.embulk.org/docs/customization.html

I confirmed removing version constraint for embulk fixes this problem but I’m not sure about compatibility.


Issue Type: Bug Report

  • Write the following environmental information.
    • Docker for Mac Version 2.0.0.3 (31259)
    • Java version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
  • Embulk version embulk 0.9.15
  • Steps to reproduce
  1. Write a Dockerfile
FROM ruby:2.6

RUN apt-get update && apt-get install -y git default-jdk

RUN curl --create-dirs -o /usr/local/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar"
RUN chmod +x /usr/local/bin/embulk

RUN useradd --create-home --user-group --uid 1000 app && mkdir /app /vendor && chown app:app /app /vendor

USER app

WORKDIR /app
  1. Run the following commands:
docker build . -t embulk-test
docker run embulk-test bash -c 'embulk new ruby-input xxx && cd embulk-input-xxx && bundle install'
  • Expected behavior

bundle install is successfully finished

  • Actual behavior
2019-02-21 16:53:34.894 +0000: Embulk v0.9.15
Creating embulk-input-xxx/

Plugin template is successfully generated.
Next steps:

  $ cd embulk-input-xxx
  $ bundle install                      # install one using rbenv & rbenv-build
  $ bundle exec rake                    # build gem to be released
  $ bundle exec embulk run config.yml   # you can run plugin using this command

fatal: Not a git repository (or any of the parent directories): .git
Fetching gem metadata from https://rubygems.org/..............
Fetching gem metadata from https://rubygems.org/.
Could not find gem 'embulk (>= 0.9.15)' in any of the gem sources listed in your
Gemfile.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sonotscommented, Mar 4, 2019
0reactions
sonotscommented, Mar 4, 2019

Wrote a document at https://github.com/embulk/embulk/issues/628#issuecomment-469047610 (This issue is the one shown on deprecation warning message)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a fix for the "Could not find *gem* in any of the sources ...
I am trying to get my development environment setup on a new computer. After googling this error, the response seems to be to...
Read more >
embulk-parser-none | RubyGems.org | your community gem host
Embulk parser plugin not to parse at all. Versions: 0.2.0 - February 22, 2016 (58.5 KB); 0.1.0 - October 27, 2015 (58 KB)....
Read more >
そのっつ (Naotoshi Seo) on Twitter: "@dmikurube embulk-output ...
一方で Gemfile に gem 'embulk' を書かないと embulk run -b できない、という不整合な ... Could not find gem 'embulk (>= 0.9.15)' · Issue #1109 · embulk/embulk....
Read more >
embulk - Bountysource
Because max_threads may not be available on other executors such as map reduce executor, I also want an API to get the kind...
Read more >
embulk-output-bigquery 0.4.10 → 0.4.11 - Diffend
Sign up to get free protection for your applications and to get access to ... an error if number of input rows and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found