how to generate a rails app without javascript?

Viewed 723

My homework is to generate a rails app without use javascript, is it possible?i tried to delete all .js files and node_modules after i generate with rails new $appname but i got an error every time, can someone help-me?

1 Answers

When creating your new app, you can skip various components you don't need. Among those components are all JavaScript files. You can thus create your app with:

rails new $appname --skip-javascript

Please refer to the output of rails new --help for other supported options.

Related