You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ tailwindcss -i ./app/assets/stylesheets/active_admin.css -o ./app/assets/builds/active_admin.css --minify -c tailwind.config.cjs
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
Rebuilding...
(node:1556) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1556) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
/bin/sh: 1: /app/bin/bundle: not found
Error: Command failed: /app/bin/bundle show activeadmin
/bin/sh: 1: /app/bin/bundle: not found
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:888:11)
at execSync (node:child_process:960:15)
at /tmp/build_d740318b/tailwind.config.cjs:4:25
at evalModule (/tmp/build_d740318b/node_modules/jiti/dist/jiti.js:1:251913)
at jiti (/tmp/build_d740318b/node_modules/jiti/dist/jiti.js:1:249841)
at /tmp/build_d740318b/node_modules/tailwindcss/lib/lib/load-config.js:53:30
at loadConfig (/tmp/build_d740318b/node_modules/tailwindcss/lib/lib/load-config.js:55:6)
at Object.loadConfig (/tmp/build_d740318b/node_modules/tailwindcss/lib/cli/build/plugin.js:138:49) {
status: 127,
signal: null,
output: [ null, '', '/bin/sh: 1: /app/bin/bundle: not found\n' ],
pid: 1585,
stdout: '',
stderr: '/bin/sh: 1: /app/bin/bundle: not found\n'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I've changed activeAdminPath to absolute path like '/app/vendor/bundle/ruby/3.4.0/gems/activeadmin-4.0.0.beta18' and it worked.
Also I've executed command 'bundle show activeadmin' in heroku and it worked.
That means executing ruby in node is problem. Is there any solution for this?
Thanks
This discussion was converted from issue #8866 on November 27, 2025 08:08.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to deploy similar app to heroku. It uses Rails 7 and active admin 4.0.0-beta18.
This is tailwind.config.cjs file.
Here's heroku buildpacks
When deploy my app to heroku, I get below issue
I've changed activeAdminPath to absolute path like '/app/vendor/bundle/ruby/3.4.0/gems/activeadmin-4.0.0.beta18' and it worked.
Also I've executed command 'bundle show activeadmin' in heroku and it worked.
That means executing ruby in node is problem. Is there any solution for this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions