How I Setup Rails 7.1 for Docker Development

Поделиться
HTML-код
  • Опубликовано: 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  5 месяцев назад

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

    • @mikopiko
      @mikopiko 5 месяцев назад +1

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

  • @SamuelOjeyinka
    @SamuelOjeyinka 5 месяцев назад +4

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

  • @mycode0
    @mycode0 5 месяцев назад +2

    The King is back, let's goo !

  • @alejandro5138
    @alejandro5138 5 месяцев назад +1

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

  • @AGriffith
    @AGriffith Месяц назад

    amazing tutorial, thanks so much for it

  • @patolorde
    @patolorde 5 месяцев назад +1

    Great video

  • @azizdevfull
    @azizdevfull 5 месяцев назад +1

    Very Useful Video : )

  • @edwingalviz3498
    @edwingalviz3498 5 месяцев назад +2

    🎉🎉Thank you

    • @Deanin
      @Deanin  5 месяцев назад

      I should be thanking you for being here! ♥️

  • @patolorde
    @patolorde 5 месяцев назад +1

    My friend do a deployment docker one please 😅

  • @slackynux
    @slackynux 4 месяца назад

    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?

  • @mikopiko
    @mikopiko 5 месяцев назад +1

    Where you been?

    • @Deanin
      @Deanin  5 месяцев назад +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 Месяц назад

    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 Месяц назад

      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