forked from jwang/apn_on_rails
-
Notifications
You must be signed in to change notification settings - Fork 159
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
no such file to load -- apn_on_rails_tasks #12
Comments
I don't think this require is necessary. I don't have it in my Rakefile but I have the apn_on_rails rake tasks available. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following the setup instructions, I've put this in my rakefile:
begin
require 'apn_on_rails_tasks'
rescue MissingSourceFile => e
puts e.message
end
But rake is not finding the file:
"no such file to load -- apn_on_rails_tasks "
I have the 0.4.0 version installed in vendor/gems/apn_on_rails-0.4.0/ so I was able to get around this problem by changing my rakefile to:
begin
require 'vendor/gems/apn_on_rails-0.4.0/lib/apn_on_rails_tasks'
rescue MissingSourceFile => e
puts e.message
end
But that's not very convenient. It seems like the gem isn't being included in my path.
FYI I'm using rails 2.1.
The text was updated successfully, but these errors were encountered: