Permalink
Browse files

require 'rufus-json/automatic'

  • Loading branch information...
1 parent 2b60d49 commit a649f689c3ec1ca1ad233258c7bc3de31c2633eb @jmettraux jmettraux committed Aug 4, 2012
Showing with 9 additions and 13 deletions.
  1. +9 −13 config.ru
View
@@ -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

0 comments on commit a649f68

Please sign in to comment.