Skip to content

Instantly share code, notes, and snippets.

@gastonambrogi
Last active March 16, 2018 04:34
Show Gist options
  • Save gastonambrogi/1ba05c5171e003506462aaf109df0284 to your computer and use it in GitHub Desktop.
Save gastonambrogi/1ba05c5171e003506462aaf109df0284 to your computer and use it in GitHub Desktop.
RubyInstaller 2.4.3.2 on Windows 7
  • RubyInstaller 2.4.3.2
  • MSYS2> OPT:3
  • cmd> ridk exec pacman -S mingw-w64-x86_64-libxslt
  • gem install nokogiri --platform ruby -- --use-system-libraries
  • ridk exec pacman -S mingw-w64-x86_64-sqlite3
  • gem install sqlite3 --platform ruby
  • gem install bundler
  • gem install rails
  • cd app
  • Gemfile: gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] > gem 'tzinfo-data'
  • bundle lock --add-platform x86-mswin32 x86-mingw32 java
  • bundle
  • app\assets\javascripts\application.js: //= require_tree . > // require_tree .

rails s 🌈

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