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

I can't run it in my rails apps #2

Open
chenxeed opened this issue Apr 10, 2015 · 0 comments
Open

I can't run it in my rails apps #2

chenxeed opened this issue Apr 10, 2015 · 0 comments

Comments

@chenxeed
Copy link

Hi Spike, thanks for your sharing on webcast O'reilly!

I want to try to implement the browserify on my existing rails apps. So I tried to run the script

./script/assets/tasks/bundle.js --path ./app/assets/javascripts/manifest.bundle.js

it does shows the scripts and compiled sourcemaps on my console, but after I rake assets:precompile and run rails app. It doesn't change anything. (I got error 'require' is not defined)

Probably I mistaken the concept, does the script means to write the bundle scripts to manifest.bundle.js?

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

1 participant