Rvm + rails3 + gmaps4rails - actions_as_gmappable

I'm a nob with ruby ​​rails and that's it. Sorry if my question is dumb.

I installed the environment with rvm (as a user) with ruby ​​1.8.7-p334. I created a gemset for my "application", and now I would like to show the address map on the page. I searched and found gmaps4rails.
I add "gem" gmaps4rails "to my Gemfile and install package

I changed my model (added the necessary columns and rake db: migrate) and act_as_gmappable, and I get
undefined local variable or method `acts_as_gmappable'
If I add "gmaps4rails", I get
no such file to load -- gmaps4rails

Any ideas?

Thanks.

+3
source share
1 answer

I'm afraid it's my fault:

after hours of fighting pow: http://pow.cx/

I ended up adding a .rvmrc file that installs the ruby ​​version on ree , and I forgot to add this file to my gitignore ...

Ok, that should be good at 0.8.3, let me know!

+3
source

Source: https://habr.com/ru/post/890949/


All Articles