noosfero | Load jrails the right way

Antonio Terceiro gitlab at gitlab.com
Wed Feb 25 13:12:22 BRT 2015


Antonio Terceiro pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>

Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/fb48ecc5d959d74b753ba16dc9caa108f70a767b">fb48ecc5</a> by Antonio Terceiro
Load jrails the right way

This fixes a bunch of tests for me

- - - - -


Changes:

=====================================
Gemfile
=====================================
--- a/Gemfile
+++ b/Gemfile
@@ -18,7 +18,7 @@ gem 'exception_notification',   '~> 4.0.1'
 gem 'gettext',                  '~> 2.2.1', :require => false, :group => :development
 gem 'locale',                   '~> 2.0.5'
 gem 'whenever', :require => false
-gem 'eita-jrails'
+gem 'eita-jrails', :require => false
 
 group :production do
   gem 'dalli', '~> 2.7.0'

=====================================
config/initializers/jrails.rb
=====================================
--- /dev/null
+++ b/config/initializers/jrails.rb
@@ -0,0 +1 @@
+require 'jrails'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150225/77d69388/attachment.html>


More information about the Noosfero-dev mailing list