laaron has quit [Remote host closed the connection]
laaron has joined #ruby
teclator_home has quit [Ping timeout: 252 seconds]
xco has left #ruby [#ruby]
teclator_ has quit [Ping timeout: 252 seconds]
apparition has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
conta has quit [Read error: Connection reset by peer]
altigraph has quit [Ping timeout: 252 seconds]
AJA4350 has joined #ruby
laaron has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
laaron has joined #ruby
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
apg has joined #ruby
conta has joined #ruby
wald0 has joined #ruby
teclator_ has joined #ruby
teclator__ has joined #ruby
d^sh has quit [Ping timeout: 252 seconds]
marz_d`ghostman has joined #ruby
d^sh has joined #ruby
teclator_ has quit [Client Quit]
teclator__ is now known as teclator_home
<marz_d`ghostman>
In rails, I'm trying to initialize a variable: config.podio_client_id = ENV['PODIO_CLIENT_ID'] in environments/development.rb. When I run rails s -e development, it appears to be initialized but when I run rails console, the variable doesn't seem to be initialized even if I run rails console -e development. Am I missing something here?
<marz_d`ghostman>
Nvm, it seems to be a spring issue
<tbuehlmann>
protip: DISABLE_SPRING=1 in your ~/.bashrc or whatever you're using
noboruma has quit [Remote host closed the connection]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nicmavr has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 246 seconds]
Nicmavr has joined #ruby
kyrylo has joined #ruby
slackmare has joined #ruby
tf2ftw has joined #ruby
gb_away has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
<VSpike>
Hi ... looking in my vendor/bundle directory I see a tree like this: vendor/bundle/2.4.5/ruby/2.4.0/{bin,gems,...}
<VSpike>
This looks a bit odd ... why the two different numbers? Is this normal?
stooj has quit [Ping timeout: 244 seconds]
stooj has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
apg has quit [Ping timeout: 246 seconds]
somebody has quit [Quit: brb]
apparition has quit [Quit: Bye]
dionysus69 has joined #ruby
<tbuehlmann>
VSpike: the second one should be the ABI
TomyWork has joined #ruby
<VSpike>
tbuehlmann: I just realised the first number is coming from the CI script setting the folder differently for different Ruby versions
<VSpike>
tbuehlmann: so, seeing e.g. ruby/2.5.0 when using 2.5.5 is expected because it's the ABI version?
<tbuehlmann>
yea
bamdads has joined #ruby
GodFather_ has joined #ruby
Swyper has joined #ruby
timkaechele has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
apparition has joined #ruby
stryek has joined #ruby
Dbugger has joined #ruby
livcd has quit [Remote host closed the connection]
hrhsh has joined #ruby
jenrzzz has joined #ruby
hrhsh has quit [Client Quit]
apparition has quit [Quit: Bye]
apparition has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
cnsvc_ has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
Dbugger has quit [Ping timeout: 250 seconds]
GodFather_ has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
prestorium has quit [Ping timeout: 258 seconds]
Swyper has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
prestorium has joined #ruby
dsmythe has quit [Remote host closed the connection]
haxx0r has joined #ruby
tf2ftw has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dsmythe has joined #ruby
cthulchu_ has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
conta has quit [Read error: Connection reset by peer]
conta2 has joined #ruby
conta2 is now known as conta
jenrzzz has quit [Ping timeout: 268 seconds]
Dbugger has joined #ruby
ovnimancer has joined #ruby
tf2ftw has joined #ruby
bamdads has quit [Quit: Leaving]
jottr has joined #ruby
jefffrails35 has quit [Ping timeout: 258 seconds]
bamdads has joined #ruby
jenrzzz has joined #ruby
bamdads has quit [Remote host closed the connection]
livcd has joined #ruby
skius has joined #ruby
<skius>
Hi! I've added a Remote Ruby SDK on a Docker-Compose in RubyMine. When I try to run it, I get a RubyMine error notification with no logs
<skius>
if I change the run configuration and select "docker-compose up" or "..run" instead of "docker-compose exec" it boots up fine
<skius>
but when I terminate it over RubyMine it doesn't shut down gracefully and a server.pid remains
jefffrails35 has joined #ruby
<skius>
RubyMine 2019.1.1, works in a different project with the same setup
jrafanie has joined #ruby
d^sh has quit [Ping timeout: 244 seconds]
skius is now known as Skilly
jrafanie has quit [Client Quit]
Skilly has quit [Changing host]
Skilly has joined #ruby
Skilly has joined #ruby
<Skilly>
Hi! I've added a Remote Ruby SDK on a Docker-Compose in RubyMine. When I try to run it, I get a RubyMine error notification with no logs
<Skilly>
if I change the run configuration and select "docker-compose up" or "..run" instead of "docker-compose exec" it boots up fine
<Skilly>
but when I terminate it over RubyMine it doesn't shut down gracefully and a server.pid remains
<Skilly>
RubyMine 2019.1.1, works in a different project with the same setup
jenrzzz has quit [Ping timeout: 245 seconds]
d^sh has joined #ruby
apg has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
Kestrel-029 has joined #ruby
conta has quit [Ping timeout: 246 seconds]
jeremycw has joined #ruby
zacts has joined #ruby
renich has joined #ruby
mustmodify has joined #ruby
<mustmodify>
Ever since the whole "Open SSL has a bug!" vulnerability, I haven't been able to install rubies using ruby-install. I need to install 2.2.10 and am wondering if anyone can help me understand what dependencies I need installed on Ubuntu?
dviola has joined #ruby
<havenwood>
mustmodify: Ruby 2.2 is past EoL, so security fixes aren't even backported. If you really can't bump to 2.4+, you'll probably want to use a 2.2 that has backported security fixes.
<mustmodify>
I just need to get this app running first, but I acknowledge and agree.
<havenwood>
mustmodify: Brightbox maintains an Ubuntu package for 2.2 with backported fixes.
<bdonnahue>
havenwood, ahh ok. i am not sure what that means. let me google
duderonomy has joined #ruby
<VSpike>
havenwood: I have a directory with a Gemfile and a Gemfile.lock, as well as a .bundle/config file. If I run `bundle config` in that directory, it doesn't seem to respect that config file. How do I activate it, so to speak?
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has quit [Remote host closed the connection]
dar123 has joined #ruby
haxx0r has quit [Remote host closed the connection]
<Yxhuvud>
.. rubinius is alive?
zacts has quit [Quit: WeeChat 2.4]
jenrzzz has joined #ruby
Jonopoly has quit [Ping timeout: 264 seconds]
<tj_>
Hi Folks, I am trying to install nokogiri gem. Flushed the DNS cache just to be sure since it had created issues in the past and ran 'gem update --system' which worked successfully. Then I tried installing nokogiri with command 'gem install nokogiri' - and its failing to open a TCP/IP connection to zlib.net:80. Hence possibly failing to build gem native extension. Have pasted the gem env, gem_make.out and mkmf.log below. Machine is not behind a proxy or a firewall.
<tj_>
tried googling around and posting on #nokogiri too, but didn't help. Can someone please please help here ?
<xco>
results variable is dependent on whatever is present
<nixy7>
You could still just return the value guarded by the if. You don't need to store it in the `result` variable if all you do with `result` is return it
<nixy7>
I'd add a return to the front of each statement so that it doesn't accidentally evaluate both of them if they both happen to be true
<tj_>
adam12 : The page for zlib.net shows up properly in the browser, Not able to understand what's happening while building the gem
regedit has joined #ruby
<xco>
nixy7: right! thanks :)
<adam12>
tj_: for some reason Ruby can't connect from the shell. Sadly the error isn't very obvious for why.
<adam12>
tj_: Ideally you could simulate the request yourself inside irb and see if it gives you more information.
tdy has joined #ruby
<tj_>
but 'gem update --system' worked correctly and it fetched all it needed. Sure - should try with irb once
<tj_>
is zlib.net known to have some specific TLS version requirement ? currently I have set up --> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
<adam12>
tj_: That was my first assumption but it's communicating on port 80.
<adam12>
tj_: I forgot you're on Windows so I'm not sure if you can run that command verbatim.
<adam12>
xco: Just FYI, that code validated without any changes on my side (other than cleaning up whitespace from pasting gist). Are you on latest Rubocop?
<xco>
yes my rubocop version is rubocop (0.69.0)
<xco>
which is the latest
<xco>
adam12: probably different ruby versions? :/
<adam12>
xco: Interesting. Maybe that rule is disabled on my install.
<balo>
heh, this error is strange indeed. tj_ you can consider downloading the file with curl/browser and place it in the folder where it misses it :/ in case you don't want to debug this specific issue... i don't even have ideas where to look on this failure after you've tried the basics
<xco>
adam12: could be
<xco>
otherwise it’s weird
<tj_>
adam12: It doesn't work on Windows. I downloaded nokogiri locally and tried 'gem install --force --local nokogiri-1.10.3.gem'. But it has to connect to zlib.net. it fails with the same error.
<adam12>
xco: No matter. I just thought it was interesting that mine validated fine while yours was complaining.
<xco>
that example from that page is different from what’s in my gist
<xco>
the one on the pages has no guards and it doesn’t have “some_var” as last value in the method name
<xco>
so RUbocop complaining on that makes sense to me
<tj_>
adam12 | balo : Why does is even connect to zlib site while building ? can I download and provide, whatever dependency is, locally along with the gem to solve this ?
<adam12>
tj_: No surprise since it's installed via the same mechanism.
<balo>
tj_: i guess if you download the file and place it there might work: C:/Ruby2.4.1_p111/lib/ruby/gems/2.4.0/gems/nokogiri-1.10.3/ports/archives/zlib-1.2.11.tar.gz
<adam12>
tj_: It needs the zlib dependency. On Linux you can normally get it from libz but on Windows it needs to likely be downloaded and built as a sidecar to the gem.
<tj_>
balo: does that mean if I place the file in that folder, it wouldn't at all connect to zlib site ??
<balo>
or maybe you can try to build it with `--without-zlib-dir` option 😬 not sure what are thhe consequences of thhat. maybe it's just loosing working with gzipped xmls
<balo>
tj_: that's my assumption. but not certain, never had this issue myself. worth a try
zacts has quit [Ping timeout: 246 seconds]
dsmythe_ has joined #ruby
laaron has quit [Remote host closed the connection]
nowhere_man has joined #ruby
jenrzzz has joined #ruby
dsmythe has quit [Ping timeout: 268 seconds]
laaron has joined #ruby
dsmythe_ has quit [Ping timeout: 250 seconds]
reber has joined #ruby
dsmythe has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
nowhere_man has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
nowhere_man has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
<tj_>
Not even able to locate the tar file on zlib. there are a lot of Windows versions too. Should be suitable for Win10
VladGh has quit [Remote host closed the connection]
nowhereman has joined #ruby
yqt has quit [Ping timeout: 252 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
nixy7 is now known as nixy
KeyJoo has joined #ruby
<tj_>
Keeping the zlib tar file at the mentioned location isn't working. As soon as I paste and trigger the local installation command - all tar files at the location suddenly vanish. (There are 2 files already and I copied the 3rd). 2 re-appear after certain time but zlib tar file vanishes. Well, these are getting creating through the process, just placing doesn't work.
<tj_>
created#
<tj_>
any ideas for spotting shell-to-network issues ? :/
<adam12>
tj_: Could you open up irb and disect that one-liner I pasted earlier?
marmotini_ has quit [Killed (freenode-connect (The application you are using is no longer permitted to connect to the freenode network. For questions, contact kline@freenode.net))]
Kestrel-029 has quit [Ping timeout: 245 seconds]
laaron has quit [Remote host closed the connection]
reber has quit [Remote host closed the connection]
laaron has joined #ruby
jenrzzz has joined #ruby
<tj_>
thanks a lot adam12 and balo. I give for today :)
<tj_>
I give up for today# :|
tj_ has quit [Quit: Leaving]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhereman has quit [Ping timeout: 246 seconds]
cnsvc_ has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
cthulchu has joined #ruby
cthulchu_ has quit [Read error: Connection reset by peer]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
tf2ftw has quit [Quit: This computer has gone to sleep]
tf2ftw has joined #ruby
mistergibson has quit [Quit: Leaving]
polishdub has quit [Ping timeout: 268 seconds]
gnufied has quit [Quit: Leaving]
polishdub has joined #ruby
tf2ftw has quit [Quit: This computer has gone to sleep]
tf2ftw has joined #ruby
tdy has joined #ruby
leitz has joined #ruby
AJA4350 has quit [Quit: AJA4350]
xco has quit [Quit: xco]
AJA4350 has joined #ruby
tf2ftw has quit [Client Quit]
buckworst has quit [Quit: Leaving]
wald0 has quit [Quit: Lost terminal]
tdy has quit [Ping timeout: 244 seconds]
zacts has joined #ruby
<miah>
i am excited for movies. its been a week(tm)
<miah>
doh
<miah>
i dont mind that you all know im excited for movies, and that its been a week but that was meant for another channel <3
jefffrails35 has quit [Ping timeout: 258 seconds]
marz_d`ghostman has quit [Ping timeout: 256 seconds]
budonyc has quit [Remote host closed the connection]
sauvin has quit [Read error: Connection reset by peer]
renich has quit [Remote host closed the connection]
renich has joined #ruby
wald0 has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
hAns_ has joined #ruby
<hAns_>
where them ruby squads at?
zacts has quit [Ping timeout: 258 seconds]
wald0 has quit [Read error: Connection reset by peer]
dar123 has joined #ruby
jottr has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jefffrails35 has joined #ruby
<leitz>
Recovering from a week...
cnsvc_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
planigan has quit [Ping timeout: 255 seconds]
<hAns_>
any ruby open source teams out there?
<leitz>
Start your own, one of the best ways to learn.
jenrzzz has quit [Ping timeout: 258 seconds]
<hAns_>
aha I'm a noob though :( need that mentorship
jefffrails35 has quit [Ping timeout: 264 seconds]
planigan has joined #ruby
sgen has joined #ruby
octos has quit [Remote host closed the connection]
zacts has joined #ruby
octos has joined #ruby
jenrzzz has joined #ruby
tf2ftw has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
tf2ftw has quit [Client Quit]
<leitz>
Understood. I'm a noob as well, so I speak from experience. You will have a better chance of getting a mentor (they seem rare) if you can show a body of code and a history of learning.
<leitz>
My code still needs a lot of work, but i'm doing something for me. That makes me want to code more, and that's the key to improving.
tf2ftw has joined #ruby
<leitz>
For example, I like role-playing games, so I have a lot of small programs to help with that. As I look back at my code I see lots of ways to improve it, and my plan is to do just that.
tdy has joined #ruby
<octos>
You can ask for book/videos/courses recommendations too, I think everybody here have good ones to recommend :)
<leitz>
You may well learn faster than I, so don't worry about making me look bad. Find stuff you want to code, find a gook book, and jump in.
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
<leitz>
"Programming Ruby" is old but a classic. Code Academy has a free on-line class.
jeremycw has quit [Ping timeout: 246 seconds]
<leitz>
It depends on how much coding you've done, too. Experience in Python, Perl, C, or Java means you can learn faster.
<leitz>
There's a "Ruby in Twenty Minutes" link on ruby-lang.org
cnsvc_ has joined #ruby
Freshnuts has joined #ruby
<lupine>
_why's poignant guide is the one, the only, the true source of ruby learnings
<lupine>
chunky bacon me
SeepingN has joined #ruby
jeremycw has joined #ruby
apg has quit [Read error: Connection reset by peer]
<leitz>
We all have our "best". Why's guide kept me away from Ruby for a long time.
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
espinet has joined #ruby
<SeepingN>
jesus. that's no guide
tf2ftw has quit [Quit: This computer has gone to sleep]
espinet has quit [Client Quit]
tf2ftw has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
ovnimancer has joined #ruby
<syndikate>
Can someone help understand how I can log all the requests with IP address and path and body like how rails does in webrick?
<syndikate>
I am kinda lost
<syndikate>
I am stuck at Accesslog but I have not clue what or how to do with it
ruby634 has joined #ruby
jottr has joined #ruby
cnsvc_ has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 252 seconds]
espinet has joined #ruby
espinet has quit [Client Quit]
<havenwood>
syndikate: Are you working with your own sockets or a Rack app or what?
<havenwood>
syndikate: I don't understand what you're asking.
espinet has joined #ruby
<leitz>
hAns_, if you're looking for someone that you should listen intently to, havenwood would be one of those people.