General

Profile

gurgeous (Adam Doppelt)

  • Login: gurgeous
  • Email: amd@gurge.com
  • Registered on: 04/06/2012
  • Last sign in: 12/08/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 2 3

Activity

12/08/2025

01:20 AM Ruby Feature #21766: Pathname + FileUtils making sweet music together
I'm open to any and all implementation suggestions, happy to do whatever is required. I just want the feature! gurgeous (Adam Doppelt)

12/07/2025

08:31 PM Ruby Feature #21766 (Open): Pathname + FileUtils making sweet music together
I love Pathname. I love FileUtils. Let's bring these two classes EVEN CLOSER TOGETHER by adding some tragically missing helpers. Something like this, perhaps?
``` ruby
class Pathname
def mkdir_p(...) = FileUtils.mkdir_p(@path, ......
gurgeous (Adam Doppelt)

12/02/2025

02:49 AM Ruby Bug #21640: Core Pathname is missing 3 methods / is partially-defined
Is there a way to resolve this? I just want to make Pathname (and Ruby) better :) gurgeous (Adam Doppelt)

10/26/2025

06:43 PM Ruby Bug #21640: Core Pathname is missing 3 methods / is partially-defined
Longtime rubyist here. I am the author of one of the Pathname PRs that kickstarted this discussion (#64). My PR adds the following methods to Pathname:
``` ruby
# these all use FileUtils
def mkdir_p(...)
def ln(...)
def ln_s(...)
...
gurgeous (Adam Doppelt)

06/23/2016

05:33 PM Ruby Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
Shyouhei Urabe wrote:
> I had no pro et contra to the proposal until now. From what you said I started thinking squish can be a bad smell of indiscreet data treatment.
I think you're missing the point here. Squish is used to cleanup...
gurgeous (Adam Doppelt)

05/19/2016

05:57 PM Ruby Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
It would be great to include squish in String. I've been writing production Ruby code for years and I often pull in ActiveSupport just to get squish.
Getting input from a user? squish
Cleaning up an iffy array.join? squish
Pulling d...
gurgeous (Adam Doppelt)

06/20/2013

01:04 PM Ruby Bug #8547 (Third Party's Issue): FileUtils.chmod("a+r", "foobar", verbose: true) crashes
To reproduce in IRB:
>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)
Here's the stack:
NoMethodError: undefined method `mode_to_s' for FileUtils:Module
from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/...
gurgeous (Adam Doppelt)

04/06/2012

07:22 AM Ruby Bug #6264 (Closed): Struct.members rdoc
It reads:
Returns an array of strings representing the names of the instance variables.
It should read:
Returns an array of SYMBOLS representing the names of the instance variables.
gurgeous (Adam Doppelt)

Also available in: Atom