Hi, after installing the plugin and running a rake production command, i receive the following.... /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'' /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'' /usr/local/lib/ruby/1.8/yaml.rb:144:in `load_file'' /usr/local/lib/ruby/1.8/yaml.rb:143:in `open'' /usr/local/lib/ruby/1.8/yaml.rb:143:in `load_file'' ../vendor/plugins/ym4r_gm/lib/gm_plugin/key.rb:15 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' ... this is the line of code in the key.rb file where it is failing i think... GMAPS_API_KEY = YAML.load_file(RAILS_ROOT + ''/config/gmaps_api_key.yml'')[ENV[''RAILS_ENV'']] does this sound like a problem with what rails version i am using? thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Did your url change? You need a new API key for each url that you use. -Larry On 3/4/07, mixplate <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > Hi, after installing the plugin and running a rake production command, i > receive > > the following.... > > /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'' > /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'' > /usr/local/lib/ruby/1.8/yaml.rb:144:in `load_file'' > /usr/local/lib/ruby/1.8/yaml.rb:143:in `open'' > /usr/local/lib/ruby/1.8/yaml.rb:143:in `load_file'' > ../vendor/plugins/ym4r_gm/lib/gm_plugin/key.rb:15 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > > ... > > this is the line of code in the key.rb file where it is failing i > think... > > GMAPS_API_KEY = YAML.load_file(RAILS_ROOT + > ''/config/gmaps_api_key.yml'')[ENV[''RAILS_ENV'']] > > > does this sound like a problem with what rails version i am using? > > thanks > > -- > Posted via http://www.ruby-forum.com/. > > > >-- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
well typically when my key changed, i would just get a javascript error saying google map api key not valid for this url, try again....the problem i am having is breaking the whole rails app. even when i do a fresh install, i get the error. Larry Kelly wrote:> Did your url change? You need a new API key for each url that you use. > -Larry > > On 3/4/07, mixplate <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> /usr/local/lib/ruby/1.8/yaml.rb:143:in `open'' >> think... >> Posted via http://www.ruby-forum.com/. >> >> > >> > > > -- > Best Regards, > -Larry > "Work, work, work...there is no satisfactory alternative." > --- E.Taft Benson-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
seems like my app is not understanding GMap.header.... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
found the problem....i had a url parameter in the google map api yml when i shouldnt have. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---