# Ruby 1.9.2 is released

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489>\
**Category:** Ruby\
**Created:** [August 18, 2010, 5:27pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489 "2010-08-18T17:27:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 18, 2010, 5:27pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/1 "2010-08-18T17:27:28Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi,

Ruby 1.9.2 has been released. This is the newest release of Ruby 1.9  
series.

== About Ruby 1.9.2  
Ruby 1.9.2 is mostly compatible with 1.9.1, except the  
following changes:

- Many new methods
- New socket API (IPv6 support)
- New encodings
- Random class that supports various random number generators
- Time is reimplemented. There is no longer the year 2038 problem.
- some regexp enhancements
- $: no longer includes the current directory.
- dl is reimplemented on top of libffi.
- new psych library that wraps libyaml. You can use the library instead  
of syck.

See [\*1][\*2] for more detail.  
\*1: [http://svn.ruby-lang.org/repos/ruby/tags/v1\_9\_2\_0/NEWS](http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_0/NEWS)  
\*2: [http://svn.ruby-lang.org/repos/ruby/tags/v1\_9\_2\_0/ChangeLog](http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_0/ChangeLog)

Ruby 1.9.2 passes over 99% of RubySpec [\*3].  
\*3: [http://www.rubyspec.org](http://www.rubyspec.org)

== Supported Platform  
Ruby 1.9 has four support levels.

:Supported  
We verified that Ruby 1.9.2 works fine on it. And we can keep the  
1.9.2 maintained on it.

- Debian GNU/Linux 5.0 on IA32.

:Best Effort  
We verified that Ruby 1.9.2 works mostly fine on them. And I believe  
we can keep the 1.9.2 maintained on it.

- mswin32, x64-mswin64, mingw32
- MacOS X 10.5 (Intel) and 10.6
- FreeBSD 6 and later (amd64, IA32)
- Solaris 10
- Symbian OS

:Perhaps  
I think Ruby 1.9.2 works fine on them with small modification,  
however, it is not verified. Patch is welcome.

- Other Linux distributions
- Other versions of MacOS X.
- cygwin
- AIX 5
- Other POSIX-compatible systems
- BeOS (Haiku)

:Not supported  
I do not think Ruby 1.9.2 works on them. Porting is welcome.

- Any other systems

== FAQ  
:The standard library is installed in /usr/local/lib/ruby/1.9.1  
This version number is “library compatibility version”. Ruby 1.9.2 is  
mostly compatible with the 1.9.2, so its library is installed in the  
directory.

:It causes a LoadError  
$: no longer includes the current directory. So some scripts need  
modification to work correctly. Anyway, your script should not depend on  
the current directory as well as possible.

== Downloads

- [http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2](http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2)  
SIZE: 8495472 bytes  
MD5: d8a02cadf57d2571cd4250e248ea7e4b  
SHA256:  
e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b

- [http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz](http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz)  
SIZE: 10787899 bytes  
MD5: 755aba44607c580fddc25e7c89260460  
SHA256:  
8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c

- [http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip](http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip)  
SIZE: 12159728 bytes  
MD5: e57a393ccd62ddece4c63bd549d8cf7f  
SHA256:  
e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a

- – Yuki S. (Yugui) [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.10 (Darwin)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iEYEARECAAYFAkxr+7kACgkQOXzH5JLb/AUdMwCdGzusGRlb9vjcUSNSH2FLre4x  
JkMAoIEcizBp0sl4b5+1jCaCWOlQGDew  
=YmjE  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 18, 2010, 7:07pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/2 "2010-08-18T19:07:01Z")

</div>

On 08/18/2010 08:26 AM, Yuki S. (Yugui) wrote:  
…

> :Supported  
> We verified that Ruby 1.9.2 works fine on it. And we can keep the  
> 1.9.2 maintained on it.
> 
> - Debian GNU/Linux 5.0 on IA32.

Supported also on x86\_64-linux, right?

Or is that platform in the “Best Effort” category?

> :Best Effort  
> We verified that Ruby 1.9.2 works mostly fine on them. And I believe  
> we can keep the 1.9.2 maintained on it.
> 
> - mswin32, x64-mswin64, mingw32
> - MacOS X 10.5 (Intel) and 10.6
> - FreeBSD 6 and later (amd64, IA32)
> - Solaris 10
> - Symbian OS

Thanks to all the 1.9 developers for getting to this point.

Coincidentally, last night I finished 1.9 compatibility adaptations for  
a C/ruby simulation engine that depended in ugly ways on 1.8 internal  
details. I was pleased to see a 30-40% speedup using 1.9.2, even though  
I thought most of the bottleneck was in my C extension code.

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 1:35am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/3 "2010-08-19T01:35:45Z")

</div>

2010/8/18 Yuki S. (Yugui) [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> -----BEGIN PGP SIGNED MESSAGE-----  
> Ruby 1.9.2 has been released. This is the newest release of Ruby 1.9  
> series.

congrats and many thanks.  
thanks too to seguin for fast updating rvm to latest ruby 🙂

best regards -botp

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 2:36am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/4 "2010-08-19T02:36:37Z")

</div>

2010/8/18 Yuki S. (Yugui) [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Ruby 1.9.2 has been released. This is the newest release of Ruby 1.9  
> series.

after installing, gem does not seem to work here.

$ gem list  
/usr/local/lib/ruby/site\_ruby/1.9.1/rubygems/source\_index.rb:68:in  
`installed_spec_directories': undefined method `path’ for Gem:Module  
(NoMethodError)  
from  
/usr/local/lib/ruby/site\_ruby/1.9.1/rubygems/source\_index.rb:58:in  
`from_installed_gems' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:883:in `source\_index’  
from  
/usr/local/lib/ruby/site\_ruby/1.9.1/rubygems/gem\_path\_searcher.rb:81:in  
`init_gemspecs' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:13:in `initialize’  
from /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems.rb:841:in `new' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in `block in  
searcher’  
from internal:prelude:10:in `synchronize' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:840:in `searcher’  
from /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems.rb:479:in  
`find_files' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:983:in `load\_plugins’  
from /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems.rb:1139:in `<top (required)>' from <internal:lib/rubygems/custom_require>:29:in `require’  
from internal:lib/rubygems/custom\_require:29:in `require' from /usr/local/bin/gem:8:in `’  
botp@jedi2:/package/ruby-1.9.2-p0

weird, since rvm does install it fine.

$ rvm 1.9.2  
botp@jedi2:/package/ruby-1.9.2-p0  
$ rvm list

rvm rubies

ruby-1.8.6-p399 [i386]  
ruby-1.8.7-p174 [i386]  
ruby-1.8.7-p299 [i386]  
ruby-1.9.1-p378 [i386]  
=\> ruby-1.9.2-p0 [i386]  
ruby-1.9.2-preview3 [i386]  
ruby-1.9.2-rc1 [i386]  
ruby-1.9.2-rc2 [i386]

botp@jedi2:/package/ruby-1.9.2-p0  
$ gem list

\*\*\* LOCAL GEMS \*\*\*

rake (0.8.7)  
rdoc (2.5.10)

best regards -botp

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 3:00am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/5 "2010-08-19T03:00:02Z")

</div>

rubygems is included in ruby1.9.2.

Did you try it?

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 2:48am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/6 "2010-08-19T02:48:20Z")

</div>

> weird, since rvm does install it fine.

arggh i’m stuck..  
even compiling straight fr rubygem download wont work

botp@jedi2:~/Desktop/downloads/rubygems-1.3.7  
$ sudo ruby setup.rb  
/disk2\_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems/source\_index.rb:68:in  
`installed_spec_directories': undefined method `path’ for Gem:Module  
(NoMethodError)  
from  
/disk2\_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems/source\_index.rb:58:in  
`from_installed_gems' from /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:883:in `source\_index’  
from  
/disk2\_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems/gem\_path\_searcher.rb:81:in  
`init_gemspecs' from /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems/gem_path_searcher.rb:13:in `initialize’  
from  
/disk2\_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:841:in  
`new' from /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:841:in `block in searcher’  
from internal:prelude:10:in `synchronize' from /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:840:in `searcher’  
from  
/disk2\_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:479:in  
`find_files' from /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:983:in `load\_plugins’  
from  
/disk2\_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:1139:in  
`<top (required)>' from <internal:lib/rubygems/custom_require>:29:in `require’  
from internal:lib/rubygems/custom\_require:29:in `require' from setup.rb:24:in `’  
botp@jedi2:~/Desktop/downloads/rubygems-1.3.7

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 3:08am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/7 "2010-08-19T03:08:49Z")

</div>

Sorry for continuous mail.

I forgot see the previous mail, and I think:

- try get tarball in yourself and build&install it (like  
–prefix=`pwd`/local)
- test gem command (local/bin/gem env)

RVM sometime makes unhappy.

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 3:28am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/8 "2010-08-19T03:28:08Z")

</div>

On Thu, Aug 19, 2010 at 8:59 AM, Sora H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> rubygems is included in ruby1.9.2.
> 
> Did you try it?

yes, of course. that was the first thing i did. see my previous post

thanks and best regards -botp

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 3:29am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/9 "2010-08-19T03:29:54Z")

</div>

On Thu, Aug 19, 2010 at 9:03 AM, Sora H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Sorry for continuous mail.  
> I forgot see the previous mail, and I think:

no problem. pls do not apologize 🙂

> - try get tarball in yourself and build&install it (like --prefix=`pwd`/local)

thanks will do that

> - test gem command (local/bin/gem env)  
> RVM sometime makes unhappy.

hmm, you got me there. never thought of that. somehow, my rvm sets  
the GEM\_ vars to “”.. not sure if related though..

many thanks, Sora.  
best regards -botp

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 5:47am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/10 "2010-08-19T05:47:18Z")

</div>

ruby 1.9.2p0 (2010-08-18 revision 29036) [x86\_64-linux]

run gem list

~/ruby-1.9.2-p0# gem list  
/usr/local/lib/ruby/site\_ruby/1.9.1/rubygems/source\_index.rb:68:in  
`installed_spec_directories': undefined method`path’ for Gem:Module  
(NoMethodError)  
from  
/usr/local/lib/ruby/site\_ruby/1.9.1/rubygems/source\_index.rb:58:in  
`from_installed_gems' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:883:in`source\_index’  
from  
/usr/local/lib/ruby/site\_ruby/1.9.1/rubygems/gem\_path\_searcher.rb:81:in  
`init_gemspecs' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:13:in`initialize’  
from /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems.rb:841:in  
`new' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in`block in searcher’  
from internal:prelude:10:in `synchronize' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:840:in`searcher’  
from /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems.rb:479:in  
`find_files' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:983:in`load\_plugins’  
from /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems.rb:1139:in  
`<top (required)>' from <internal:lib/rubygems/custom_require>:29:in`require’  
from internal:lib/rubygems/custom\_require:29:in `require' from /usr/local/bin/gem:8:in`’

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/11 "2010-08-19T17:01:54Z")

</div>

On 8/18/10 8:45 PM, “botp” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> (NoMethodError)  
> `init_gemspecs' from <internal:prelude>:10:in `synchronize’  
> /disk2\_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:1139:in  
> `<top (required)>' from <internal:lib/rubygems/custom_require>:29:in `require’  
> from internal:lib/rubygems/custom\_require:29:in `require' from setup.rb:24:in `’  
> botp@jedi2:~/Desktop/downloads/rubygems-1.3.7

Same here!

I don’t use rvm or anything, I’ve always followed the instructions on  
Hivelogic:

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Technologist, podcaster, and inventor. Founder of the 5by5 podcast network and Fireside.

ard

Compiling and installing Ruby went fine, but this is what I get when I  
try  
to install rubygems:

sroach-mac:rubygems-1.3.7 sroach$ sudo /usr/local/bin/ruby setup.rb  
Password:  
/Users/sroach/src/rubygems-1.3.7/lib/rubygems/source\_index.rb:68:in  
`installed_spec_directories': undefined method `path’ for Gem:Module  
(NoMethodError)  
from  
/Users/sroach/src/rubygems-1.3.7/lib/rubygems/source\_index.rb:58:in  
`from_installed_gems' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:883:in `source\_index’  
from  
/Users/sroach/src/rubygems-1.3.7/lib/rubygems/gem\_path\_searcher.rb:81:in  
`init_gemspecs' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems/gem_path_searcher.rb:13:in `initialize’  
from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:841:in `new' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:841:in `block  
in  
searcher’  
from internal:prelude:10:in `synchronize' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:840:in `searcher’  
from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:479:in  
`find_files' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:983:in `load\_plugins’  
from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:1139:in `<top (required)>' from <internal:lib/rubygems/custom_require>:29:in `require’  
from internal:lib/rubygems/custom\_require:29:in `require’

I’m new at this, so if anyone has any idea of how to correct the issue,  
I’d  
appreciate it.

Thanks!  
Spencer  
from setup.rb:24:in `’  
sroach-mac:rubygems-1.3.7 sroach$

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/12 "2010-08-19T23:05:32Z")

</div>

Spencer Roach wrote

> Compiling and installing Ruby went fine, but this is what I get when I  
> try  
> to install rubygems:

Are you sure you don’t have an outdated copy in  
/usr/local/lib/ruby/gems/\*?

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 9:13pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/13 "2010-08-19T21:13:04Z")

</div>

2010/8/18 Yuki S. (Yugui) [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> :It causes a LoadError  
> $: no longer includes the current directory. So some scripts need  
> modification to work correctly. Anyway, your script should not depend on  
> the current directory as well as possible.

Rather than just saying “your script should not depend on the current  
directory as well as possible”, the FAQ should have a pointer to  
require\_relative.

martin

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 19, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/14 "2010-08-19T23:33:39Z")

</div>

On Aug 19, 2010, at 07:54 , Spencer Roach wrote:

