New answers tagged

1

It seems a unexpected result of cygwin 2.5.2 release https://www.cygwin.com/ml/cygwin/2016-06/msg00378.html As workaround, downgrade cygwin package to 2.5.1


2

The Ruby package has problem loading native libraries (at least kernel32.dll). The problem comes from a call to dns.getresource("_rubygems._tcp.#{host}", Resolv::DNS::Resource::IN::SRV) which probably make a native call to kernel32.dll hence loading the kernel32.dll library. If you specify the full path to the library, it will work correctly. kernel = ...


1

Not sure if this is typical, but I was able to get it to work by simply running: sudo apt-get install ruby


0

Looks like you ran across this gem, which was made as a joke but has now been pulled from RubyGems. Beats me how you got it (typoed?), but in any case, follow the instructions for the command they give (gem uninstall install -x) and you should be fine.


0

By default in Arch Linux, when running gem, gems are installed per-user (into ~/.gem/ruby/), instead of system-wide (into /usr/lib/ruby/gems/). This is considered the best way to manage gems on Arch, because otherwise they might interfere with gems installed by Pacman. Gems can be installed system wide by running the gem command as root, appended with the --...


1

If you plan to use ruby , consider the use of Rvm (or rbenv) Rvm home page Then: brew update \curl -sSL https://get.rvm.io | bash -s stable Follow instructions in prompts (you'll need to source some scripts ) something like "source ~/.rvm/scripts/..." rvm list # this list all rubies instaled rvm use 2.3.1 # this set env on ruby version you want to ...



Top 50 recent answers are included