add malloc limit increase so it works nicely with oobgc
authorSam Saffron <sam.saffron@gmail.com>
Fri, 15 Nov 2013 01:20:05 +0000 (17:20 -0800)
committerSam Saffron <sam.saffron@gmail.com>
Fri, 15 Nov 2013 01:20:40 +0000 (17:20 -0800)
remove deployment

standalone.template.yml

index 220e7d7423b3deb4ef73aaa187aa53eca1c563c3..6c70fe4e964301f6fce425dd309d772f438018d2 100644 (file)
@@ -11,8 +11,9 @@ env:
   # You can have redis on a different box
   # REDIS_PROVIDER_URL: 'redis://l.discourse:6379'
   RAILS_ENV: 'production'
-  RAILS4: 1
   UNICORN_WORKERS: 3
+  # slightly less aggressive than "recommendation" but works fine with oobgc
+  RUBY_GC_MALLOC_LIMIT: 25000000
 
 params:
   # SSH key is required for remote access into the container
@@ -210,7 +211,7 @@ run:
       cd: $home
       cmd:
         - chown -R discourse $home
-        - sudo -E -u discourse bundle install --deployment
+        - sudo -E -u discourse bundle install --deployment --without test --without development
         - sudo -E -u discourse bundle exec rake db:migrate
         - sudo -E -u discourse bundle exec rake assets:precompile