sms-fu
sms-fu copied to clipboard
Getting error "no such file to load -- pony (LoadError)" with Rails 3.0.5
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
If pony gem is a requirement, then it should be in the gem dependencies so that bundler will automatically install it!
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.
agreed. Pony should not be a required dependency