1

以下を使用して、Rails 3.1rc4でhttp://railscasts.com/episodes/273-geocoderのRailscast #273 からジオコーディングの例を複製します。

    multi_json (1.0.3)
   nifty-generators (0.4.6)

私は得る

NameError in LocationsController#create

uninitialized constant JSON::ParserError
Rails.root: ...

Application Trace | Framework Trace | Full Trace
app/controllers/locations_controller.rb:20:in `create'
This error occurred while loading the following files:
   multi_json/engines/json_gem

これを定義する何かが欠けているに違いありません。誰にもアイデアがありますか?rc4

4

0 に答える 0