Hi! I've been following the answer at https://stackoverflow.com/questions/3258518/ruby-get-available-disk-drives and I wondered how is it possible to view the methods of the drive variable if they are not known (or any other object?)
I thought perhaps I could use .inspect, like at https://hastebin.com/evavebewot.rb, but that didn't work
normally at this point I would just look at the file in the gem, but thought I would ask if there was a way to, like, discover methods available on an object rather than always looking at the code itself
hello, random question :) it seems that ruby/pry can't read 'C:\Windows\System32\CertSrv', trying to glob that dir tells me it doesn't exist. Has anyone come across that or other directories that ruby can't seem to find? It doesn't seem to be a permissions things because when I do the same thing with cmd or powershell I can view the dir contents
Quite a random question for a Monday, but I am stumped at this point as to why I can't read it
hello, I found a bug with someone else's code and have a fix but wondering which is the better one to go with,
in their code it has '::Dir.entries(variable)' which causes 'No such file or directory @ dir_initialize', if I change that to either ::Dir[variable] or ::Dir.glob(variable), this works. is there any preference in this case?
hi, hopefully not too off topic.. is there a way to use bundler to install gems from git into the gem path ? the problem i'm having is gems from git are installed to $GEM_PATH/bundler/gems and not $GEM_PATH/gems; i'd like to make use of these gems without using 'bundle exec'