I'm new to Ruby On Rails and I want to know which is better to use for work with it. Windows or Linux. I've never worked with Linux before but I heard It's better to work with it. Is it necessary for someone like me to install linux or I can use windows and the results will be same with linux?
If your current dev machine is running Windows, and you don't have access to a Linux environment right now, don't let that stop you from getting started with Rails. Definitely, definitely, definitely install the DevKit first thing (if it's not included in RubyInstaller yet). See https://github.com/oneclick/rubyinstaller/wiki/Development-Kit for that.
If you get deep into Rails development, or even start doing it for a living, you will inevitably drift towards using Linux on your dev machine. The problem is not Rails, but the many binary gems which are difficult or impossible to install on Windows.
The most popular Ruby library for manipulating images (ie. generating thumbnails) is RMagick, but trying to install it on Windows is enough to make a strong man cry. Paperclip is very nice for dealing with images and other attachments, but it is also a problem. Then there is a popular JSON parsing library which is also problematic on Windows. Unicorn (a popular Rails server) won't run at all on Windows, and Thin (my favorite) may also give you headaches. And so on, and so on.
You can get pretty far with Rails development on Windows these days, but at times you will find yourself having to test code on a remote server, rather than locally, and it can waste a lot of time.
Yes, this thread is an old thread but I am here to express how awfully you will encounter problems on windows platform while using Ruby on Rails. It may be 'OK' to build normal application however, as soon as you start scratching the surface of sqlite3
, ASCII Characters
, Internationalisation for an application
, ... Your hair will start to fall off, I mean literally . Whereas if you stick with Mac or Linux (Ubuntu), You will feel invincible, take pride on projects, progress further without having to configure yourself manually with setting of (gems') native extensions library and it is horrendous.
In Summary, to make it work on windows is just nightmare. Whatever you have done it is entirely your decision. I hope everything is fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With