Skip to content

Slim error(Option :outvar is not supported by Slim::Engine) #411

Closed
iamjoshua opened this Issue Sep 24, 2012 · 7 comments

6 participants

@iamjoshua

Clean install of rails.
Followed sidekiq install instructions.
Jobs are set and run correctly.
However, I am unable to access the monitoring Sinatra application. I get the following error:

"ArgumentError at /sidekiq/
Option :outvar is not supported by Slim::Engine
file: options.rb location: block in default_options line: 16"

What am I missing?

@torbjon
torbjon commented Sep 24, 2012

it's because of slim 1.3.1 release https://github.com/stonean/slim/blob/master/CHANGES
if you use slim - 1.3.0, works fine

@kamui
kamui commented Sep 24, 2012

I was getting this error when hitting the index page. Reverting slim to 1.3.0 resolved this issue too.

11:59:38 web.1    | NoMethodError - undefined method `join' for #<String:0x007fafa6d55ce8>:
11:59:38 web.1    |     /Users/kamui/.rvm/gems/ruby-1.9.3-p194@app/gems/sidekiq-2.3.2/web/views/index.slim:11:in `evaluate_source'
@mperham
Owner
mperham commented Sep 24, 2012

These are Slim issues, not Sidekiq.

@mperham mperham closed this Sep 24, 2012
@iamjoshua

Yep, thanks guys. That fixed it.
Wiki should probably be updated to reflect.
https://github.com/mperham/sidekiq/wiki/Monitoring

@driv3r
driv3r commented Sep 24, 2012

was looking for that whole day, no search results for NoMethodError - undefined method join' ehh

@minad
minad commented Oct 3, 2012

This is fixed in Slim 1.3.2 and temple 0.5.4. Can you please confirm that?

@iamjoshua

Just updated Slim(1.3.2). It does seem to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.