#+TITLE: Ruby on Rails Setup in Windows Machine #+DATE: Sat Apr 27 08:41:05 +0545 2019 * Install gitbash *** Download - [[https://www.youtube.com/watch?v=rWboGsc6CqI][VIDEO LINK]] - [[https://git-scm.com/download/win][DOWNLOAD LOCATION]] *** Verify #+BEGIN_SRC shell press Win(key) + R shortcut type cmd type git then ENTER #+END_SRC * Install ruby + devkit *** Download - [[https://rubyinstaller.org/downloads/?fbclid=IwAR1JH5jBWZzbzHYClU5TBkKr3AVoDxc3bHImb9OkEoCZalyduyeFwSi_3Vk][DOWNLOAD LOCATION]] *** Verify #+BEGIN_SRC shell press Win(key) + R shortcut type cmd type ruby --version then ENTER #+END_SRC * Install sqlite - [[https://www.youtube.com/watch?v=w7-oOIRIhiQ][VIDEO LINK]] - [[https://sqlite.org/download.html][DOWNLOAD LOCATION]] * Install an editor - [[https://aka.ms/win32-user-stable][VSCODE DOWNLOAD LINK]] - [[https://notepad-plus-plus.org/download/v7.6.6.html][NOTEPAD++ DOWNLOAD LINK]] * creating rails server - Open the cmdline - run following command #+BEGIN_SRC shell gem install --no-ri --no-rdoc rails # verify rails --version #+END_SRC - Once the rails has installed let's create first rails project #+BEGIN_SRC shell rails new blog #+END_SRC *** NOTE: when rails new command fails with sqlite error - FIX: gem install sqlite3 -v '1.4.0' — source 'https://rubygems.org/'