Skip to content

Error on installing with Rails 5 Beta2 #467

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
SylarRuby opened this issue Feb 7, 2016 · 5 comments
Closed

Error on installing with Rails 5 Beta2 #467

SylarRuby opened this issue Feb 7, 2016 · 5 comments

Comments

@SylarRuby
Copy link

Getting this error guys:

sylar$ rails g react:install
/Users/sylar/.rvm/gems/ruby-2.2.3/bundler/gems/rails-5b1f3e5b75b9/railties/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `assets' for #<Rails::Application::Configuration:0x007f818cc60920> (NoMethodError)
    from /Users/sylar/.rvm/gems/ruby-2.2.3/gems/react-rails-1.5.0/lib/react/rails/railtie.rb:62:in `block in <class:Railtie>'
@SylarRuby SylarRuby mentioned this issue Feb 7, 2016
17 tasks
@rmosolgo
Copy link
Member

rmosolgo commented Feb 7, 2016

Thanks for reporting!

https://github.com/reactjs/react-rails/blob/master/lib/react/rails/railtie.rb#L62

I think that whole block can be replaced if we use Sprockets' provided cache_key API (CoffeeScript example)

@SylarRuby
Copy link
Author

Cool so that would be resolve in version 2? Or just work with the master branch for now?

@SylarRuby
Copy link
Author

Still having this issue on Rails beta3. What's new on this? I sure Im not the only one as the is new rails app with only react.

@inchr
Copy link

inchr commented Apr 16, 2016

You've fixed it @SylarRuby ?

@SylarRuby
Copy link
Author

@inchr Well it's working. I have no idea what I did.

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

3 participants