From: Karuppasamy M Date: 2011-03-04T18:02:59+09:00 Subject: Re: parsing json document --000e0cd23d12820a89049da4693a Content-Type: text/plain; charset=UTF-8 It's a common problem for beginners. :) You just include the 'rubygems' at beginning in you file. Then continue your json parsing work. All the best. irb(main):001:0> require 'json' LoadError: no such file to load -- json from (irb):1:in `require' from (irb):1 // solution irb(main):002:0> require 'rubygems' => true irb(main):003:0> require 'json' => true On Fri, Mar 4, 2011 at 2:18 PM, vahag vardanyan wrote: > Hi)) > > am just begening programming with ruby)) > but there is a problem with parsing json document > for example I type > > require 'json' > JSON.parse '[{"name": "mike"}]' > > and there is eror > > `require': no such file to load -- json (LoadError). > > I am not sudo in server, so I can't install any features. > > So how I can parse Json document in Ruby??? > > > sorru for bad English)))) > > -- > Posted via http://www.ruby-forum.com/. > > --000e0cd23d12820a89049da4693a--