Skip to content

Getting undefined method `javascript_pack_tag' for ... #172

@schovi

Description

@schovi

Having Rails 5 application and followed this tutorial https://medium.com/statuscode/introducing-webpacker-7136d66cddfb#.4xpiogt9l how to install and run webpacker.

Having webpacker in Gemfile

gem 'webpacker', github: 'rails/webpacker'

And used installation commands

rails webpacker:install
rails webpacker:install:react

And when open page with <%= javascript_pack_tag 'app' %> I am getting undefined method 'javascript_pack_tag' for #<#<Class:0x007f8d5a158378>:0x007f8d5a0015b0>

./bin/webpack-dev-server runs fine (but having some babel errors, but I guess that can't have impact on previous error).

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