> Compiling and installing Ruby went fine, but this is what I get when I try  
> to install rubygems:
> 
> sroach-mac:rubygems-1.3.7 sroach$ sudo /usr/local/bin/ruby setup.rb

why are you installing rubygems? 1.9.x ships with rubygems. 1.9.2-p0  
ships with rubygems 1.3.7. I can appreciate your predicament, but I  
don’t see why you’re in it.

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 20, 2010, 5:51am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/15 "2010-08-20T05:51:34Z")

</div>

Dear everyone having Gem.path issues:

I compile manually. Install to /usr/local. Pretty standard. I had 1.9.2  
preview 3 installed.

I installed 1.9.2p0, got the Gem.path error.

Here’s the simple solution that worked for me: nuke the gems, make  
install again.

sudo rm -rf /usr/local/lib/ruby/site\_ruby/1.9.1/_ubygem_  
cd your-ruby-src-path  
sudo make install # assuming you have it compiled from before

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 20, 2010, 6:00am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/16 "2010-08-20T06:00:34Z")

</div>

Caio C. wrote:

> sudo rm -rf /usr/local/lib/ruby/site\_ruby/1.9.1/_ubygem_  
> cd your-ruby-src-path  
> sudo make install # assuming you have it compiled from before

Oh, that’s interesting.

Turns out rubygems was trying to load from  
/usr/local/lib/ruby/site\_ruby/1.9.1/rubygems, but the newly installed  
rubygems are in /usr/local/lib/ruby/1.9.1/rubygems. So, that’s probably  
what was wrong. I guess you don’t even need to `make install` again,  
just nuke the unwanted gem installation in site\_ruby.

Again, the paths:

- /usr/local/lib/ruby/1.9.1/rubygems # \<== good
- /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems # \<== bad

Fair warning: This may only apply to my system. Think twice before you  
go `rm -rf`-happy on yours. 😛

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 20, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/17 "2010-08-20T16:30:26Z")

</div>

On 8/20/10 12:00 AM, “Caio C.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> what was wrong. I guess you don’t even need to `make install` again,  
> just nuke the unwanted gem installation in site\_ruby.
> 
> Again, the paths:
> 
> - /usr/local/lib/ruby/1.9.1/rubygems # \<== good
> - /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems # \<== bad
> 
> Fair warning: This may only apply to my system. Think twice before you  
> go `rm -rf`-happy on yours. 😛

Thanks for this! That was the solution I needed…works like a charm  
now!

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 22, 2010, 7:18pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/18 "2010-08-22T19:18:40Z")

</div>

Spencer Roach wrote:

> On 8/20/10 12:00 AM, “Caio C.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > what was wrong. I guess you don’t even need to `make install` again,  
> > just nuke the unwanted gem installation in site\_ruby.
> > 
> > Again, the paths:
> > 
> > - /usr/local/lib/ruby/1.9.1/rubygems # \<== good
> > - /usr/local/lib/ruby/site\_ruby/1.9.1/rubygems # \<== bad
> > 
> > Fair warning: This may only apply to my system. Think twice before you  
> > go `rm -rf`-happy on yours. 😛
> 
> Thanks for this! That was the solution I needed…works like a charm  
> now!

Worked great for me too – thx.

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [September 25, 2010, 12:58am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/19 "2010-09-25T00:58:24Z")

</div>

Hi Preston,

On 25.09.2010 00:10, Preston L. wrote:

> I did a brief writeup on some of these issues, here:  
> [Upgrading From Ruby 1.9.1 to Ruby 1.9.2 – Preston Lee's Blog](http://www.prestonlee.com/2010/09/24/upgrading-from-ruby-1-9-1-to-ruby-1-9-2/)

Incredible, your post was right on time for me! I struggled to get  
ruby-opengl compiled with 1.9.2 because of the “`bin\_pathâ€™: canâ€™t find  
executable rake” issue which for the hell I couldn’t figure out what’s  
wrong.

I’m using rvm so deleting  
~/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/gems/1.9.1/specifications/rake.gemspec  
fixed this for me → many thanks!

Same issue with 1.9.2-head too (not surprisingly) so  
~/.rvm/rubies/ruby-1.9.2-head/lib/ruby/gems/1.9.1/specifications/rake.gemspec  
went to Kansans too.

- Markus

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [September 25, 2010, 12:10am UTC](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489/20 "2010-09-25T00:10:16Z")

</div>

I did a brief writeup on some of these issues, here:  
[http://www.prestonlee.com/2010/09/24/upgrading-from-ruby-1-9-1-to-ruby-1-9-2/](http://www.prestonlee.com/2010/09/24/upgrading-from-ruby-1-9-1-to-ruby-1-9-2/)

[Next page](https://www.ruby-forum.com/t/ruby-1-9-2-is-released/193489.md?page=2)
