Take the 2-minute tour ×

i'm not a full RoR developer (php developer mostly), i've only don't small projects/tutorials, but i've inherited a rails project and though my environment mimics the heroku production environment, i stil have a problem on our local in house environment. we are migrating the application to be hosted in house.

i've run bundle install and i have all the gems needed, but i still get a random error for: Could not find Ascii85-1.0.1 in any of the sources (Bundler::GemNotFound). i ran gem list and the gem exists, but the application won't run. the database connection appears to be correct, i'm just not sure what the issue is, any advice would be great - thanks in advance.

attached is the full passenger/rake error: enter image description here

share|improve this question

3 Answers 3

up vote 4 down vote accepted

In more detail: the reason you're seeing this error is because something in your application is asking to require the Ascii85 code. This could be in your app's code, or in one of its gems or plugins.

To see a gem's dependencies (i.e. what it needs) and what requires it:

$ gem dependency Ascii85 --reverse-dependencies
Gem Ascii85-1.0.1
  bundler (>= 1.0.0, development)
  rspec (>= 2.4.0, development)
  Used by
    pdf-reader-1.1.0 (Ascii85 (~> 1.0.0))

So the pdf-reader gem is a possible issue. The results on your system may different.

Looking at pdf-reader:

$ gem dependency pdf-reader --reverse-dependencies
Gem pdf-reader-1.1.0
  Ascii85 (~> 1.0.0)
  ZenTest (~> 4.4.2, development)
  rake (>= 0, development)
  roodi (>= 0, development)
  rspec (~> 2.3, development)
  ruby-rc4 (>= 0)
  Used by
    prawn-0.12.0 (pdf-reader (>= 0.9.0))

So the prawn gem needs pdf-reader, which needs Ascii85.

In Rails, it happens from time to time that an app author or gem author doesn't add all the dependencies to the Gemfile or install scripts.

Usually this is a mistake and easy to fix - you can fix it in your app by adding the gem, and ideally also you can contact the author to suggest a fix.

Sometimes there are reasons for a missing dependency, such as code that needs an implementation of a method but leaves it up to you which gem to install to provide the method.

Hope this helps.

share|improve this answer
could this be an issue with prawn, i appears to be a rendering library or something? –  Robert Van Sant Mar 27 '12 at 22:23
To see a gem's dependencies (i.e. what it needs) and what depends on it: gem dependency Ascii85 --reverse-dependencies –  joelparkerhenderson Mar 28 '12 at 0:08
thanks again joel!! –  Robert Van Sant Apr 7 '12 at 5:40

Just include the same gem in your Gemfile and do bundle install. In the Gemfile just put the below line,

gem "Ascii85", "~> 1.0.1"

Try 'bundle install'. It will sort out the problem.

Thanks :)-

share|improve this answer

Be sure to have

umask 0022

when running things like... bundle install


bundle install --path vendor/bundle  
share|improve this answer

Your Answer


