Skip to content

Instantly share code, notes, and snippets.

@gastonambrogi
Last active March 22, 2019 23:44
Show Gist options
  • Save gastonambrogi/e9bd27fd0321fa3c404ab8b315a0113f to your computer and use it in GitHub Desktop.
Save gastonambrogi/e9bd27fd0321fa3c404ab8b315a0113f to your computer and use it in GitHub Desktop.
  1. https://rubyinstaller.org/downloads/
  2. https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-2.5.3-1/rubyinstaller-devkit-2.5.3-1-x64.exe
  3. Install with DevKit (will run ridk)
  4. Select option 3
  5. ridk exec pacman -S mingw-w64-x86_64-sqlite3 mingw-w64-x86_64-libxslt mingw-w64-x86_64-libxml2
  6. gem install rails --no-ri --no-rdoc
  7. rails new APP. The installation will fail. So...
  8. Edit Gemfile
  9. Change gem sqlite to gem 'sqlite3', git: "https://github.com/larskanis/sqlite3-ruby", branch: "add-gemspec"
  10. cd APP
  11. rails s
@dikaoru
Copy link

dikaoru commented Mar 17, 2019

Works in Win 10 Pro, Just a small comment:
After step 9) I think a bundle install is needed, otherwise, the following message will appear:
The git source https://github.com/larskanis/sqlite3-ruby is not yet checked out. Please run bundle install before trying to start your application

@gastonambrogi
Copy link
Author

Great! Thanks for the commet @dikaoru

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment