baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
paraxial has quit [Ping timeout: 252 seconds]
faitswulff has joined #ruby
RedNifre_ has joined #ruby
Inside has quit [Disconnected by services]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paraxial has joined #ruby
faitswulff has quit [Remote host closed the connection]
eckhardt has joined #ruby
hahuang65_ has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
<Technodrome> Good day
RedNifre_ has quit [Ping timeout: 252 seconds]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
white_lilies has joined #ruby
bmurt has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthulchu has quit [Ping timeout: 272 seconds]
P1RATEZ has quit []
xfbs has quit [Quit: afk]
FernandoBasso has quit [Remote host closed the connection]
faitswulff has joined #ruby
tag has quit [Quit: Connection closed for inactivity]
faitswulff has quit [Remote host closed the connection]
faitswulff has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nicmavr has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
thy0 has quit [Quit: TTFN]
scrptktty has quit [Quit: Connection closed for inactivity]
<Radar> yes, yes it is
Dirak has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 272 seconds]
tag has joined #ruby
pulgolino has quit [Remote host closed the connection]
regedit has quit [Quit: Connection closed for inactivity]
fluxAeon has quit [Ping timeout: 252 seconds]
RedNifre has joined #ruby
herbmillerjr has joined #ruby
esrse has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
fluxAeon has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
lxsameer has joined #ruby
im0nde has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 252 seconds]
Dirak has quit [Ping timeout: 244 seconds]
Technodrome has joined #ruby
im0nde has joined #ruby
jackrandom has quit [Quit: ZNC - https://znc.in]
Dirak has joined #ruby
jackrandom has joined #ruby
DTZUZO_ has joined #ruby
ivanskie has joined #ruby
argoneus has quit [Read error: Connection reset by peer]
Hobbyboy has quit [Quit: I think the BNC broke.]
Hobbyboy has joined #ruby
duderonomy has joined #ruby
argoneus has joined #ruby
cagomez has joined #ruby
<cagomez> is there a functional difference between these error classes? https://github.com/github/github-ds/blob/a7ec2ac641ca0f30ff7f268b31efe13ab470cf34/lib/github/kv.rb#L52
orbyt_ has joined #ruby
schleppel has joined #ruby
orbyt_ has quit [Client Quit]
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 252 seconds]
sheepman has quit [Ping timeout: 240 seconds]
darkhanb has joined #ruby
sheepman has joined #ruby
<woodruffw> cagomez: a trivial subclass like that makes `rescue` blocks more explicit
<woodruffw> even if it doesn't add any actual features/information to the exception
<woodruffw> oh, did you mean the way it's initialized? if so, then the answer is no: those forms are identical
<cagomez> yes, by how they are initialized. So they both raise an exception inheriting from StandardError to the caller, right?
<woodruffw> yup, exactly right
<woodruffw> (AFAIK the class declaration syntax is just sugar for Class.new, since classes are first-class objects anyways)
<cagomez> Ugh, makes me want to make a PR to have all of them initialized with the same syntax
<woodruffw> haha
<woodruffw> i'd say it's worth it, shouldn't cause any harm ;)
<cagomez> Hmm, maybe I will :)
<baweaver_away> I LIVE
baweaver_away is now known as baweaver
<baweaver> ohai
KeyJoo has quit [Ping timeout: 240 seconds]
faitswulff has quit [Remote host closed the connection]
Dirak has quit [Ping timeout: 260 seconds]
chrisarcand has quit [Ping timeout: 244 seconds]
braincrash has quit [Quit: bye bye]
planigan has quit [Ping timeout: 252 seconds]
AJA4350 has quit [Remote host closed the connection]
planigan has joined #ruby
braincrash has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faitswulff has joined #ruby
orbyt_ has joined #ruby
_za1b1tsu_ has joined #ruby
gix has joined #ruby
faitswulff has quit [Remote host closed the connection]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
RougeR has quit [Ping timeout: 252 seconds]
quazimodo has joined #ruby
<quazimodo> hey all
<quazimodo> given an array of ints between -100 and 100, would be expect ruby to be 'fast' at calculating a standard deviation?
<quazimodo> by fast i mean not going through all the method lookups and gc that could slow down other more comlpicated algorithms. Here we're just doing a little bit of floating point stuff
Azure|dc has joined #ruby
tag has quit [Quit: Connection closed for inactivity]
Sina has quit [Quit: Connection closed for inactivity]
Azure has quit [Ping timeout: 245 seconds]
creat has quit [Ping timeout: 264 seconds]
creat has joined #ruby
<baweaver> quazimodo: Rephrase that a bit, I'm not sure I understand what you're asking
cpruitt has joined #ruby
<quazimodo> is it worth it to delegate the calculation of standard distributions of large arrays of integers to another language
<baweaver> Depends on how much you're working with
<quazimodo> 10million members is taking about 400ms to standard deviate here
<baweaver> Is that acceptable?
<quazimodo> not really, that's only for stuff matching one filter, i need to do this another 10-15 times for other graphs5
<quazimodo> damn you mathematics of combinations
<quazimodo> but i don't know how much it's worth it to move to golang or osmithng
<baweaver> Helix is Ruby extensions in Rust
lxsameer has joined #ruby
<quazimodo> oooo ruby rust
<baweaver> so a bit less insane than C
<quazimodo> i was doing ffi golang ruby
<cagomez> what about the Fiddle module?
<baweaver> Helix is effectively FFI simplified
<quazimodo> does helix convert arrays & pointer stuff?
<quazimodo> golang ruby has a lot of... dicking around with golang => c struct stuff to get strings and arrays of stuff out
Dirak has joined #ruby
<baweaver> It has a nicer API from Macros
cpruitt has quit [Ping timeout: 272 seconds]
<quazimodo> i _do_ want to learn rust
<quazimodo> ok
<quazimodo> you've sold me
<baweaver> Just look through the demo repo
<quazimodo> no, you have to pair with me now
<quazimodo> we're doing this together
<baweaver> for StdDev and things like that it should be easy to write.
<baweaver> You assume I know Rust well :P
<quazimodo> akh!
<quazimodo> ok
<quazimodo> we're both fucked
<quazimodo> i need to go do some hello world, beep bork zap stuff
lxsameer has quit [Ping timeout: 246 seconds]
<baweaver> NoStarch just released a Rust book
apeiros has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby
<al2o3-cr> could use fiddle and C as cagomez suggested ;)
gsingh93 has quit [Ping timeout: 264 seconds]
faitswulff has joined #ruby
gsingh93 has joined #ruby
faitswulff has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
gix has quit [Disconnected by services]
alnewkirk has quit [Quit: leaving]
<al2o3-cr> quazimodo: here's an example using fiddle; https://gist.github.com/gr33n7007h/4cac4c90d20745b4f0f3a235fcc330e0
<al2o3-cr> if it helps.
armyriad has quit [Ping timeout: 272 seconds]
armyriad has joined #ruby
cagomez has quit []
akem has quit [Ping timeout: 245 seconds]
croberts has quit [Ping timeout: 240 seconds]
spectra has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tharbakim has quit [Ping timeout: 240 seconds]
Tharbakim has joined #ruby
voxxit has quit [*.net *.split]
chouhoulis has quit [Remote host closed the connection]
spectra has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 245 seconds]
ddffg has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
twe4ked has quit [Ping timeout: 264 seconds]
armyriad has quit [Ping timeout: 272 seconds]
twe4ked has joined #ruby
armyriad has joined #ruby
booboy has quit [Quit: ZNC - https://znc.in]
cpruitt has joined #ruby
booboy has joined #ruby
bga57 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
cpruitt has quit [Ping timeout: 244 seconds]
booboy has quit [Quit: ZNC - https://znc.in]
voxxit has joined #ruby
Inline has quit [Quit: Leaving]
booboy has joined #ruby
white_lilies has quit [Ping timeout: 244 seconds]
MoritaShinobu has joined #ruby
reber has joined #ruby
akem has joined #ruby
cajone has joined #ruby
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
darkhanb has quit [Ping timeout: 252 seconds]
lxsameer has joined #ruby
lxsameer has quit [Ping timeout: 245 seconds]
aupadhye has joined #ruby
RedNifre_ has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.2]
al2o3-cr has joined #ruby
RedNifre has quit [Ping timeout: 260 seconds]
elphe has joined #ruby
TvL2386 has quit [Ping timeout: 240 seconds]
KeyJoo has joined #ruby
aufi has joined #ruby
ikbenhet has joined #ruby
paraxial has quit [Ping timeout: 252 seconds]
paraxial has joined #ruby
DTZUZO_ has quit [Ping timeout: 252 seconds]
al2o3-cr has quit [Ping timeout: 246 seconds]
clemens3 has joined #ruby
al2o3-cr has joined #ruby
lxsameer has joined #ruby
TvL2386 has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
Dirak has quit [Ping timeout: 272 seconds]
esrse has quit [Ping timeout: 272 seconds]
Dirak has joined #ruby
dionysus69 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dirak has quit [Ping timeout: 252 seconds]
yohji has joined #ruby
sylario has joined #ruby
<sylario> Tools question : I have an big ruby hash of ruby hash, do you know a sublime text tool to format it nicely?
<sylario> It's from a log
aufi_ has joined #ruby
<baweaver> sylario: JSON or Ruby hash?
<sylario> ruby
<baweaver> and do you want to output it to a screen or...
Dirak has joined #ruby
<sylario> to a text file
<sylario> a formatting JSON-like would be great in fact
<baweaver> then you're going to want to format it as JSON and look at pretty_generate
aufi has quit [Ping timeout: 252 seconds]
<sylario> Should have think about it
<sylario> I just to_json the hash in IRB, works great
Sina has joined #ruby
<sylario> thx baweaver
<baweaver> File.write('path', JSON.pretty_generate(hash.to_json))
<baweaver> That'll give you the nice spacing too
Dirak has quit [Ping timeout: 240 seconds]
paraxial has quit [Ping timeout: 264 seconds]
idiocrash has joined #ruby
paraxial has joined #ruby
Dirak has joined #ruby
discopatrick has joined #ruby
Dirak has quit [Ping timeout: 260 seconds]
Dirak has joined #ruby
venmx has joined #ruby
vondruch has joined #ruby
Dirak has quit [Ping timeout: 272 seconds]
Dirak has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
Dirak has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
eckhardt has joined #ruby
Dirak has joined #ruby
RougeR has joined #ruby
Dirak has quit [Ping timeout: 260 seconds]
mike11 has joined #ruby
lxsameer has joined #ruby
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dirak has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
Dirak has quit [Ping timeout: 252 seconds]
teclator has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
Dirak has joined #ruby
ikbenhet has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
akem has quit [Remote host closed the connection]
akem__ has joined #ruby
RedNifre_ has quit [Ping timeout: 252 seconds]
tdy has joined #ruby
jottr has joined #ruby
Dirak has joined #ruby
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dirak has quit [Ping timeout: 240 seconds]
Dirak has joined #ruby
beefjoe has joined #ruby
DTZUZO_ has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
lomex has joined #ruby
lunarfyre7 has quit [Ping timeout: 260 seconds]
beefjoe has quit [Quit: <3]
Dirak has joined #ruby
beefjoe has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lunarfyre7 has joined #ruby
Dirak has quit [Ping timeout: 240 seconds]
ikbenhet has joined #ruby
ikbenhet has quit [Read error: Connection reset by peer]
ddffg has quit [Remote host closed the connection]
_za1b1tsu_ has quit [Ping timeout: 240 seconds]
Dirak has joined #ruby
arup_r has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
Dirak has joined #ruby
MoritaShinobu has quit [Ping timeout: 252 seconds]
Dirak has quit [Ping timeout: 252 seconds]
<thomasfedb> anybody deployed an app (e.g. status board) to a standalone screen/kiosk? tips?
Dirak has joined #ruby
MoritaShinobu has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
venmx has joined #ruby
Dirak has quit [Ping timeout: 272 seconds]
xfbs has joined #ruby
apparition has joined #ruby
Dirak has joined #ruby
unCork has joined #ruby
Cork has quit [Ping timeout: 252 seconds]
unCork is now known as Cork
Dirak has quit [Ping timeout: 246 seconds]
tdy has quit [Ping timeout: 240 seconds]
Dirak has joined #ruby
bak1an has joined #ruby
<TheBrayn> https://gist.github.com/mmerfort/d5b09670e7b991a7636b64488fc96d3b I wrote this script to quote string values, however I don't want booleans and numbers to be quoted and existing quoting should not be touched
<TheBrayn> what's the best way to handle these cases?
Dirak has quit [Ping timeout: 272 seconds]
_za1b1tsu_ has joined #ruby
Dirak has joined #ruby
Dirak has quit [Ping timeout: 260 seconds]
Dirak has joined #ruby
maufart__ has joined #ruby
aufi_ has quit [Ping timeout: 252 seconds]
Dirak has quit [Ping timeout: 252 seconds]
arup_r has quit [Remote host closed the connection]
Dirak has joined #ruby
aufi_ has joined #ruby
maufart__ has quit [Ping timeout: 260 seconds]
beefjoe has quit [Quit: <3]
Dirak has quit [Ping timeout: 252 seconds]
beefjoe has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beefjoe has quit [Client Quit]
Dirak has joined #ruby
arup_r has joined #ruby
AJA4350 has joined #ruby
Dirak has quit [Ping timeout: 240 seconds]
arup_r has quit []
Nicmavr has quit [Read error: Connection reset by peer]
Tuor has joined #ruby
Dirak has joined #ruby
Nicmavr has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
GodFather has quit [Ping timeout: 240 seconds]
Dirak has joined #ruby
Dirak has quit [Ping timeout: 245 seconds]
jcalla has joined #ruby
Dirak has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
Dirak has quit [Ping timeout: 260 seconds]
Dirak has joined #ruby
Dirak has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 260 seconds]
Dirak has joined #ruby
faitswulff has joined #ruby
bak1an has joined #ruby
Dirak has quit [Ping timeout: 240 seconds]
Dirak has joined #ruby
m27frogy has quit [Ping timeout: 252 seconds]
Dirak has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
Azure has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure|dc has quit [Ping timeout: 260 seconds]
TomyLobo has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
Dirak has joined #ruby
Dirak has quit [Ping timeout: 245 seconds]
Azure has quit [Ping timeout: 252 seconds]
NL3limin4t0r has joined #ruby
wojnar has quit [Remote host closed the connection]
Inline has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
Inline has quit [Read error: Connection reset by peer]
venmx has joined #ruby
Inline has joined #ruby
Bounga has joined #ruby
Dirak has joined #ruby
jottr has joined #ruby
Dirak has quit [Ping timeout: 244 seconds]
cajone has left #ruby [#ruby]
faitswulff has quit [Remote host closed the connection]
Dirak has joined #ruby
faitswulff has joined #ruby
faitswulff has quit [Remote host closed the connection]
Dirak has quit [Ping timeout: 252 seconds]
faitswulff has joined #ruby
faitswulff has quit [Remote host closed the connection]
m27frogy has joined #ruby
RougeR has quit [Remote host closed the connection]
bmurt has joined #ruby
Dirak has joined #ruby
Dirak has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
bak1an has joined #ruby
Dirak has joined #ruby
akem__ has quit [Remote host closed the connection]
Dirak has quit [Ping timeout: 264 seconds]
akem__ has joined #ruby
tdy has joined #ruby
Dirak has joined #ruby
tdy has quit [Ping timeout: 260 seconds]
yokel has quit [Remote host closed the connection]
Yxhuvud has quit [Remote host closed the connection]
yokel has joined #ruby
samort7 has joined #ruby
Dirak has quit [Ping timeout: 272 seconds]
lomex has joined #ruby
Rapture has joined #ruby
Dirak has joined #ruby
kpoman has joined #ruby
<kpoman> Hello to everyone ! Can someone give me a tip, I am trying to do a rake migrate command and get this error (Airbrake) :project_id is required excluded from capture: DSN not set
ur5us has joined #ruby
<kpoman> btw, rake db:create RAILS_ENV=production worked without errors
Yxhuvud has joined #ruby
Dirak has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 252 seconds]
Technodrome has joined #ruby
Dirak has joined #ruby
Dirak has quit [Ping timeout: 272 seconds]
Azure has joined #ruby
Dbugger has joined #ruby
Dirak has joined #ruby
Dirak has quit [Ping timeout: 272 seconds]
spiette has quit [Ping timeout: 240 seconds]
spiette has joined #ruby
aufi_ has quit [Remote host closed the connection]
Dirak has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wojnar has joined #ruby
RougeR has joined #ruby
bga57 has joined #ruby
<RougeR> anyone got experience with ruby/docker/linux. having issues with mine
<RougeR> ubuntu@ip-172-30-0-19:~$ docker logs workflow_workflow-api_1
<RougeR> Bundler::GemNotFound: Could not find public_suffix-3.0.3 in any of the sources
<RougeR> bundler: failed to load command: puma (/usr/local/bin/puma)
Dirak has quit [Ping timeout: 252 seconds]
Dirak has joined #ruby
tpendragon has quit [Remote host closed the connection]
chouhoulis has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
Dirak has quit [Ping timeout: 272 seconds]
<TvL2386> RougeR: I have experience with dockerizing my ruby on rails projects
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TvL2386> RougeR: pretty generic, but it seems something is wrong in your image... You are missing a gem?
teclator has quit [Disconnected by services]
Dirak has joined #ruby
akem__ is now known as akem
ur5us has joined #ruby
faitswulff has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
<RougeR> TvL2386: i should be
<RougeR> i can gem install it
<RougeR> also just an fyi its not a rails project
<TvL2386> I didn't assume so :)
<RougeR> ahh kk
ur5us has quit [Ping timeout: 240 seconds]
<RougeR> yeah so im having issues across the board it seems
<TvL2386> it seems your docker image is missing stuff
<RougeR> running puma gives: /.rvm/gems/ruby-2.4.1/gems/puma-3.12.0/lib/puma/puma_http11.so: undefined symbol: OPENSSL_init_ssl
<TvL2386> saw that before
<RougeR> ive installed docker from source
DTZUZO_ has quit [Ping timeout: 252 seconds]
<RougeR> well apt-get
<TvL2386> if I recall correctly you are missing openssl-dev packages, so rvm builds ruby without openssl support
<RougeR> yeah ive seen that come up a few places
<RougeR> but i cant seem to fix it
<RougeR> and i dont quite understand why that causes issues with the docker images i generate
<TvL2386> but this docker container you're running: workflow_workflow-api_1, is based on some image right and that image is missing things
<TvL2386> so something is missing in your Dockerfile
<RougeR> no, not at all
<TvL2386> ok
<RougeR> rest of the dev team build from the same dockerfile
<RougeR> ive commited my repo, theyve pulled it, they build. then i pull it onto my aws server
<RougeR> runs fine
<RougeR> if i build it on my laptop, it doesnt run on the aws server
Dirak has joined #ruby
<TvL2386> I'm missing the details to understand why it works for the rest of your team, but not for you... I also don't know the difference between them building it and you. If the Dockerfile is the same, the build should be the same and the result as well :)
<RougeR> yeah thats what i thought as well
<TvL2386> that's the way it works :)
<RougeR> but its not working that way
<TvL2386> I've never seen it go differently
<TvL2386> so something must be different
<RougeR> weve got identical repos with identical docker images
<RougeR> only difference is the machine doing the building
<RougeR> and the os building it i guess
<RougeR> just run this command
<TvL2386> yeah I don't think that really matters much... all the build commands are run inside the docker container, which is exactly the same
<TvL2386> it could be that the build is failing for you, because some steps silently fail for you
<RougeR> im not building from a docker container?
ivanskie has joined #ruby
<TvL2386> well, your Dockerfile should say "FROM ruby-2.5.1" in the top, so `docker build . -t my_image:latest` should start a docker container `ruby-2.5.1:latest`
<TvL2386> I guess ruby-2.5.1 of course... no idea of course
<RougeR> building from the local repo on my desktop. then pushing to the docker remote
<RougeR> then pulling from an aws ubuntu box
<RougeR> i dont run docker locally other than the build
Dirak has quit [Ping timeout: 244 seconds]
<TvL2386> that's fine
<RougeR> to build*
<TvL2386> so you docker build and push the resulting image to a registry
<TvL2386> other servers cann pull the image from that registry
<TvL2386> great
<RougeR> yes
<TvL2386> but your build is not going well, because you are missing stuff and your colleagues don't. So something goes differently for you
<RougeR> correct
<TvL2386> that OPENSSL hint is a nice one
clemens3 has quit [Ping timeout: 260 seconds]
<TvL2386> if you need OPENSSL, you should have it in your image
<RougeR> yeah its something to do with OPENSSL
<RougeR> well something is wrong there
ivanskie has quit [Client Quit]
<TvL2386> so somewhere in your Dockerfile the dependencies for rvms ruby build should be installed
<RougeR> i cant seem to even run the project locally i think
<RougeR> (i never normally do)
<TvL2386> apt-get install libssl-dev (or something!)
<TvL2386> I have an idea
<TvL2386> what I tend to do to troubleshoot this stuff
<RougeR> locally i get libssl-dev is already the newest version (1.0.2g-1ubuntu4.13).
<TvL2386> locally or inside your container
<TvL2386> because what you locally have does not matter at all
<RougeR> mm
<TvL2386> anyway:
<TvL2386> something goes wrong in your build, so lets troubleshoot that
<TvL2386> what I would do: start the docker image which your build process is depending on
<TvL2386> docker run --rm -it my_image /bin/bash
<TvL2386> now you have a container running based on your build image and you're dropped in a bash shell over there
<TvL2386> now you can simply paste in the commands you would normally have `docker build` do
<TvL2386> 1 by one
<RougeR> reading
<TvL2386> and see where you get strange results
<RougeR> yeah thats not a bad result
<RougeR> i vaugely think i can do that (im new to docker)
<TvL2386> haha :)
<RougeR> honestly, im an ex systems guy. just started my first dev job
<TvL2386> just check the FROM line in your Dockerfile and replace my "my_image" with your FROM
<RougeR> haha
<RougeR> kk ill have a look
<RougeR> on a sidenote
<TvL2386> congratz on the new job
<TvL2386> :)
tpendragon has joined #ruby
<RougeR> im getting ssl issues when just trying to run puma
<TvL2386> yeah but your colleagues do exactly the same thing and they don't right
<TvL2386> that's how I interpreted the story :)
<RougeR> thankyou r.e job :). i just write ruby n do devops now.
<RougeR> and yes. he can build on his OSX machine with the same repo. i cant build on my linux mint machine
<RougeR> but even as a side note puma should work...
<TvL2386> you can build right, it's just that you have a different result right
apparition has quit [Quit: Bye]
duderonomy has quit [Ping timeout: 260 seconds]
yohji has quit [Remote host closed the connection]
kpoman1 has joined #ruby
Dirak has joined #ruby
kpoman has quit [Ping timeout: 252 seconds]
kpoman1 is now known as kpoman
RougeR has quit [Remote host closed the connection]
a1ph4g33k has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 260 seconds]
samort7 has quit [Quit: Leaving]
a1ph4g33k has left #ruby ["Leaving"]
a1ph4g33k has joined #ruby
Dirak has joined #ruby
al2o3-cr has quit [Ping timeout: 246 seconds]
Tuor has quit [Quit: Konversation terminated!]
orbyt_ has joined #ruby
ivanskie has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dirak has quit [Ping timeout: 252 seconds]
<crankharder> anyone have a good pattern for overwriteable configuration? Where the base class has a set of configs, and subclasses can individually overwrite those configs.
Dirak has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
wojnar has quit [Remote host closed the connection]
Dirak has quit [Ping timeout: 252 seconds]
Technodrome has joined #ruby
lxsameer has joined #ruby
wojnar has joined #ruby
salasrod has quit [Quit: /quit]
chouhoulis has quit [Remote host closed the connection]
salasrod has joined #ruby
Dirak has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
lxsameer has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dirak has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
cthulchu_ has joined #ruby
elphe has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 252 seconds]
bak1an has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
cthu| has joined #ruby
MoritaShinobu has quit [Quit: Leaving]
cthulchu_ has quit [Ping timeout: 260 seconds]
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
chouhoulis has joined #ruby
elphe has joined #ruby
<Eiam> that sounds like a generic module?
<Eiam> or class.. you just described the gist of the design anyway? I dont follow what more you are after. declare your attributes and carry on?
SeepingN has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
conta1 has joined #ruby
chouhoulis has joined #ruby
sanscoeur has joined #ruby
Krzysiek1 has joined #ruby
cthulchu has joined #ruby
snuz has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
reber__ has joined #ruby
cthu| has quit [Ping timeout: 252 seconds]
Technodrome has joined #ruby
dinfuehr has joined #ruby
<Krzysiek1> Hello. I’ve visited ruby-lang.org and the first impression is that the newest stable version is 2.2. That’s because the site is displayed in Polish by default and the translation seems to be outdated. Maybe then non-translated news should also be displayed?
reber has quit [Ping timeout: 244 seconds]
cthu| has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
elphe has joined #ruby
venmx has quit [Ping timeout: 244 seconds]
ivanskie has quit [Ping timeout: 252 seconds]
cthulchu has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
ciscam has joined #ruby
cthulchu has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
brent__ has joined #ruby
chouhoulis has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
cthu| has quit [Ping timeout: 260 seconds]
Krzysiek1 is now known as KrzysiekJ
<cthulchu> can we create async functions in native Ruby?
Sina has quit [Quit: Connection closed for inactivity]
akem has quit [Ping timeout: 260 seconds]
<baweaver> KrzysiekJ: Good catch, I'll do some reading into where that's set up.
chouhoulis has quit [Ping timeout: 245 seconds]
<baweaver> cthulchu: Read into GIL (Global Interpreter Lock)
elphe has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
<cthulchu> is that a yes or a no?
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
<cthulchu> I'm not very eager to use threads
snuz has quit [Quit: WeeChat 2.2]
<cthulchu> I don't want memory management pain
croberts has joined #ruby
agent_white has joined #ruby
elphe has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
lxsameer has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
SeepingN has joined #ruby
akem has joined #ruby
elphe has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
faitswulff has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 252 seconds]
_za1b1tsu_ has quit [Ping timeout: 252 seconds]
lxsameer has quit [Ping timeout: 252 seconds]
fluxAeon has quit [Ping timeout: 252 seconds]
elphe has joined #ruby
faitswulff has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
_za1b1tsu_ has joined #ruby
elphe has joined #ruby
Technodrome has joined #ruby
Dbugger has quit [Ping timeout: 260 seconds]
_za1b1tsu_ has quit [Ping timeout: 245 seconds]
sauvin has quit [Read error: Connection reset by peer]
elphe has quit [Ping timeout: 252 seconds]
lxsameer has quit [Ping timeout: 260 seconds]
cthu| has joined #ruby
elphe has joined #ruby
cthulchu has quit [Ping timeout: 246 seconds]
elphe has quit [Ping timeout: 252 seconds]
jp has quit [Ping timeout: 252 seconds]
elphe has joined #ruby
bmurt has quit [Ping timeout: 260 seconds]
venmx has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
bmurt has joined #ruby
Dirak has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
tdy has joined #ruby
jackrandom has quit [Quit: ZNC - https://znc.in]
ciscam has joined #ruby
Bounga has quit [Ping timeout: 260 seconds]
jackrandom has joined #ruby
endofline has quit [Remote host closed the connection]
chouhoulis has joined #ruby
elphe has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
fluxAeon has joined #ruby
jp has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
bak1an has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
DTZUZO_ has joined #ruby
chouhoulis has joined #ruby
elphe has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
fluxAeon has quit [Ping timeout: 245 seconds]
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
conta1 has quit [Quit: conta1]
sameerynho has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
faitswulff has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
elphe has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
dostoyevsky has joined #ruby
faitswulff has joined #ruby
<dostoyevsky> I tried installing the pg gem but it couldn't find pg's header files... so I went to ~/.gem/ruby/1.9.1/gems/pg-0.18.4 and passed the correct path to extconf.rb but I am not sure how to complete the installation, so that require 'pg' would work
eckhardt has joined #ruby
chouhoulis has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
wojnar has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
Xiti` has joined #ruby
Xiti` has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 272 seconds]
Xiti has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
arup_r has joined #ruby
Dirak has quit [Ping timeout: 244 seconds]
Dirak has joined #ruby
arup_r has quit [Client Quit]
chouhoulis has quit [Ping timeout: 240 seconds]
jp has quit [Ping timeout: 240 seconds]
mike11 has quit [Quit: Leaving.]
Dirak has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
joast has quit [Ping timeout: 272 seconds]
_za1b1tsu_ has joined #ruby
elphe has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
Xiti has joined #ruby
discopatrick has quit [Quit: Connection closed for inactivity]
_za1b1tsu_ has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 240 seconds]
DTZUZO_ has quit [Ping timeout: 252 seconds]
beowuff has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jp has joined #ruby
faitswulff has quit [Remote host closed the connection]
Dirak has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
elphe has joined #ruby
desperek has joined #ruby
sanscoeu_ has joined #ruby
jcalla has quit [Quit: Leaving]
Xeago_ has joined #ruby
sanscoeur has quit [Ping timeout: 260 seconds]
elphe has quit [Ping timeout: 252 seconds]
Xeago has quit [Ping timeout: 240 seconds]
Xeago_ is now known as Xeago
sanscoeu_ has quit [Ping timeout: 245 seconds]
elphe has joined #ruby
mzo has joined #ruby
Dirak has quit [Ping timeout: 260 seconds]
elphe has quit [Ping timeout: 245 seconds]
DLSteve has joined #ruby
orbyt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
elphe has joined #ruby
joast has joined #ruby
faitswulff has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
Dirak has joined #ruby
lxsameer has joined #ruby
elphe has joined #ruby
tdy has quit [Ping timeout: 252 seconds]
lxsameer has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 260 seconds]
ivanskie has joined #ruby
elphe has joined #ruby
Dirak has quit [Ping timeout: 244 seconds]
bmurt has joined #ruby
a1ph4g33k has quit [Quit: Leaving]
gizmore has joined #ruby
elphe has quit [Ping timeout: 272 seconds]
bmurt has quit [Ping timeout: 260 seconds]
nowhere_man has joined #ruby
elphe has joined #ruby
mzo has quit [Ping timeout: 252 seconds]
desperek has quit [Quit: xoxo]
elphe has quit [Ping timeout: 246 seconds]
wojnar has joined #ruby
reber__ has quit [Remote host closed the connection]
elphe has joined #ruby
faitswulff has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 252 seconds]
faitswulff has joined #ruby
faitswulff has quit [Ping timeout: 245 seconds]
_za1b1tsu_ has joined #ruby
<zenspider> dostoyevsky: you should be able to pass the right values either via env or via extra args in the install. see `gem help install`
_za1b1tsu_ has quit [Ping timeout: 260 seconds]
<dostoyevsky> zenspider: thanks!! Seems like ``gem19 install pg -- --with-pg-dir=/usr/local/pgsql'' is what I want
al2o3-cr has joined #ruby
<zenspider> looks about right
<zenspider> except that 1.9 part... you REALLY should push to upgrade
al2o3-cr has quit [Read error: Connection reset by peer]
al2o3-cr has joined #ruby
tdy has joined #ruby
<dostoyevsky> I think I still use 1.6.8 in places... :)
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<zenspider> hopefully you mean 1.8.6
<zenspider> but either way... you really shouldn't. security and performance reasons galore
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
apeiros has quit [Ping timeout: 245 seconds]
dionysus69 has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
<SeepingN> hopefully NOT. lol
<SeepingN> 1.8.6 was horrible. just updating to .7 can leave you with workarounds to fix up
jp has quit [Ping timeout: 252 seconds]
jp has joined #ruby
apeiros has joined #ruby
xfbs has quit [Quit: afk]
tdy has quit [Ping timeout: 252 seconds]
eckhardt has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
eckhardt has joined #ruby
ciscam has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 272 seconds]
kpoman has quit [Quit: kpoman]
ciscam has joined #ruby
Inside has joined #ruby
<Inside> I miss you, Ruby ;(
<Inside> Fiddling with C# right now and it feels like I'm fighting for every line of code to work
mzo has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
tdy has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
tdy has quit [Ping timeout: 252 seconds]
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
brodul has quit [Ping timeout: 240 seconds]
paraxial has quit [Quit: Ping timeout (120 seconds)]
tdy has joined #ruby
Dirak has joined #ruby
brodul has joined #ruby
akem has quit [Remote host closed the connection]
c0ncealed2 has quit [Remote host closed the connection]
akem has joined #ruby
c0ncealed2 has joined #ruby
paraxial has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
DTZUZO_ has joined #ruby
_za1b1tsu_ has joined #ruby
tdy has joined #ruby
agent_white has quit [Quit: later]
tdy has quit [Ping timeout: 244 seconds]
_za1b1tsu_ has quit [Ping timeout: 240 seconds]