Giter Club home page Giter Club logo

Comments (11)

yury avatar yury commented on August 29, 2024

Can you gist your Gemfile?

from skim.

denysonique avatar denysonique commented on August 29, 2024

Here you are:

Gemfile: https://gist.github.com/f8b4e585b8f6e3165b4f
Gemfile.lock: https://gist.github.com/c14b0816ac83c48a9993

from skim.

melvynhills avatar melvynhills commented on August 29, 2024

I have the same problem.
Are you sure your tests don't fail?
What seems to work however is when nested content is static:

- if true
  | foo

from skim.

yury avatar yury commented on August 29, 2024

Still can't reproduce. Even with your Gemfile and Gemfile.lock

from skim.

yury avatar yury commented on August 29, 2024

Can you try to put gem 'skim' before gem 'slim' in your Gemfile?

from skim.

melvynhills avatar melvynhills commented on August 29, 2024

That made it for me!
How come? (not a Ruby expert)
Thanks a lot.

from skim.

yury avatar yury commented on August 29, 2024

@melvynhills What version of bundler do you have?

Can you update to latest and try to put skim after slim gem in Gemfile?

from skim.

jfirebaugh avatar jfirebaugh commented on August 29, 2024

So is this dependent on which order you require skim and slim? That would definitely be a bug.

from skim.

melvynhills avatar melvynhills commented on August 29, 2024

I'm using 1.1.3, the latest available from RubyGems.
It was failing only with

gem 'skim', '~> 0.8.2'
gem 'slim', '~> 1.2.0'

With '>=' and without version number, it works fine.
Thanks guys!

from skim.

v-yarotsky avatar v-yarotsky commented on August 29, 2024

I have the same issue, though I wasn't able to fix it with requires.
I've got the following code, Gemfile and Gemfile.lock: https://gist.github.com/3470575
But it throws Uncaught Error: Temple::InvalidExpression: Generator supports only core expressions - found [:escape, true, [:dynamic, "t"]] with the following snippet:

select name="someType"
  - for t in ["foo", "bar"]
    | #{t}

from skim.

jfirebaugh avatar jfirebaugh commented on August 29, 2024

Thanks, I was able to reproduce the issue and should have a fix soon.

from skim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.