<nyuszika7h>
I've already removed the cache directory and tried again but got the same error
<nyuszika7h>
permissions seem fine
DaRock has joined #ruby
chairs is now known as drawer
drawer is now known as al2o3-cr
TCZ has joined #ruby
<nyuszika7h>
I deleted /var/lib/gems/2.5.0/bundler, that solved it
burningserenity has joined #ruby
rose_nd_ash has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
rose_nd_ash has quit [Ping timeout: 246 seconds]
willllll has joined #ruby
BTRE has joined #ruby
<willllll>
does anyone know how to use net-ssh to forward a remote port to a local in-memory socket? a local socket on the filesystem would also be okay.
orbyt_ has joined #ruby
<al2o3-cr>
willllll: ssh.forward.remote(...)
<al2o3-cr>
willllll: arguments to remote are lport, lhost, rport, rhost
`nutcr4ck3r` has quit [Ping timeout: 260 seconds]
roadt has quit [Ping timeout: 240 seconds]
roadt has joined #ruby
<willllll>
yeah, that could work in a pinch, but i'm hoping not to have to open a local port, since i'm only going to use this by the same program, so i don’t need anything else having access to that new local port. i'm looking at the method in that same class that creates a local unix socket mapped to a remote unix socket and seeing if i can follow that
<willllll>
pattern to do remote port to in-memory socket
<al2o3-cr>
willllll: in-memory socket are you referring to a database?
fercell has quit [Ping timeout: 265 seconds]
fercell has joined #ruby
<willllll>
i have a custom server on a remote machine running a msgpack-rpc interface, and i want to connect to it from a rub program running on my machine, but tunnel the connection through ssh. opening a local port that is forwarded could work, but then it's exposed to other programs on this computer, which isn't the end of the world, but not necessary
fercell has quit [Quit: WeeChat 2.8]
<al2o3-cr>
willllll: is that even possible without a port?
<willllll>
it is for sure if you use filesystem sockets, which maybe using a tempfile one would be good enough
<al2o3-cr>
willllll: ah, unix sockets
<al2o3-cr>
willllll: then this should be entirely possile, sure.
DaRock has quit [Ping timeout: 265 seconds]
<al2o3-cr>
willllll: can you show me what you've tried?
execat[m] has joined #ruby
<al2o3-cr>
willllll: from what i can understand it's just ssh.forward.remote(lhost, lport, socket)
ChmEarl has joined #ruby
burningserenity has quit [Quit: Leaving.]
<al2o3-cr>
that should be ssh.forward.local sheesh
burningserenity has joined #ruby
howdoi has joined #ruby
Dreamer3 has joined #ruby
rose_nd_ash has joined #ruby
PimarSimil has joined #ruby
TCZ has quit [Quit: Leaving]
rose_nd_ash has quit [Ping timeout: 240 seconds]
<willllll>
thanks yeah, not much code to share, but trying to get it even going with a remote nc -l -p 1212 or nc -l -U /tmp/sock isn't going, so something else is in the way probably, which would be hard to debug over irc. i appreciate the help
akemrir has joined #ruby
adu has quit [Quit: adu]
<al2o3-cr>
willllll: i just figured i'd get more of a clearer picture if you shown an example, but yes, i agree, it's hard to debug over irc sometime. np & gl :)
<al2o3-cr>
willllll: lol, this is the import part :P
<al2o3-cr>
*important
<al2o3-cr>
willllll: why didn't netcat work?
<willllll>
it did, once i called loop, the remote nc had all the messages i was trying to send haha
alexherbo2 has joined #ruby
alexherbo2_ has joined #ruby
imode has joined #ruby
<al2o3-cr>
oh, i see, haha. glad you fixed your problem :)
<al2o3-cr>
that being the event loop
<willllll>
yeah, also a bit of peaking at the UNIXServer thing from the tests. it's not documented really that you can do that, and i think it's just there for the tests maybe, but good enough for me :)
<al2o3-cr>
willllll: i need to check something. could you PM your remote.ip and remote.ssh_key they seem broken :P
<willllll>
hunter2.com is the ip
<al2o3-cr>
haha
<al2o3-cr>
yeah, looking through the source code if lhost is :string unix_server else :long addr
<willllll>
if I manage to get this working all the rest of the way, i'll probably try and send them a PR to do unix server thing, and return the path of the socket so it's a supported way to use this, to lessen the chances of this breaking in the future
<al2o3-cr>
i meant if :string creates UNIXServer elseif :long creates TCPServer
<al2o3-cr>
willllll: sure thing, they welcome PR
rippa has joined #ruby
nutcr4ck3r has joined #ruby
TomyWork has quit [Quit: Leaving]
TomyLobo2 has quit [Quit: Leaving]
`nutcr4ck3r` has quit [Ping timeout: 264 seconds]
vondruch has quit [Ping timeout: 265 seconds]
burningserenity has quit [Quit: Leaving.]
mnathani_ has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
mnathani has quit [Ping timeout: 264 seconds]
gitter1234 has joined #ruby
alexherbo2_ has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 246 seconds]
burningserenity has joined #ruby
sgen has joined #ruby
nutcr4ck3r has quit [Ping timeout: 240 seconds]
rafadc has joined #ruby
akemrir has quit [Quit: WeeChat 2.9]
xylophone has quit [Ping timeout: 264 seconds]
alexherbo2 has joined #ruby
leitz has joined #ruby
alexherbo2_ has joined #ruby
Sauvin has quit [Ping timeout: 264 seconds]
nutcr4ck3r has joined #ruby
willllll has quit [Remote host closed the connection]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
BSaboia has joined #ruby
cnsvc has joined #ruby
sparr has quit [Changing host]
sparr has joined #ruby
ss has joined #ruby
ss has quit [Remote host closed the connection]
nutcr4ck3r has quit [Ping timeout: 246 seconds]
impermanence has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
<phaul>
leitz: you tried? Im stuck with Rheinbacher for what's left of the day which is quite all right, but a weiss beer with lemon would lift things no doubt
<leitz>
phaul, I don't drink a lot, but it has to be German (purity law) when I do. Otherwise I get ill.
<leitz>
phaul, not much of a "lemon in my beer" sort, but I won't judge. :)
<al2o3-cr>
phaul: i'm still drinking zywiec
<al2o3-cr>
proper polish beer
GodFather has quit [Ping timeout: 240 seconds]
<phaul>
lemon in the beer, that's an interesting point, because I freak out when people suggest me things like snake bite, cranburry juice - i kid you not - in beer. but lemon with weiss beer does work fork for me
`nutcr4ck3r` has joined #ruby
<phaul>
al2o3-cr: Im gonna be honest, I tried and they are not for me, they taste a bit too strong. I am into the hoppiness rather than the strength
nutcr4ck3r has quit [Ping timeout: 264 seconds]
jetchisel has joined #ruby
ur5us has joined #ruby
<al2o3-cr>
phaul: zywiec is malty tasting tbh, but i quite like that taste.
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Client Quit]
<leitz>
Well, I might get lucky. SeattleRB is an active usergroup, I think. I'm talking to some folks about a potential job in that area.
Dreamer3 has quit [Quit: Leaving...]
<phaul>
yay leitz
<leitz>
Well, the job might prefer Python, but it'd be nice to be near an active Ruby community.
lxsameer has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
ua is now known as uni
<apotheon>
Yeah, that *would* be nice.
postmodern has joined #ruby
schne1der has quit [Ping timeout: 264 seconds]
<al2o3-cr>
ruby is one of the true dynamic oop, python, not so much.
davispuh has joined #ruby
<al2o3-cr>
python, perl, javascript, lua. all an after thought.
<leitz>
al2o3-cr, agreed. However, so far Python seems to have the "server scripting" market share. Well, it has lots of areas of market share, but I'm a server guy by day.
<leitz>
Ruby fits my brain the best, but I'll do what pays the bills.
<al2o3-cr>
leitz: take whatever brings in the money
<al2o3-cr>
leitz: what one language do you know.
<al2o3-cr>
and, honestly comprehend?
hiroaki has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
<al2o3-cr>
leitz: did you start with a dynamic language?
spiette has quit [Quit: :qa!]
dviola has quit [Ping timeout: 246 seconds]
darkstardev13 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz>
al2o3-cr, I have known the first few chapters of shell, Python, Perl, Ruby, PHP, Go, and C. I can read them, if it's basic code, but started working on design patterns a few months ago. Then got ill, so that sort of slowed down.
<leitz>
I started with DRDOS and moved up to Pascal in one of my only two actual programming classes.
<leitz>
It was a while ago.
<al2o3-cr>
leitz: hope you get better soon pal. old skool :P master one then other languages might become easier to learn.
adu has quit [Quit: adu]
<al2o3-cr>
leitz: instead of learning a bit of this, a bit of that etc.
<leitz>
al2o3-cr, the "ill" was all of December. Have recovered, mostly.
<leitz>
al2o3-cr, my plan has been to learn one language well, and the one I want to use is Ruby. The market share issue can get to be a downer, and I have to push myself to continue to learn.
<al2o3-cr>
leitz: a lot of people in the UK tided with that time, which was ill.
magickid has quit [Quit: -a- Connection Timed Out]
magickid has joined #ruby
<leitz>
al2o3-cr, but I'm also writing and self-publishing fiction, so that takes up a lot of time and both brain cells.
<al2o3-cr>
leitz: i keep telling myself to write this gem. i will do one of these days. :P
<leitz>
al2o3-cr, I understand completely.
<leitz>
al2o3-cr, though for me it was a bit awkward. I had a short story planned for a friend's daughter; she has some long term health issues.
<leitz>
al2o3-cr, Book 2 in the series comes out next month, and I have four more books drafted already. It sort of grew past my original plan...
<al2o3-cr>
leitz: is it an e-book?
<al2o3-cr>
i'd like to read it.
<leitz>
al2o3-cr, you read young adult coming of age military sci-fi? :P
<al2o3-cr>
leitz: i read a wide range of genre.
<leitz>
al2o3-cr, so do I, as long as it's "fun". I'm not much for "dark and gritty".
sgen has joined #ruby
<leitz>
The series is sort of "Sandlot kids become Guardians of the Galaxy".
wymillerlinux has joined #ruby
_nutcr4ck3r has joined #ruby
adu has joined #ruby
`nutcr4ck3r` has quit [Ping timeout: 256 seconds]
jidar has quit [Remote host closed the connection]
jidar has joined #ruby
nedbat has joined #ruby
arzWZM has quit [Ping timeout: 246 seconds]
arzWZM has joined #ruby
<nedbat>
hi, i'm a complete ruby noob, but a python pro. I have ruby-based tools installed, but they are failing due to missing openssl. I'd like to just clean it all out and start again, but I don't know how to untangle it. would it be ok to ask for help here?
<leitz>
nedbat! Welcome! And thank you for all your Python help in years gone by!
<havenwood>
nedbat: Do you have the latest certificates-ca installed?
<havenwood>
nedbat: I mean ca-certificates package.
<havenwood>
>.>
<nedbat>
havenwood: i have no idea. the failure is a missing openssl dylib
<nedbat>
leitz: thanks :)
<havenwood>
nedbat: what OS/distro?
<havenwood>
nedbat: How did you install Ruby?
<nedbat>
havenwood: I'm on a mac, and I forget how I installed ruby. Perhaps homebrew
<havenwood>
nedbat: Check?: which ruby
<leitz>
nedbat, havenwood, al2o3-cr, adam12, apotheon, and a few others are the "nedbats" of #ruby. Can't go wrong if you listen to them. Just ignore me. :)
<nedbat>
"gem list" fails with "dlopen(/Users/ned/.rbenv/versions/2.6.2/lib/ruby/2.6.0/x86_64-darwin17/openssl.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib:
<nedbat>
havenwood: i only have ruby because I'm using cli tools written in ruby, such as "travis"
<nedbat>
havenwood: how can i get rid of this current "travis" that doesn't work, and get back to a homebrew installation?
<havenwood>
nedbat: Just ignore system Ruby. If you want to go with Homebrew, follow the instructions after a: brew update; brew upgrade; brew install ruby
<nedbat>
havenwood: ok, but in my shell, "travis" finds /Users/ned/.rbenv/shims/travis which doesn't work. Shouldn't I clean that up?
_nutcr4ck3r has quit [Ping timeout: 240 seconds]
nutcr4ck3r has joined #ruby
gitter1234 has quit [Quit: Connection closed for inactivity]
stryek has quit [Quit: Connection closed for inactivity]
gdonald has joined #ruby
<havenwood>
nedbat: Yes, you should uninstall rbenv if you're not using.
<havenwood>
nedbat: Is it installed with Brew?
<havenwood>
nedbat: brew list rbenv
<nedbat>
havenwood: the problem is i don't know if i am using it. Until I ran "travis" today, i didn't know how it was installed, or when I installed it.
<havenwood>
nedbat: Did you install it with Brew? Check.