Vorkosigan76
Joined
Activity
Posted in Facing error while installing bundle
I faced the same problem on MacOS as all the postgresql modules were not properly installed.
On Ubuntu:
sudo apt install postgresql-contrib libpq-dev
Posted in How to troubleshoot esbuild in Rails 7
With the arrival of Rails 7.0, i have tried moving from webpack to esbuild but struggle with it.
I know that theoretically, creating a file jquery.js and importing it in application.js
import jquery from “jquery”
window.jQuery = jquery window.$ = jquery
Should make $ available in the views… but sometimes it doesn't but i have no idea why (even if esbuild compiles successfully) Any idea how to troubleshoot this?
I have noticed for example that I need to put a carriage return after the last line in jquery.js... if I don't, I dont have any error message in the console the the .map is not generated