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

NameError: uninitialized constant ForecastIO::Forecast #5

Open
maier-stefan opened this issue May 8, 2017 · 1 comment
Open

NameError: uninitialized constant ForecastIO::Forecast #5

maier-stefan opened this issue May 8, 2017 · 1 comment

Comments

@maier-stefan
Copy link

maier-stefan commented May 8, 2017

I installed the gem and i can do configure ForecastIO.
If i want to use the ForecastIO::Forecast.new command somehow my application can not pick up the Forcast class.

I'm running ruby 2.4.0p0 and Rails 5.0.2.
forecast_io (2.0.1)
I was trying to run some api calls in the terminal.

Somehow the constants get not loaded.

puts ForecastIO.constants.inspect
[:VERSION, :Configuration]
=> nil

@coreycondardo
Copy link

I think this gem has the same name, and is being used instead: https://github.com/darkskyapp/forecast-ruby

I had the same issue and the methods are different so I tried this gem and it worked.

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