Code Monkey home page Code Monkey logo

Comments (11)

excid3 avatar excid3 commented on July 22, 2024

assets:precompile is only used for production. You need to run bin/dev for development.

from jumpstart.

custombusinesssystems avatar custombusinesssystems commented on July 22, 2024

Appreciate you Chris

interesting, I cant get jumpstart not to error on my local system without it.

from jumpstart.

excid3 avatar excid3 commented on July 22, 2024

cssbundling-rails and jsbundling-rails use separate processes to build assets, so you can no longer run just the rails server.

from jumpstart.

custombusinesssystems avatar custombusinesssystems commented on July 22, 2024

so when starting a rails server i have forman running, and I have bin/dev what else do i need to run to not have to precompile?

from jumpstart.

excid3 avatar excid3 commented on July 22, 2024

You probably need to clear out those precompiled files if you ran that.

from jumpstart.

custombusinesssystems avatar custombusinesssystems commented on July 22, 2024

ok, maybe a better question is... when you start a local with jumpstart, whats your process?

from jumpstart.

excid3 avatar excid3 commented on July 22, 2024

I just run bin/dev

from jumpstart.

custombusinesssystems avatar custombusinesssystems commented on July 22, 2024

Yeah cool, i will have to do some more research, but when you google error starting jumpstart its a thing, and its always the css. https://gorails.com/forum/error-starting-new-jumpstart-app

from jumpstart.

custombusinesssystems avatar custombusinesssystems commented on July 22, 2024

Well if nothing else hopefully this is a great spot for it.... dont start your server with rails s or rails start. simply replace it with bin/dev for applications using cssbundling-rails and jsbundling-rails.

from jumpstart.

excid3 avatar excid3 commented on July 22, 2024

That's why I included it in the instructions here:

Screen Shot 2022-04-08 at 7 53 29 PM

Just tried it on a brand new app and works fine for me.

from jumpstart.

custombusinesssystems avatar custombusinesssystems commented on July 22, 2024

I get it now, and it makes complete sense.

The issue i had was that when i first ran it it failed.

I had to watch your https://gorails.com/episodes/esbuild-jsbundling-rails to understand why and add the "build": "node esbuild.config.js" to the package.json... so by the time I got there...

sounds pretty dumb but - bin/dev didnt really play into my mind as the way i was starting the server.

I am not sure how often you get this, but adding "- to start the server", might save you time and a-lot of people a-lot of heart ache.

Regardless, i appreciate your work, and you are a big part of my rails journey.

from jumpstart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.