Bodacious/mp3_player

URI on heroku

Closed this issue · 2 comments

I found a little bug though in setting up a site that uses this plugin on heroku. I kept getting something along the lines of "no such file to load 'URI'". It looked through the stack trace and found found that require "URI" was in the view_helper.rb file. I looked up the URI library and all of the examples had "require 'uri'". I tried that and it worked just fine both on my local machine and on the heroku cloud. Don't know why "URI" would work on the local machine but not in the cloud, but there you have it.

In any case, thanks for the great plugin.

Hi there - thanks for the feedback

I downcased the "URI" at the top of the view helper.

Not sure why that was caps.

Please let me know if that solves the issue?

Thanks

Gav

Like I said, I made that switch and it works for me now.

Cheers

Chris