-
Notifications
You must be signed in to change notification settings - Fork 9
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
Error trying to retrieve data from the gem #12
Comments
@apcano1978 thanks for using our gem. You should require it with |
It still says 'cannot load such file -- ine/places’
What is the exact location of the files? Cause I don’t see them on the
‘lib’ folder anywhere.
It is enough installing the gem via bundler, isn’t it?
Best regards
Antonio
El 17 de octubre de 2019 a las 11:21:47, Fernando Blat (
[email protected]) escribió:
@apcano1978 <https://github.com/apcano1978> thanks for using our gem.
You should require it with require "ine/places" to get all the constants
loaded properly. We'll update the documentation to avoid this confussion,
thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12?email_source=notifications&email_token=AC2YS5N7GV6PM5D32CPAQMTQPAVCXA5CNFSM4JBV76ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBPNURA#issuecomment-543087172>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC2YS5LZJN5G72HGIOALZSDQPAVCXANCNFSM4JBV76ZA>
.
|
Perdón, eso era antes de meter `zeitwerk` para cargar las dependencias.
Ahora sólo con hacer require "ine" debería de funcionar.
…On Thu, 17 Oct 2019 at 11:34, Antonio Perez ***@***.***> wrote:
It still says 'cannot load such file -- ine/places’
What is the exact location of the files? Cause I don’t see them on the
‘lib’ folder anywhere.
It is enough installing the gem via bundler, isn’t it?
Best regards
Antonio
El 17 de octubre de 2019 a las 11:21:47, Fernando Blat (
***@***.***) escribió:
@apcano1978 <https://github.com/apcano1978> thanks for using our gem.
You should require it with require "ine/places" to get all the constants
loaded properly. We'll update the documentation to avoid this confussion,
thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
#12?email_source=notifications&email_token=AC2YS5N7GV6PM5D32CPAQMTQPAVCXA5CNFSM4JBV76ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBPNURA#issuecomment-543087172
>,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AC2YS5LZJN5G72HGIOALZSDQPAVCXANCNFSM4JBV76ZA
>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12?email_source=notifications&email_token=AAAEJUAK5KWK6XHZIDN3OZDQPAWSFA5CNFSM4JBV76ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBPO2EQ#issuecomment-543091986>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAEJUBLHYT4ZCWRSI5XF5TQPAWSFANCNFSM4JBV76ZA>
.
--
Fernando Blat
[email protected]
+34 660825001
Populate / Tools for civic engagement
https://populate.tools
Project stories
twitter.com/populate_ & populate.tools/blog
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to retrieve provinces in my rails project, first I installed the gem, I saw no aditional configuration needed, and when I tried to retrieve data, for instance:
provinces = INE::Places::Province.all
I always get the following error:
Uninitialized constant INE
I don´t know if I am doing something wrong or the gem is not getting installed properly.
Regards
Antonio
The text was updated successfully, but these errors were encountered: