September 11, 2017

Rails + Windows = pain?

5

I'm a junior dev trying to start my first side project, but after learning how to code on a mac I only have my old and slow windows laptop to practise on in the evenings, which I'm finding painful to make any real progress on.

I know a bad workman blames his tools, and me sucking is definitely half the battle here, but it would be motivating if people here have made interesting stuff with rails on Windows, and any tips or tricks to survive would be appreciated!


  1. 4

    You could try installing Ubuntu for Windows which adds some command line tools. I haven't personally tried using it yet, but working on a Linux system is much closer to working on a Mac. You might have to be signed up for the Windows Insider Program to get access to the app at the moment.

    1. 1

      thanks, will check that out

      1. 2

        Ubuntu on Windows works pretty well. I maintain a guide on it that might give some insight on how to set it up. https://gorails.com/setup/windows/10

        You can do all your development in Ubuntu using folders in Windows and everything works wonderfully. Hit me up if you have any questions.

        1. 0

          thanks, the guide looks good, I'll let you know if I have any problems

  2. 2

    the secret ... use docker!

  3. 1

    installing rails on windows is notoriously difficult. I would consider using something like c9.io for your workspace. You should check them out!

    1. 0

      thanks, will check that out as well. Good to know i'm not alone with my struggles!

  4. 0

    This is a pain on anything before Windows 10. As others have already said the new Linux subsystem for Windows 10 (https://msdn.microsoft.com/en-us/commandline/wsl/about) or https://www.docker.com/ (the Windows version only runs on Windows 10 and newer) makes this completely doable now

  5. 0

    Use the Online one mentioned in the Michael Hartl tutorial.

  6. 0

    Windows is pretty bad for web development, I would just format that thing and install Linux on it or get a mac.