Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 4.1 #40

Closed
minad opened this issue Jan 7, 2014 · 5 comments
Closed

Rails 4.1 #40

minad opened this issue Jan 7, 2014 · 5 comments

Comments

@minad
Copy link
Member

minad commented Jan 7, 2014

Rails 4.1 doesn't seem to be supported.

@ferdinandsalis
Copy link

This seems to be the cause …

Users/ferdinand/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/bundler/gems/rails-67e57ea7c003/railties/lib/rails/generators/erb.rb:20:in `filename_with_extensions': wrong number of arguments (1 for 2) (ArgumentError)
    from /Users/ferdinand/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/slim-rails-2.1.0/lib/generators/slim/scaffold/scaffold_generator.rb:10:in `block in copy_view_files'

filename_with_extensions now needs the view and the format as arguments. As you can see from this recent commit — rails/rails@02c814c.

@mdesantis
Copy link

Now there is a pull request on Rails

@kassio
Copy link

kassio commented Feb 22, 2014

The pull request was merged, @minad could you try with rails master, I guess it's fixed now.

@ferdinandsalis
Copy link

@kassio I can confirm that this is now fixed with the current rails master.

@leogalmeida
Copy link
Contributor

Pull request merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants