----- Original Message -----
> From: "lakier" <[email protected]>
> To: "foreman-dev" <[email protected]>
> Cc: [email protected]
> Sent: Tuesday, October 4, 2016 4:18:14 PM
> Subject: Re: [foreman-dev] Re: Cannot select salt states
> 
> 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
> `require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
> `block in require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in
> `load_dependency'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
> `require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/autoload/uglifier.rb:1:in
> `<top (required)>'
> /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
> `require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
> `block in require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in
> `load_dependency'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
> `require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:39:in
> `initialize'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:24:in
> `new'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:24:in
> `instance'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:28:in
> `call'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:75:in
> `call_processor'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:57:in
> `block in call_processors'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in
> `reverse_each'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in
> `call_processors'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:134:in
> `load_from_unloaded'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:60:in
> `block in load'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:317:in
> `fetch_asset_from_dependency_cache'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:44:in
> `load'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:20:in
> `block in initialize'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in
> `load'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/base.rb:66:in
> `find_asset'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/base.rb:73:in
> `find_all_linked_assets'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:134:in
> `block in find'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in
> `each'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in
> `find'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:185:in
> `compile'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:70:in
> `block (3 levels) in define'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/rake/sprocketstask.rb:147:in
> `with_logger'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:69:in
> `block (2 levels) in define'
> Polyglot::PolyglotLoadError: Failed to load uglifier using extensions
> deface, rb
> /usr/share/foreman/vendor/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:55:in
> `load'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:68:in
> `rescue in require'
> /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/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
> `block in require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in
> `load_dependency'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
> `require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/autoload/uglifier.rb:1:in
> `<top (required)>'
> /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
> `require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
> `block in require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in
> `load_dependency'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
> `require'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:39:in
> `initialize'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:24:in
> `new'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:24:in
> `instance'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:28:in
> `call'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:75:in
> `call_processor'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:57:in
> `block in call_processors'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in
> `reverse_each'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in
> `call_processors'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:134:in
> `load_from_unloaded'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:60:in
> `block in load'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:317:in
> `fetch_asset_from_dependency_cache'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:44:in
> `load'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:20:in
> `block in initialize'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in
> `load'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/base.rb:66:in
> `find_asset'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/base.rb:73:in
> `find_all_linked_assets'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:134:in
> `block in find'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in
> `each'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in
> `find'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:185:in
> `compile'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:70:in
> `block (3 levels) in define'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-3.7.0/lib/rake/sprocketstask.rb:147:in
> `with_logger'
> /usr/share/foreman/vendor/ruby/2.3.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:69:in
> `block (2 levels) in define'
> Tasks: TOP => assets:precompile
> (See full trace by running task with --trace)
> 
> foreman was installed with foreman-installer.
> 
> Seriously guys, I know no one is getting paid for this project but I was
> willing to help developing it, I tully was.
> Even though I don't do hipster ruby...
> But where the hell is working documentation?

foreman_salt and foreman project both have documentation:
   1. https://theforeman.org/plugins/foreman_salt/
   2. https://theforeman.org/documentation.html

If you find something missing, fixes to documentation get reviewed and
accepted pretty quickly if you want to send us one.

Installing source plugins on top of packaged, production install makes
sense in very few circumstances.  Wanting to develop isn't one of
them IMHO. If you want to be a contributor, there's info about how to
set up a full source install on the Contribute page:

  https://theforeman.org/contribute.html

It's a lot easier than what you are trying to do.  At the end of the
day though, there's some expectation that you know or be willing to
learn the common tools used in the Ruby/Rails world.  There's no end
of material on the internet about it.

I came to the project not knowing nearly nothing about Ruby, and everyone
was really nice enough to help me through everything to the point I was
able to make useful contributions.  And again they were trying to do the
same for you.  Shame you didn't see the value in that.

FWIW, I learned Ruby and Rails mostly from these:

  http://poignant.guide/
  http://railsforzombies.org/
  


> Why for the fuck sake you break builds and leave it?

What's broken?

> Does anyone take this project seriously?

Yes

> 
> On Monday, October 3, 2016 at 3:46:19 PM UTC+2, Dominic Cleal wrote:
> >
> > On 01/10/16 21:53, lakier wrote:
> > > To provide more information, salt foreman plugin was installed via:
> > > gem 'foreman_salt', :git => "url to git", :branch => 'blabla'
> > > and running bundle update, bundle install...
> > > Do I miss some other undocumented magic command to install plugin?
> > > It looks like some initializing code is missing (javascripts should be
> > > translated to assets or something like this)
> >
> > "rake assets:precompile" should compile those, and you may also need
> > db:migrate and db:seed for DB-related setup.
> >
> > --
> > Dominic Cleal
> > [email protected] <javascript:>
> >
> 
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to