diff --git a/config.ru b/config.ru index 6f50d587..68b69a91 100644 --- a/config.ru +++ b/config.ru @@ -6,21 +6,17 @@ require 'bundler/setup' # json + +# make sure you have an entry like:w # -# try yajl-ruby first, and json after that - -begin - require 'yajl' -rescue LoadError - begin - require 'json' - rescue LoadError - puts 'Please specify "gem {yajl-ruby|json_pure|json}" in the Gemfile' - exit - end -end +# gem 'yajl-ruby', :require => 'yajl' +# +# or +# gem 'json', :require => 'yajl' +# +# in your Gemfile -require 'rufus-json' +require 'rufus-json/automatic' # ruote-kit