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

Problem deploying to Heroku #4

Open
Carlyalexandra opened this issue Aug 29, 2014 · 1 comment
Open

Problem deploying to Heroku #4

Carlyalexandra opened this issue Aug 29, 2014 · 1 comment

Comments

@Carlyalexandra
Copy link

Hi -
Your gem was a great resource - I used it to parse addresses for an app I created. I tried to deploy the app to Heroku and keep getting this error:
NameError (uninitialized constant HomesController::Indirizzo):
Do you know how to correct this? Have you run into a similar issue?

Thanks,
Carly

@lulalala
Copy link

I don't know the full cause behind this, but to solve this, simply open your Gemfile and ensure you require it there:

gem 'Indirizzo', require: "indirizzo"

This is because Gem's name is in uppercase so bundler's auto require won't work as expected.

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