How to Install Ruby on Rails on Windows

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

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

  • @MalachiRails
    @MalachiRails  10 месяцев назад +17

    Hey everyone!
    Some people are getting errors with this video.
    so I made a new one which using a different solution and it's way better.
    ruclips.net/video/0k7cwmx2W2g/видео.htmlsi=rFcPkWccpcCMT4w5

  • @koushikkantisaha187
    @koushikkantisaha187 6 месяцев назад +19

    it finally worked after struggling all night on Windows!
    needed to manually do:
    gem install psych (run as admin on Windows Powershell if it shows errors on cmd/bash)
    bundle install

    • @MalachiRails
      @MalachiRails  6 месяцев назад +1

      Ok. Everyone like this comment so others can see it

    • @koushikkantisaha187
      @koushikkantisaha187 6 месяцев назад

      It's gonna crash again every 2 or 3 projects with diff kinds of errors. Just follow the video with linux subsystem. Got that running in one try.

    • @AlexandrShevchenko-ng4ri
      @AlexandrShevchenko-ng4ri Месяц назад +1

      Thanks for sharing, helped me a lot!

    • @jakubszumilak8854
      @jakubszumilak8854 7 дней назад

      Thanks for sharing it here! You saved me a lot of time and I'm sure I'm not the only one benefitting from this comment!

  • @ayeshazahra3388
    @ayeshazahra3388 7 месяцев назад +3

    This is the best video I have seen on RUclips. You taught it very smoothly on how to get started with Ruby on Rails. Everything was just sooooo perfect. Keep it up.

    • @MalachiRails
      @MalachiRails  7 месяцев назад +1

      Thanks for the comment man

    • @ayeshazahra3388
      @ayeshazahra3388 7 месяцев назад +1

      You are welcome @@MalachiRails

  • @lucaslopes4022
    @lucaslopes4022 Месяц назад +2

    THANK U FINALLY WORKED, ALL THIS IN 5 MIN VIDEO

  • @herbalsmok
    @herbalsmok Год назад +3

    I've installed rails on multiple windoes machine and this is by far the easiest way. Thanks alot for the video.

  • @ayoOnCode
    @ayoOnCode 10 месяцев назад +2

    It worked! Thanks for creating this tutorial, I am gonna share this to all who needs it

  • @bethwelkimutai5026
    @bethwelkimutai5026 Год назад +3

    thanks man. the tutorial was very helpful. I had already spent a lot of time trying to figure it out

  • @KentvanKuller
    @KentvanKuller 6 месяцев назад +1

    Thank you for this amazing tutorial. I started with the regular Windows installation in this video, but after running into errors, I realized it's easier to install on the Linux subsystem for Windows and followed closely along your other video. I achieved success in properly installing and setting up the Rails project. I will watch the POSTGRESQL setup video later.

    • @MalachiRails
      @MalachiRails  6 месяцев назад +1

      Glad it helped. If you have any other questions let me know. Also I'm running a mentorship program to teach people rails 1 on 1. Just thought id let you know

    • @KentvanKuller
      @KentvanKuller 6 месяцев назад +1

      @@MalachiRails I'm very interested in hearing more about this.

    • @MalachiRails
      @MalachiRails  6 месяцев назад +2

      @@KentvanKuller Yeah sure, my students are learning Ruby on Rails very quickly, because they don't get stuck for days on a problem. They're usually looking to get a job as a Rails dev and I am helping them with that.

  • @john52192
    @john52192 Год назад +2

    This was awesome. Thanks so much! Hope your channel grows faster!

  • @managerialtheory6000
    @managerialtheory6000 11 месяцев назад +3

    Got yarn, node, rails installed but not ruby for some reason. Getting the error `find_spec_for_exe': can't find gem railties. Error installing rails:
    ERROR: Failed to build gem native extension.

  • @Skm-k4c
    @Skm-k4c 10 месяцев назад +3

    hii Sir
    An error occurred while installing psych (5.1.2), and Bundler cannot continue. my terminal threw me this error.

  • @titokbu
    @titokbu 8 месяцев назад +1

    Thanks so much!! that was soooo helpful!!

  • @عبدالرحمنخالد-ش4ت6ي
    @عبدالرحمنخالد-ش4ت6ي Месяц назад +1

    thanks Malachi

  • @JUNLEE-d4g
    @JUNLEE-d4g 5 месяцев назад +1

    Thank you !! This is helpful !!!

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

      No problem. If you want more personal help from me to really ease your Ruby on Rails learning journey. Make sure to check out this link.
      www.patreon.com/user?u=89485299&

  • @shashankparmar7899
    @shashankparmar7899 Год назад +2

    thanks for such a great tutorial. saved me a lot of time

  • @antisocial.kennedy
    @antisocial.kennedy Месяц назад +1

    `find_spec_for_exe': can't find gem railties (>= 0.a) with executable rails (Gem::GemNotFoundException)

  • @DamuwaMathusa
    @DamuwaMathusa 8 месяцев назад +1

    Thanks for thiis video. I have one question: why install Node Js?

    • @MalachiRails
      @MalachiRails  8 месяцев назад

      It’s not necessary I don’t think. But that’s just the way I learn to do it. Some gems may work better with it.

    • @DamuwaMathusa
      @DamuwaMathusa 8 месяцев назад +1

      @@MalachiRails Great. Thank you for the answer. First response coming from someone whose content I love. THANKS.

    • @MalachiRails
      @MalachiRails  7 месяцев назад

      @@DamuwaMathusa You're welcome

  • @KentvanKuller
    @KentvanKuller 7 месяцев назад +1

    I'm getting some kind of error when I check Rails version. Can't find gem railties. Gem not found exception. Otherwise, great tutorial. I look forward to watching your other videos.

    • @MalachiRails
      @MalachiRails  7 месяцев назад +1

      Install rails gem again

    • @KentvanKuller
      @KentvanKuller 7 месяцев назад

      @@MalachiRails I've ran that prompt and tried reinstalling. Same error. I'm on Windows.

    • @MalachiRails
      @MalachiRails  7 месяцев назад

      This StackOverflow forum may help you
      stackoverflow.com/questions/52051122/cant-find-gem-railties-0-a-with-executable-rails-gemgemnotfoundexceptio

    • @KentvanKuller
      @KentvanKuller 6 месяцев назад

      @@MalachiRails Thank you for this amazing tutorial. I started with the regular Windows installation in this video, but after running into errors, I realized it's easier to install on the Linux subsystem for Windows and followed closely along your other video. I achieved success in properly installing and setting up the Rails project. I will watch the POSTGRESQL setup video later.

  • @zevi1597
    @zevi1597 6 месяцев назад +1

    Why do I get ruby version 2 and rails version 5 when I am sure that I follow all of your steps?

    • @MalachiRails
      @MalachiRails  6 месяцев назад +1

      It’s because you need to download the new version of Ruby from rubygems.org

    • @zevi1597
      @zevi1597 6 месяцев назад

      @@MalachiRails thank you it's working now... I'm currently learning your rails 7... It's helping me because it seems like rails is one of the useful and friendly programming languages but rarely use here in Philippines.

    • @Dracometeor562
      @Dracometeor562 6 месяцев назад

      @@zevi1597 it doesnt work for me , i got an error on installing rails

  •  Год назад +2

    Perfect tutorial. Thank you very much.

    • @MalachiRails
      @MalachiRails  Год назад

      No problem. Save it for watch later!

  • @cintiasiqueira3035
    @cintiasiqueira3035 9 месяцев назад

    Thank you, the video helped me =)

  • @maxmwangimahinda
    @maxmwangimahinda 9 месяцев назад +1

    very helpful

  • @moinbhokare7642
    @moinbhokare7642 Год назад +1

    Thank You Bro

  • @burtking4270
    @burtking4270 9 месяцев назад +1

    The links aren't in the comments as you mention.

    • @MalachiRails
      @MalachiRails  9 месяцев назад

      Appreciate it. Fixed it now.

  • @daviduno2024
    @daviduno2024 Год назад +2

    Done this but Rails S isn’t working

  • @macos-brasil1814
    @macos-brasil1814 5 месяцев назад

    This "psych" just doesnt work at all. I've tried everything. That's exactly why I just cannot coding with Windows machines. It's just too much BS to me to handle.

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

      Check out the one I have with a Linux subsystem for windows. It’s easier and better

  • @AriKhuu
    @AriKhuu Год назад

    thank you

  • @akhror-oshie
    @akhror-oshie Год назад +1

    Yea, it is little bit difficult to install Ruby on Rails on Windows rather than iOS and Linux

  • @zohaibshaik
    @zohaibshaik Год назад +1

    thanks dudu the whole video was helpful
    can you help me to build this
    Description:
    Build a simple rails application that consists of receptionist portal & doctor portal which performs the following tasks,
    A single login page for both portals.
    Receptionists can register a new patient & perform CRUD operations.
    Doctors can view registered patients & view graph that represent the number of patients registered vs days.
    Feel free to add/modify any functionalities on top of the above mentioned requirements for added advantages.
    we are expected to use only Rails for backend & PostgreSQL for database. (Usage of other DBs will not be acceptable)
    Expectation:
    Problem Solving
    A proper Auth implementation
    Creativity beyond the requirements

    • @MalachiRails
      @MalachiRails  Год назад +1

      Glad it was helpful. No I cannot help you for free, apologies.

    • @zohaibshaik
      @zohaibshaik Год назад +1

      @@MalachiRails can you suggest some videos to this it might be helpful in a way

  • @Dracometeor562
    @Dracometeor562 6 месяцев назад +1

    why are you deleting my comment ?

  • @Dracometeor562
    @Dracometeor562 6 месяцев назад +1

    why the fuck you need nodejs on ruby on rails ?

    • @MalachiRails
      @MalachiRails  6 месяцев назад

      Some gems need node js. Calm down please.

    • @Dracometeor562
      @Dracometeor562 6 месяцев назад +1

      @@MalachiRails im calm dude ,hehehe thanks

    • @MalachiRails
      @MalachiRails  6 месяцев назад

      @@Dracometeor562 No problem

  • @ramiroantoniomarino
    @ramiroantoniomarino 9 месяцев назад +1

    absoutely brilliant tutorial.