Skip to content
Browse files

Add activesupport for JSON methods

  • Loading branch information...
1 parent b8cccfb commit 9f86d8a3fdacdc8a7a5544d90715cc21694e4a31 Lewis Marshall committed
Showing with 8 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +6 −0 Gemfile.lock
  3. +1 −0 app.rb
View
1 Gemfile
@@ -1,3 +1,4 @@
source :rubygems
+gem 'activesupport'
gem 'sinatra'
View
6 Gemfile.lock
@@ -1,6 +1,11 @@
GEM
remote: http://rubygems.org/
specs:
+ activesupport (3.2.8)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ i18n (0.6.1)
+ multi_json (1.3.6)
rack (1.4.1)
rack-protection (1.2.0)
rack
@@ -14,4 +19,5 @@ PLATFORMS
ruby
DEPENDENCIES
+ activesupport
sinatra
View
1 app.rb
@@ -1,4 +1,5 @@
require 'sinatra'
+require 'active_support/core_ext'
get '/' do
erb :index

0 comments on commit 9f86d8a

Please sign in to comment.
Something went wrong with that request. Please try again.