sms-fu icon indicating copy to clipboard operation
sms-fu copied to clipboard

Getting error "no such file to load -- pony (LoadError)" with Rails 3.0.5

Open Ritesh-Kumar opened this issue 13 years ago • 3 comments

Hi, thanks for the wonderful SMSFu.

I am trying to integrate it with Rails 3.0.5. I am using

# ActionMailer delivery
$SMS_FU = SMSFu::Client.configure(:delivery => :action_mailer)

and don't want to use pony

I tried with gem version - '1.1.1' and '1.1.2' and also tried with plugin and able to successfully install. But when tried to start the server, getting following error:

no such file to load -- pony (LoadError)

I did manage to get a fix of this by commenting "require 'pony'" line2 in plugin file "vendor/plugins/sms_fu/lib/sms_fu.rb"

You can find detailed error report here .

Not very sure about this issue, so thought to discuss with you.

Thanks Ritesh Kumar

Ritesh-Kumar avatar Aug 23 '11 12:08 Ritesh-Kumar

If pony gem is a requirement, then it should be in the gem dependencies so that bundler will automatically install it!

dsaronin avatar Sep 18 '11 05:09 dsaronin

SMS Fu relies on either ActionMailer or Pony for delivery. If I have configured ActionMailer then it should not bother about Pony configuration or pony gem dependency.

Ritesh-Kumar avatar Sep 19 '11 06:09 Ritesh-Kumar

agreed. Pony should not be a required dependency

aaronchi avatar Sep 19 '11 19:09 aaronchi