# Ruby under Cygwin problems

**URL:** <https://rubytalk.org/t/ruby-under-cygwin-problems/19327>\
**Category:** ruby-talk\
**Created:** [4 July 2005 13:56 UTC](https://rubytalk.org/t/ruby-under-cygwin-problems/19327 "2005-07-04T13:56:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Masschelein\_Bart](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Masschelein\_Bart](https://rubytalk.org/u/Masschelein_Bart)\
**Post date:** [4 July 2005 13:56 UTC](https://rubytalk.org/t/ruby-under-cygwin-problems/19327/1 "2005-07-04T13:56:04Z")

</div>

Whatever Ruby module I want to install under Cygwin I always get the same  
error: ruby: No such file to load -- ubygems (LoadError)

I've tried install rubygem, rubyfcgi etc. After "ruby config.rb config" or  
"ruby config.rb install" I get error: "ruby: No such file to load --  
ubygems (LoadError)" It looks strange. I am using last cygwin installation  
with ruby 1.8.2 ()ruby 1.8.2 (2004-12-25) [i386-cygwin])

> **···**
>
> ----
> 
> True. Try to unset the RUBYOPT environment variable. Did the trick for me.

---

<div class="post-metadata">

**Author:** ![JZ12](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JZ12](https://rubytalk.org/u/JZ12)\
**Post date:** [5 July 2005 09:25 UTC](https://rubytalk.org/t/ruby-under-cygwin-problems/19327/2 "2005-07-05T09:25:44Z")

</div>

It solved the problem. Tnx.

> **···**
>
> Dnia Mon, 4 Jul 2005 22:56:04 +0900, Masschelein Bart napisał(a):
> 
> > True. Try to unset the RUBYOPT environment variable. Did the trick for me.
> 
> --  
> JZ
