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)

On Saturday, October 1, 2016 at 12:55:21 AM UTC+2, lakier wrote:
>
> Manually built smart-proxy 1.12.3  with smart-proxy-salt 6.0.0 with 
> foreman_salt 6.0.0
>
> Steps:
> Importing salt-states - works
> Creating new host
> Host tab, selecting salt env
> Switching to salt states: "Please select a Salt environment first"
>
> in logs:
>
> 2016-09-30T22:43:34 [app] [F] 
>  | ActionController::RoutingError (No route matches [GET] 
> "/javascripts/foreman_salt/states.js"):
>  |   
> vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in
>  
> `call'
>  |   
> vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in
>  
> `call'
>  |   
> vendor/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in 
> `call_app'
>  |   
> vendor/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:22:in 
> `call'
>  |   
> vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in
>  
> `call'
>  |   vendor/ruby/2.3.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in 
> `call'
>  |   vendor/ruby/2.3.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
>  |   
> vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in
>  
> `call'
>  |   
> vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in
>  
> `call'
>  |   vendor/ruby/2.3.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
>  |   vendor/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in 
> `call'
>  |   
> vendor/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/application.rb:165:in 
> `call'
>  |   vendor/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in 
> `public_send'
>  |   vendor/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in 
> `method_missing'
>  |   vendor/ruby/2.3.0/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in 
> call'
>  |   vendor/ruby/2.3.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
>  |   vendor/ruby/2.3.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
>  |   
> /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
>  
> `process_request'
>  |   
> /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:152:in
>  
> `accept_and_process_next_request'
>  |   
> /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in
>  
> `main_loop'
>  |   /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in 
> `block (3 levels) in start_threads'
>  |   /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in 
> create_thread_and_abort_on_exception'
>  |   
> vendor/ruby/2.3.0/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in 
> `block in create_with_logging_context'
>
> is this version mismatch or what?
>

-- 
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