How I Setup Rails 7.1 for Docker Development

Поділитися
Вставка
  • Опубліковано 7 січ 2024
  • Let's take a look at how I personally setup a quick little Rails 7.1 Docker Dev environment.
    Checkout my course(s) at: learn.deanin.com
    Source: github.com/Deanout/docker7.1
    Join this channel to help support these videos:
    / @deanin
    Follow me on social media:
    linktr.ee/deanin
    If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
    #Deanin #Software #Programming

КОМЕНТАРІ • 16

  • @Deanin
    @Deanin  6 місяців тому

    It's been a while, but I'm back from vacation! :)
    (and also still playing Runescape. Add me @deanin) LOL

    • @mikopiko
      @mikopiko 6 місяців тому +1

      Welcome back, have you heard of Devcontainer? It's feature from Docker. It sounds more suitable.

  • @SamuelOjeyinka
    @SamuelOjeyinka 6 місяців тому +4

    This is exactly what i was waiting for a UA-camr to drop, I'm glad its from you 😊

  • @alejandro5138
    @alejandro5138 6 місяців тому +1

    Good health in the new year! Good to hear you!

  • @mycode0
    @mycode0 6 місяців тому +3

    The King is back, let's goo !

  • @AGriffith
    @AGriffith 2 місяці тому

    amazing tutorial, thanks so much for it

  • @patolorde
    @patolorde 6 місяців тому +1

    Great video

  • @azizdevfull
    @azizdevfull 6 місяців тому +1

    Very Useful Video : )

  • @edwingalviz3498
    @edwingalviz3498 6 місяців тому +2

    🎉🎉Thank you

    • @Deanin
      @Deanin  6 місяців тому

      I should be thanking you for being here! ♥️

  • @slackynux
    @slackynux 5 місяців тому

    In which environment do you run the rails command? It seems like a shell of the host operating system; shouldn’t you run
    “docker run … rails” instead?

  • @patolorde
    @patolorde 6 місяців тому +1

    My friend do a deployment docker one please 😅

  • @mikopiko
    @mikopiko 6 місяців тому +1

    Where you been?

    • @Deanin
      @Deanin  6 місяців тому +1

      Took some time off to enjoy the holidays with my family. Started to get a little burned out too, so I've been playing RuneScape in my free time haha

  • @AGriffith
    @AGriffith 3 місяці тому

    Rails Error: Unable to access log file. Please ensure that /rails/log/development.log exists and is writable (i.e. make it writable for user and group: chmod 0664 /rails/log/development.log). The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
    bin/rails aborted!
    Errno::EACCES: Permission denied @ rb_sysopen - /rails/config/master.key (Errno::EACCES)
    /rails/config/environment.rb:5:in `'
    Tasks: TOP => db:prepare => db:load_config => environment
    (See full trace by running task with --trace)
    hey I'm getting this error when I try to run the docker run -p 3000:3000 -v $(pwd):/rails video command, I already gave permissions to the entrypoint file :/ is there something else that needs to be done?

    • @AGriffith
      @AGriffith 2 місяці тому

      i fixed it, the problem was that I followed the tutorial with the root user, in case someone runs with the same error, just change to your normal user and it will work and it wont messup the permisions