kenjij / newrelic_redis_plugin

New Relic plugin for Redis in Ruby
MIT License
32 stars 17 forks source link

could not find dante #13

Open santoshblearner opened 8 years ago

santoshblearner commented 8 years ago

We have installed Redis plugin (https://github.com/kenjij/newrelic_redis_plugin) and now we are trying to make it run like executable. However we are getting error

error start

'could not find dante-0.2.0 in any source file' in any of the sources Run bundle install to install missing gems

error end

We have run the bundle install. Also tried dante bundle update but it is not working.

PikachuEXE commented 8 years ago

I guess the doc is incorrect You need to install 3 gems

My script for installing plugin is:

PLUGIN_DOWNLOAD_URL="https://github.com/kenjij/newrelic_redis_plugin/archive/v1.0.1.tar.gz"; \
  PLUGIN_DOWNLOAD_FILENAME="newrelic_redis_plugin.tar.gz"; \
  PLUGIN_INSTALL_FOLDER_PATH="/usr/local/bin/newrelic_redis_plugin"; \
  BUNDLER_VERSION="1.12.5"; \
  set -x \
  && \
  gem install --no-document --no-post-install-message \
    bundler -v "$BUNDLER_VERSION" \
  && \
  gem install --no-document --no-post-install-message \
    newrelic_plugin \
    dante \
    redis \
  && \
  cd /tmp \
    && \
    curl -L "$PLUGIN_DOWNLOAD_URL" -o "$PLUGIN_DOWNLOAD_FILENAME" && \
      mkdir -p "$PLUGIN_INSTALL_FOLDER_PATH" && \
      tar -xzf "$PLUGIN_DOWNLOAD_FILENAME" -C "$PLUGIN_INSTALL_FOLDER_PATH" --strip-components=1 \
  && \
  rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/src/*
santoshblearner commented 8 years ago

Hi PikachuEXE,

Thank you for your inputs. We were able to figure out the issue resolution. This issue can be marked as closed now.