[Repost of something that apparently got eaten.]

Marnen Laibow-Koser wrote in post #955224:
> Steve Mills wrote in post #955220:
>> The content was...
>>
>> diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
>> index 266d717..0e9f39a 100755
>> --- a/tool/rbinstall.rb
>> +++ b/tool/rbinstall.rb
>> @@ -515,7 +515,7 @@ install?(:ext, :comm, :gem) do
>>      version = open(src) {|f| f.find {|s| /^\s*\w*VERSION\s*=(?!=)/ =~
>> s}} or next
>>      version = version.split(%r"=\s*", 2)[1].strip[/\A([\'\"])(.*?)\1/,
>> 2]
>>      puts "#{" "*30}#{name} #{version}"
>> -    open_for_install(File.join(destdir, "#{name}.gemspec"), $data_mode)
>> do
>> +    open_for_install(File.join(destdir, "#{name}-#{version}.gemspec"),
>> $data_mode) do
>>        <<-GEMSPEC
>>  Gem::Specification.new do |s|
>>    s.name = #{name.dump}
>
> Then you probably want to use Git to apply it -- check out the docs for
> git-apply.
>

No, on second thought, you don't need Git to apply the patch.  Just use 
the patch command as I explained earlier.

> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> mar...@marnen.org

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to