Skip to content

Sprockets 3.0 support #240

@kirs

Description

@kirs

The Railtie in the gem fails under Sprockets 3.0 which was released recently:

/Users/kir/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/react-rails-1.0.0/lib/react/rails/railtie.rb:49:in `block in <class:Railtie>': undefined method `prepend_path' for nil:NilClass (NoMethodError)
  from /Users/kir/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'
  from /Users/kir/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'
  from /Users/kir/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'

I will work on the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions