Installing rails from within an existant MSYS2 installation

32 views
Skip to first unread message

Ricardo d'Oliveira

unread,
Oct 27, 2020, 9:11:10 AM10/27/20
to RubyInstaller

I already have the MSYS2 toolchain installed, and I have installed ruby interpreter. However, when I try to install rails (gem install rails), it gives me the following error.

  current directory: D:/dev/msys2/mingw64/lib/ruby/gems/2.7.0/gems/nio4r-2.5.4/ext/nio4r
  D:/dev/msys2/mingw64/bin/ruby.exe -I D:/dev/msys2/mingw64/lib/ruby/2.7.0 -r ./siteconf20201027-3052-13zckmd.rb extconf.rb
  D:/dev/msys2/mingw64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in   `require': cannot load such file -- devkit (LoadError)
    from D:/dev/msys2/mingw64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
    from extconf.rb:7:in `<main>'

  extconf failed, exit code 1

What am I supposed to do?

Reply all
Reply to author
Forward
0 new messages