Skip to content

Instantly share code, notes, and snippets.

@rbalman
Last active April 27, 2019 06:32
Show Gist options
  • Save rbalman/b94500b09d528c8a0fe3c5df1ea28ca2 to your computer and use it in GitHub Desktop.
Save rbalman/b94500b09d528c8a0fe3c5df1ea28ca2 to your computer and use it in GitHub Desktop.

Revisions

  1. rbalman revised this gist Apr 27, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -35,7 +35,7 @@
    - [[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 🚃
    * creating rails server
    - Open the cmdline
    - run following command
    #+BEGIN_SRC shell
    @@ -48,7 +48,7 @@
    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/' [[https://medium.com/@declancronje/installing-and-troubleshooting-ruby-on-rails-sqlite3-windows-10-fix-87c8886d03b?fbclid=IwAR1thEfp_-gFzVlTJ3i2wrYYuVNTIXUIEWiAajrScARs7eaZAGKywqDdzVw][Details here]]
    - FIX: 🚃gem 'sqlite3', git: 'https://github.com/larskanis/sqlite3-ruby', branch: 'add-gemspec'

    * Getting started with the rails 💪
    - [[https://guides.rubyonrails.org/getting_started.html]]
  2. rbalman revised this gist Apr 27, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup.org
    Original file line number Diff line number Diff line change
    @@ -35,7 +35,7 @@
    - [[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
    * creating rails server 🚃
    - Open the cmdline
    - run following command
    #+BEGIN_SRC shell
  3. rbalman revised this gist Apr 27, 2019. No changes.
  4. rbalman revised this gist Apr 27, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,7 @@
    *** Verify 🚥
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type cmd then ENTER
    type sqlite3 then ENTER
    #+END_SRC

  5. rbalman revised this gist Apr 27, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -30,7 +30,7 @@
    type sqlite3 then ENTER
    #+END_SRC

    * Install an editor
    * 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]]

    @@ -46,7 +46,7 @@
    #+BEGIN_SRC shell
    rails new blog
    #+END_SRC
    *** NOTE: when rails new command fails with sqlite error
    *** NOTE: when rails new command fails with sqlite error 🚫
    - FIX: gem install sqlite3 -v '1.4.0' — source 'https://rubygems.org/' [[https://medium.com/@declancronje/installing-and-troubleshooting-ruby-on-rails-sqlite3-windows-10-fix-87c8886d03b?fbclid=IwAR1thEfp_-gFzVlTJ3i2wrYYuVNTIXUIEWiAajrScARs7eaZAGKywqDdzVw][Details here]]

    * Getting started with the rails 💪
  6. rbalman revised this gist Apr 27, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup.org
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@
    * Install ruby + devkit :gem:
    *** Download ⬇️
    - [[https://rubyinstaller.org/downloads/?fbclid=IwAR1JH5jBWZzbzHYClU5TBkKr3AVoDxc3bHImb9OkEoCZalyduyeFwSi_3Vk][DOWNLOAD LOCATION]]
    *** Verify :traffic_light:
    *** Verify 🚥
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type cmd ENTER
  7. rbalman revised this gist Apr 27, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    #+DATE: Sat Apr 27 08:41:05 +0545 2019

    * Install gitbash :octocat:
    *** Download :arrow_down:
    *** Download ⬇️
    - [[https://www.youtube.com/watch?v=rWboGsc6CqI][VIDEO LINK]]
    - [[https://git-scm.com/download/win][DOWNLOAD LOCATION]]
    *** Verify 🚥
    @@ -12,7 +12,7 @@
    type git then ENTER
    #+END_SRC
    * Install ruby + devkit :gem:
    *** Download :arrow_down:
    *** Download ⬇️
    - [[https://rubyinstaller.org/downloads/?fbclid=IwAR1JH5jBWZzbzHYClU5TBkKr3AVoDxc3bHImb9OkEoCZalyduyeFwSi_3Vk][DOWNLOAD LOCATION]]
    *** Verify :traffic_light:
    #+BEGIN_SRC shell
    @@ -21,7 +21,7 @@
    type ruby --version ENTER
    #+END_SRC
    * Install sqlite
    *** Download :arrow_down:
    *** Download ⬇️
    - [[https://sqlite.org/download.html][DOWNLOAD LOCATION]]
    - [[https://www.youtube.com/watch?v=w7-oOIRIhiQ][VIDEO LINK]]
    *** Verify 🚥
  8. rbalman revised this gist Apr 27, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    *** Download :arrow_down:
    - [[https://www.youtube.com/watch?v=rWboGsc6CqI][VIDEO LINK]]
    - [[https://git-scm.com/download/win][DOWNLOAD LOCATION]]
    *** Verify :traffic_light:
    *** Verify 🚥
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type cmd then ENTER
    @@ -24,7 +24,7 @@
    *** Download :arrow_down:
    - [[https://sqlite.org/download.html][DOWNLOAD LOCATION]]
    - [[https://www.youtube.com/watch?v=w7-oOIRIhiQ][VIDEO LINK]]
    *** Verify :traffic_light:
    *** Verify 🚥
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type sqlite3 then ENTER
  9. rbalman revised this gist Apr 27, 2019. No changes.
  10. rbalman revised this gist Apr 27, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup.org
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    #+TITLE: Ruby on Rails Setup in Windows Machine :computer:
    #+DATE: Sat Apr 27 08:41:05 +0545 2019

    * Install gitbash
    * Install gitbash :octocat:
    *** Download :arrow_down:
    - [[https://www.youtube.com/watch?v=rWboGsc6CqI][VIDEO LINK]]
    - [[https://git-scm.com/download/win][DOWNLOAD LOCATION]]
  11. rbalman revised this gist Apr 27, 2019. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -2,29 +2,29 @@
    #+DATE: Sat Apr 27 08:41:05 +0545 2019

    * Install gitbash
    *** Download
    *** Download :arrow_down:
    - [[https://www.youtube.com/watch?v=rWboGsc6CqI][VIDEO LINK]]
    - [[https://git-scm.com/download/win][DOWNLOAD LOCATION]]
    *** Verify
    *** Verify :traffic_light:
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type cmd then ENTER
    type git then ENTER
    #+END_SRC
    * Install ruby + devkit
    *** Download
    * Install ruby + devkit :gem:
    *** Download :arrow_down:
    - [[https://rubyinstaller.org/downloads/?fbclid=IwAR1JH5jBWZzbzHYClU5TBkKr3AVoDxc3bHImb9OkEoCZalyduyeFwSi_3Vk][DOWNLOAD LOCATION]]
    *** Verify
    *** Verify :traffic_light:
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type cmd ENTER
    type ruby --version ENTER
    #+END_SRC
    * Install sqlite
    *** Download
    *** Download :arrow_down:
    - [[https://sqlite.org/download.html][DOWNLOAD LOCATION]]
    - [[https://www.youtube.com/watch?v=w7-oOIRIhiQ][VIDEO LINK]]
    *** Verify
    *** Verify :traffic_light:
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type sqlite3 then ENTER
  12. rbalman revised this gist Apr 27, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #+TITLE: Ruby on Rails Setup in Windows Machine 🚜
    #+TITLE: Ruby on Rails Setup in Windows Machine :computer:
    #+DATE: Sat Apr 27 08:41:05 +0545 2019

    * Install gitbash
    @@ -49,7 +49,7 @@
    *** NOTE: when rails new command fails with sqlite error
    - FIX: gem install sqlite3 -v '1.4.0' — source 'https://rubygems.org/' [[https://medium.com/@declancronje/installing-and-troubleshooting-ruby-on-rails-sqlite3-windows-10-fix-87c8886d03b?fbclid=IwAR1thEfp_-gFzVlTJ3i2wrYYuVNTIXUIEWiAajrScARs7eaZAGKywqDdzVw][Details here]]

    * Getting started with the rails 👏 💪
    * Getting started with the rails 💪
    - [[https://guides.rubyonrails.org/getting_started.html]]
    * Update this GIST
    #+BEGIN_SRC
  13. rbalman revised this gist Apr 27, 2019. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -47,9 +47,10 @@
    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/'
    - FIX: gem install sqlite3 -v '1.4.0' — source 'https://rubygems.org/' [[https://medium.com/@declancronje/installing-and-troubleshooting-ruby-on-rails-sqlite3-windows-10-fix-87c8886d03b?fbclid=IwAR1thEfp_-gFzVlTJ3i2wrYYuVNTIXUIEWiAajrScARs7eaZAGKywqDdzVw][Details here]]

    👏 💪 Hurray You are DONE
    * Getting started with the rails 👏 💪
    - [[https://guides.rubyonrails.org/getting_started.html]]
    * Update this GIST
    #+BEGIN_SRC
    gist -u b94500b09d528c8a0fe3c5df1ea28ca2 setup.org
  14. rbalman revised this gist Apr 27, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup.org
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #+TITLE: Ruby on Rails Setup in Windows Machine
    #+TITLE: Ruby on Rails Setup in Windows Machine 🚜
    #+DATE: Sat Apr 27 08:41:05 +0545 2019

    * Install gitbash
  15. rbalman revised this gist Apr 27, 2019. 1 changed file with 11 additions and 9 deletions.
    20 changes: 11 additions & 9 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -37,17 +37,19 @@
    * 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
    #+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/'

    👏 💪 Hurray You are DONE
    * Update this GIST
    #+BEGIN_SRC
    gist -u b94500b09d528c8a0fe3c5df1ea28ca2 setup.org
  16. rbalman revised this gist Apr 27, 2019. 1 changed file with 13 additions and 3 deletions.
    16 changes: 13 additions & 3 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -17,12 +17,18 @@
    *** Verify
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type cmd #ENTER
    type ruby --version #ENTER
    type cmd ENTER
    type ruby --version ENTER
    #+END_SRC
    * Install sqlite
    - [[https://www.youtube.com/watch?v=w7-oOIRIhiQ][VIDEO LINK]]
    *** Download
    - [[https://sqlite.org/download.html][DOWNLOAD LOCATION]]
    - [[https://www.youtube.com/watch?v=w7-oOIRIhiQ][VIDEO LINK]]
    *** Verify
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type sqlite3 then ENTER
    #+END_SRC

    * Install an editor
    - [[https://aka.ms/win32-user-stable][VSCODE DOWNLOAD LINK]]
    @@ -42,3 +48,7 @@
    #+END_SRC
    *** NOTE: when rails new command fails with sqlite error
    - FIX: gem install sqlite3 -v '1.4.0' — source 'https://rubygems.org/'
    * Update this GIST
    #+BEGIN_SRC
    gist -u b94500b09d528c8a0fe3c5df1ea28ca2 setup.org
    #+END_SRC
  17. rbalman revised this gist Apr 27, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@
    *** Verify
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type cmd
    type cmd then ENTER
    type git then ENTER
    #+END_SRC
    * Install ruby + devkit
    @@ -17,8 +17,8 @@
    *** Verify
    #+BEGIN_SRC shell
    press Win(key) + R shortcut
    type cmd
    type ruby --version then ENTER
    type cmd #ENTER
    type ruby --version #ENTER
    #+END_SRC
    * Install sqlite
    - [[https://www.youtube.com/watch?v=w7-oOIRIhiQ][VIDEO LINK]]
  18. rbalman created this gist Apr 27, 2019.
    44 changes: 44 additions & 0 deletions setup.org
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,44 @@
    #+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/'