diff --git a/Gemfile b/Gemfile index e15701c..6f6ec49 100644 --- a/Gemfile +++ b/Gemfile @@ -31,6 +31,8 @@ gem 'bh', '~> 1.2' gem 'will_paginate', '~> 3.0.6' gem 'will_paginate-bootstrap' +gem 'mathjax-rails' + # Use ActiveModel has_secure_password # gem 'bcrypt', '~> 3.1.7' diff --git a/Gemfile.lock b/Gemfile.lock index 2e78cb0..2ac9ccd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -56,6 +56,8 @@ GEM json (1.8.1) mail (2.6.3) mime-types (>= 1.16, < 3) + mathjax-rails (2.3.0) + railties (>= 3.0) mime-types (2.4.3) minitest (5.4.3) multi_json (1.10.1) @@ -125,6 +127,7 @@ DEPENDENCIES coffee-rails (~> 4.0.0) jbuilder (~> 2.0) jquery-rails + mathjax-rails rails (= 4.1.7) sass-rails (~> 4.0.3) sdoc (~> 0.4.0) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 4136c83..b726f49 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -4,6 +4,18 @@