Error setting up jekyll in ubuntu

Today i was trying to setup jekyll in ubuntu. Installation as such as is not bad. install rubygems, ruby-dev, after that 

gem install jekyll (which was originally stated by the blog).

Then run the command, 

jekyll new myblog,

the following error is reported

> $ jekyll new myblog
/var/lib/gems/1.8/gems/commander-4.1.6/lib/commander/runner.rb:385:in require_program': program version required (Commander::Runner::CommandError)<br /> from /var/lib/gems/1.8/gems/commander-4.1.6/lib/commander/runner.rb:384:ineach'
from /var/lib/gems/1.8/gems/commander-4.1.6/lib/commander/runner.rb:384:in require_program'<br /> from /var/lib/gems/1.8/gems/commander-4.1.6/lib/commander/runner.rb:52:inrun!'
from /var/lib/gems/1.8/gems/commander-4.1.6/lib/commander/delegates.rb:8:in run!'<br /> from /var/lib/gems/1.8/gems/commander-4.1.6/lib/commander/import.rb:10<br /> from /usr/local/bin/jekyll:19<br />/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:ingemoriginalrequire': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendorruby/1.8/rubygems/customrequire.rb:36:in require'<br /> from /var/lib/gems/1.8/gems/jekyll-1.4.3/bin/../lib/jekyll/filters.rb:2<br /> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:ingemoriginalrequire'
from /usr/lib/ruby/vendorruby/1.8/rubygems/customrequire.rb:36:in require'<br /> from /var/lib/gems/1.8/gems/jekyll-1.4.3/bin/../lib/jekyll.rb:44<br /> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:ingemoriginalrequire'
from /usr/lib/ruby/vendorruby/1.8/rubygems/customrequire.rb:36:in require'<br /> from /var/lib/gems/1.8/gems/jekyll-1.4.3/bin/jekyll:7<br /> from /usr/local/bin/jekyll:19:inload'
from /usr/local/bin/jekyll:19

To fix this error, run the following commands

gem install json

gem install commander

soundararajan