After turning my Gemfile.local.rb into this pile of shit:
gem 'foreman_salt', :git => "https://github.com/theforeman/foreman_salt.git";
, :branch => "SALT-6.0"
#gem 'sqlite3'
#gem 'spice-html5-rails'
#gem 'jquery_pwstrength_bootstrap_4'
gem 'jquery-turbolinks', '~> 2.1'
gem 'jquery-ui-rails'
/config/environments/production.rb
# config.assets.js_compressor = :uglifier
config.assets.css_compressor = :sass
fixes but gives:
sudo -u foreman foreman-rake assets:precompile
I, [2016-10-04T20:20:41.200337 #21921] INFO -- : Writing
/usr/share/foreman/public/assets/host_checkbox
thanks but:
sudo -u foreman foreman-rake assets:precompile
rake aborted!
LoadError: cannot load such file -- uglifier
/usr/share/foreman/vendor/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
`require'
/usr/share/foreman/vendor/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
`requir
Remove your test db, then try RAILS_ENV=test ruby -I'test'
test/unit/foreman/access_permissions_test.rb and you'll see it
happening. I think it's just because tests are loaded earlier than
permissions from plugins now.
On Tue, Oct 4, 2016 at 12:39 PM, Ivan Necas wrote:
> So far, I can tell this P
So far, I can tell this PR
https://github.com/theforeman/foreman/pull/3843 introduced the
behaviour
as it's green on
http://ci.theforeman.org/job/test_plugin_matrix/2059/database=mysql,ruby=2.3,slave=fast/
and red on following commit
http://ci.theforeman.org/job/test_plugin_matrix/2060/database=my