Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ritesh-Kumar opened this issue Aug 23, 2011 · 3 comments

Comments

@Ritesh-Kumar
Copy link

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

@dsaronin
Copy link

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

@Ritesh-Kumar
Copy link
Author

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.

@aaronchi
Copy link

agreed. Pony should not be a required dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants