Skip to content

Sprockets 3.0 support #240

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

Closed
kirs opened this issue Apr 14, 2015 · 3 comments
Closed

Sprockets 3.0 support #240

kirs opened this issue Apr 14, 2015 · 3 comments

Comments

@kirs
Copy link

kirs commented Apr 14, 2015

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.

@rmosolgo
Copy link
Member

@kirs I'm trying to reproduce this locally -- what did you do to encounter this error? (I've gotta dummy app on Rails 4.2 + Sprockets 3.0.2 and it starts up & runs ok in development)

@rmosolgo rmosolgo mentioned this issue Apr 28, 2015
6 tasks
@kirs
Copy link
Author

kirs commented Apr 28, 2015

Actually, now I found that I can reproduce it only with sprockets-rails on master.
If you don't consider it as a bug, feel free to close the issue.

@rmosolgo
Copy link
Member

ok, thanks, yeah I'll close this one and keep an ear out for sprockets 3 issues!

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

2 participants