{"id":872,"date":"2022-08-30T15:08:35","date_gmt":"2022-08-30T15:08:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/rvm-rails3-gmaps4rails-acts_as_gmappable-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:08:35","modified_gmt":"2022-08-30T15:08:35","slug":"rvm-rails3-gmaps4rails-acts_as_gmappable-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/rvm-rails3-gmaps4rails-acts_as_gmappable-collection-of-common-programming-errors\/","title":{"rendered":"rvm + rails3 + gmaps4rails &#8211; acts_as_gmappable-Collection of common programming errors"},"content":{"rendered":"<p>I am a noob with ruby rails and all. Sorry if my question is dumb.<\/p>\n<p>I set up a environment with rvm (as a user) running ruby 1.8.7-p334. I have created a gemset for my &#8220;app&#8221; and now I would like to show a map of an address on the page. I&#8217;ve been looking around and found gmaps4rails.<br \/>\nI&#8217;ve add &#8220;gem &#8216;gmaps4rails&#8217; &#8220;to my Gemfile &amp; bundle install<\/p>\n<p>I modified my model (added the required columns and rake db:migrate) and acts_as_gmappable and I get<br \/>\n<code>undefined local variable or method `acts_as_gmappable'<\/code> If I add require &#8216;gmaps4rails&#8217; I get a<\/p>\n<p><code>no such file to load -- gmaps4rails<\/code><\/p>\n<p>Any ideas folks ?<\/p>\n<p>Thanks.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:50:30. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I am a noob with ruby rails and all. Sorry if my question is dumb. I set up a environment with rvm (as a user) running ruby 1.8.7-p334. I have created a gemset for my &#8220;app&#8221; and now I would like to show a map of an address on the page. I&#8217;ve been looking around [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-872","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}