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

NoMethodError when loading gooddata gem #45

Closed
PandaWhisperer opened this issue Apr 2, 2014 · 2 comments
Closed

NoMethodError when loading gooddata gem #45

PandaWhisperer opened this issue Apr 2, 2014 · 2 comments
Assignees
Milestone

Comments

@PandaWhisperer
Copy link

With the latest version of the GoodData gem, simply doing

require 'gooddata'

fails with the following error:

undefined method `Pathname' for main:Object (NoMethodError)

To fix this, one has to require 'pathname' before loading the GoodData gem.

@fluke777 fluke777 self-assigned this Apr 2, 2014
@fluke777 fluke777 added this to the 0.6.0 milestone Apr 2, 2014
@fluke777
Copy link
Contributor

fluke777 commented Apr 3, 2014

This is fixed here 4e2bdf6 .

@fluke777 fluke777 closed this as completed Apr 3, 2014
@fluke777
Copy link
Contributor

fluke777 commented Apr 3, 2014

You can remedy the situation temporarily (until the fix is out) by requiring 'pathname' before requiring gooddata so at the beginning of your script you should have something like

require 'pathname'
require 'gooddata'

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