Closed Patrax closed 8 years ago
remove the : at the end of style.
def pdfjs_viewer(style, pdf_url: nil, title: nil)
I had the same problem. The issue is that in my case I cannot easily modify the file provided by the gem since I have an automatic deployment in AWS: machine starts, git pull, bundle install, then rails runner something and it crashes because of this bug.
I fixed the problem by bundle installing all packages in vendor/bundle and then making the fix, but it forces to have all packages uploaded in my repo so that's not entirely optimal.
@Patrax this library requires at least Ruby 2.1
When deploying to Heroku, this error comes up.
Important part:
Full error: