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

no such file to load -- apn_on_rails_tasks #12

Open
michaelkirk opened this issue Nov 17, 2010 · 1 comment
Open

no such file to load -- apn_on_rails_tasks #12

michaelkirk opened this issue Nov 17, 2010 · 1 comment

Comments

@michaelkirk
Copy link

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.

@rebeccanesson
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants