[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MRI 2.0 preview release



On 05/11/12 at 01:24 +0000, Joshua Timberman wrote:
> 
> On Nov 4, 2012, at 9:39 AM, Lucas Nussbaum <lucas@lucas-nussbaum.net> wrote:
> 
> > Where does it install files if you "make install" ? /usr/lib/ruby/1.9.1
> > or /usr/lib/ruby/2.0? :-)
> 
> Using an install prefix of '/tmp/r', it's installing to lib/ruby/2.0.0.
> 
> ./miniruby -I./lib -I. -I.ext/common  ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc" --install=all --rdoc-output=".ext/rdoc"
> installing binary commands:   /tmp/r/bin
> installing base libraries:    /tmp/r/lib
> installing arch files:        /tmp/r/lib/ruby/2.0.0/x86_64-linux
> installing pkgconfig data:    /tmp/r/lib/pkgconfig
> installing extension objects: /tmp/r/lib/ruby/2.0.0/x86_64-linux
> installing extension objects: /tmp/r/lib/ruby/site_ruby/2.0.0/x86_64-linux
> installing extension objects: /tmp/r/lib/ruby/vendor_ruby/2.0.0/x86_64-linux
> installing extension headers: /tmp/r/include/ruby-2.0.0/x86_64-linux
> installing extension scripts: /tmp/r/lib/ruby/2.0.0
> installing extension scripts: /tmp/r/lib/ruby/site_ruby/2.0.0
> installing extension scripts: /tmp/r/lib/ruby/vendor_ruby/2.0.0
> installing extension headers: /tmp/r/include/ruby-2.0.0/ruby
> installing rdoc:              /tmp/r/share/ri/2.0.0/system
> installing capi-docs:         /tmp/r/share/doc/ruby
> installing command scripts:   /tmp/r/bin
> installing library scripts:   /tmp/r/lib/ruby/2.0.0
> installing common headers:    /tmp/r/include/ruby-2.0.0
> installing manpages:          /tmp/r/share/man/man1

That means that 2.0 can easily be co-installed with 1.9.3. Good.

> installing default gems:      /tmp/r/lib/ruby/gems/2.0.0 (cache, doc, gems, specifications)
>                               bigdecimal 1.1.0
>                               io-console 0.3
>                               json 1.7.1
>                               minitest 3.4.0
>                               psych 1.3.4
>                               rake 0.9.2.2
>                               rdoc 3.9.4
>                               test-unit 2.0.0.0

Addressing that will be interesting ;)
Maybe we could just drop those bundled gems and depend on our own
packages. (I don't mean that we should 'cripple' ruby by removing part
of what is shipped by default -- I just mean that those gems should come
from the standalone packages rather than the bundled versions)

> While it's a year old, I found this article to be helpful.
> 
> http://www.rubyinside.com/ruby-2-0-implementation-work-begins-what-is-ruby-2-0-and-whats-new-5515.html

Thanks!

Lucas


Reply to: