First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 143974
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Ruby Team <ruby@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maksim 'max_posedon' Melnikau <maxposedon@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 143974 depends on: Show dependency tree
Bug 143974 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-15 00:06 0000
dev-ruby/ruby-postgres-0.7.1.20051221 doesn't work with rails-1.1.6 but
dev-ruby/ruby-postgres-0.7.1 work

==============ruby-postgres-0.7.1.20051221=============================
localhost 0.1 # irb
irb(main):001:0> require 'postgres'
LoadError: no such file to load -- postgres
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from (irb):1



==============dev-ruby/ruby-postgres-0.7.1==============================
localhost 0.1 # irb
irb(main):001:0> require 'postgres'
=> true

------- Comment #1 From Lisa Seelye (RETIRED) 2006-08-18 10:13:04 0000 -------
I can confirm this.

------- Comment #2 From Christopher Covington 2006-08-30 06:37:14 0000 -------
$ ruby
/usr/lib/ruby/gems/1.8/gems/ruby-postgres-0.7.1.2005.12.21/tests/tc_postgres.rb
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- postgres (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from
/usr/lib/ruby/gems/1.8/gems/ruby-postgres-0.7.1.2005.12.21/tests/tc_postgres.rb:1

------- Comment #3 From John W Higgins 2006-09-17 22:51:26 0000 -------
This is not a bug in this package - unfortunately a really stupid patch got
applied to rubygems upstream for 0.9.0 which totally screws up extensions that
are built in the installation process. The shortest option to fix this at the
moment would be to change the following lines within
/usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb (or your local equivalent)

Approximately lines 588 and 605 will look like

['', 'install', 'clean'].each do |target|

change both to read

[''].each do |target|


This will undo the patch nonsense and get this ebuild working again. Hopefully
someone upstream will smarten up and remove this garbage from rubygems. The
0.7.1 version isn't affected because it's a source build as opposed to rubygems
based

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2006-11-01 09:52:37 0000 -------
Will patch rubygems-0.9.0-r1 with the same patch applied upstream.

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2006-11-01 10:00:40 0000 -------
And finally, fixed.

First Last Prev Next    No search results available      Search page      Enter new bug