Deploy Ruby on Rails To Production in 2019

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 45

  • @anotherytacctno2
    @anotherytacctno2 4 года назад +23

    every time i pause this, the youtube controls cover up the line i'm trying to read (the one you're typing). please add some space next time.

  • @willnguyendev
    @willnguyendev 2 года назад

    Well done. I have been using capistrano many years. Note that this is just for deploying to an instance. At the end, it restarts the puma or passenger as the video. So we should use a load balance to apply blue green deployment in order to have availability as well as building a deployment pipeline to do those things automatically and smoothly.

  • @dkennell998
    @dkennell998 3 года назад +3

    Hey, big fan of your windows, but a quick heads up - when you fill the entire screen with your editor/terminal and I pause the video to read what's at the bottom of the screen it's difficult to read what's the because the video control bar is in the way. Even in full screen, it rarely goes away, and if the video is paused it never goes away. Again, I love your videos but this is always a pain point, _especially_ for work in the terminal, since you're naturally always going to be typing at the bottom of the screen. A bit of margin/padding on the videos would help with this a lot, either all around the window or even only at the bottom. Thanks again for your content!

  • @memoryman51
    @memoryman51 2 года назад +2

    You've sold me on hatchbox.

    • @GorailsTV
      @GorailsTV  2 года назад

      Haha! It's pretty time consuming to run your own server, especially when you forget all the steps after a few months.

  • @1337kaas
    @1337kaas 5 лет назад +7

    Damn, amazing stuff. Thanks a lot for sharing. Love the way all Rails is set-up :)

  • @fridder.
    @fridder. 2 года назад +1

    Thank you Chris for all your videos -- they've been really helpful!!

    • @GorailsTV
      @GorailsTV  2 года назад

      You're welcome and thanks for watching Fridder!

  • @Elgnonvis
    @Elgnonvis 2 года назад

    Thank you for this tuto
    please yave you a tuto about rails API?

  • @Jamie-pq9gn
    @Jamie-pq9gn 4 года назад

    Oh... I encountered the same ruby version problem But i'm stupid... Not viewed error.log Always looking for the wrong answer... Thanks

  • @AleksandarT10
    @AleksandarT10 5 лет назад +1

    Would be great to do more of these devops episodes :)

    • @GorailsTV
      @GorailsTV  5 лет назад +4

      Thanks! I plan to. I think talking about how load balancers work would be a fun one.

  • @kaysiz-zw
    @kaysiz-zw 4 года назад

    There are no Phusion Passenger-served applications running whose paths begin with [$PATH]. I am getting this error. I am using a VM on azure

  • @anikettiwari6885
    @anikettiwari6885 3 года назад

    @chris THe video is amazing. Can you make a video on how to deploy rails 6 application on AWS EC2 with puma and nginx

  • @erickzelaya3651
    @erickzelaya3651 2 года назад

    I got this error => Missing `secret_key_base` for 'production' environment, set this string with `bin/rails credentials:edit` I ran the command but nothing happens, the error persist

  • @AtumSS
    @AtumSS 2 года назад +1

    U R Dope!
    Thnx a lot.

  • @user-ui8my9zs7o
    @user-ui8my9zs7o 4 года назад

    after i deploy everything im still getting only a Nginx 404. Am i doing anything wrong? Not seeting any errors when reloding nginx

  • @user-ui8my9zs7o
    @user-ui8my9zs7o 4 года назад

    How to you handle issues with bundle install on windows to a lin server?

  • @Vaznis
    @Vaznis 4 года назад

    I'm having an issue at the end of deployment. I get this error:
    00:07 deploy:assets:precompile
    01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
    01 rake aborted!
    01 URI::InvalidURIError: bad URI(is not URI?): postgresql://deploy:nicetry@127.0.0.1/my-api-prod
    Is there an issue with me using rails as an API? If so, I tried this according to a github issue I found:
    In Capfile you add these lines (but it fails on migration after getting thru precompile) -
    removed "require 'capistrano/rails'"
    add require 'capistrano/bundler'
    add require 'capistrano/rails/migrations'
    I'm wondering if there's some general knowledge I'm missing that's preventing me from having a successful deployment. Any tips would be greatly appreciated!

    • @Vaznis
      @Vaznis 4 года назад

      turns out i was using special characters in my postgresql password and needed to account for that.

  • @haroldofurtado
    @haroldofurtado 5 лет назад +1

    I got problem to make my deploy user access from ssh. I can do it normally with root. Any help?

    • @neeraj33negi
      @neeraj33negi 5 лет назад

      had same problem, manually created authorized_keys in ~/.ssh and added public key there

  • @muhammadahmed1890
    @muhammadahmed1890 4 года назад

    how can we use rvm instead of rbenv

  • @samuelkung7736
    @samuelkung7736 5 лет назад +1

    that seemed pretty complicated and what happens if you make a syntax error? omg...

  • @AngelGarcia-pb5nf
    @AngelGarcia-pb5nf 5 лет назад

    Hmm, this isn't working for me in rails 6 with webpacker. I keep getting: '** DEPLOY FAILED' and last couple of errors I'm getting are:
    ' DEBUG [75bb2c89] Compiling…
    DEBUG [75bb2c89] Compilation failed:'
    Any ideas? However, compilations works in development.

    • @GorailsTV
      @GorailsTV  5 лет назад

      Server might be running out of ram during compilation. Try upgrading to the next size.

  • @ethangroat8333
    @ethangroat8333 4 года назад

    How the heck do you get ssh for github set up?

  • @WebintiNoCode
    @WebintiNoCode 5 лет назад

    Hi very nice tutorial, what about chapter 6 ? Thank you

  • @fabriziobertoglio7342
    @fabriziobertoglio7342 5 лет назад +1

    Awesome still I would avoid all this capistrano if not explicitly requested from the client

  • @rCr101990
    @rCr101990 5 лет назад +1

    The best!

  • @mikopiko
    @mikopiko 4 года назад

    Amazing

  • @relawandakwah7707
    @relawandakwah7707 5 лет назад +1

    Can you please update how to install ssl but maybe using comodo or other hahaha

  • @DevBishwasBh
    @DevBishwasBh 2 года назад

    Can I do it without using rbenv, 'cause I don't like using it.

  • @camiloalexisquezadamarin9498
    @camiloalexisquezadamarin9498 5 лет назад +1

    i love you so much brou

  • @goutamsingireddy2554
    @goutamsingireddy2554 5 лет назад

    👌

  • @arifikhsanudin9724
    @arifikhsanudin9724 3 года назад

    Zoom please