ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
cnsvc has joined #ruby
greypack has quit [Ping timeout: 265 seconds]
meinside has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greypack has joined #ruby
dandaman has joined #ruby
cd has joined #ruby
dandaman has quit [Ping timeout: 272 seconds]
dviola has quit [Quit: WeeChat 2.8]
meimeix has joined #ruby
jinmiaoluo has quit [Ping timeout: 256 seconds]
jinmiaoluo has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
TCZ has quit [Quit: Leaving]
dandaman has joined #ruby
Esa__ has joined #ruby
dandaman has quit [Ping timeout: 252 seconds]
cliluw has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
_nexxus_ has joined #ruby
ferche23 has joined #ruby
dandaman has joined #ruby
<_nexxus_>
quick question, in case anyone can help: not overly familiar with ruby, but am installing gitlab and have installed bundler, per the instructions, and it seems to have installed correctly (no errors, shows up when i 'gem list'). however i have no 'bundle' ..
dandaman has quit [Client Quit]
cnsvc has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
<sagax>
try `gem install bundle`
jinmiaoluo has quit [Ping timeout: 260 seconds]
jinmiaoluo has joined #ruby
duderonomy has joined #ruby
duderono_ has quit [Ping timeout: 260 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<_nexxus_>
i did. installed fine.. just no 'bundle' command
<sagax>
and you will have bundle as command in terminal
<_nexxus_>
yeah, got it.. thank you.
ChmEarl has quit [Quit: Leaving]
chalkmonster has joined #ruby
sergioro has quit [Quit: leaving]
sergioro has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
Esa__ has quit [Ping timeout: 256 seconds]
cnsvc has joined #ruby
dandaman has joined #ruby
cortexman has joined #ruby
polishdub has joined #ruby
MrCrackPot has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
ferche23 has quit [Read error: Connection reset by peer]
cortexman has quit [Remote host closed the connection]
dandaman has quit [Quit: Leaving.]
dandaman has joined #ruby
dandaman has quit [Client Quit]
donofrio has quit [Remote host closed the connection]
troulouliou_div2 has quit [Ping timeout: 265 seconds]
pandakekok9 has quit [Ping timeout: 264 seconds]
wymillerlinux has quit [Read error: Connection reset by peer]
wymillerlinux has joined #ruby
wymillerlinux has quit [Remote host closed the connection]
troulouliou_div2 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
tpanarch1st has quit [Ping timeout: 256 seconds]
jinmiaoluo has quit [Ping timeout: 240 seconds]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
jinmiaoluo has joined #ruby
jetchisel has joined #ruby
jinmiaoluo has quit [Excess Flood]
plutes has quit [Ping timeout: 250 seconds]
jinmiaoluo has joined #ruby
polishdub has quit [Ping timeout: 256 seconds]
polishdub has joined #ruby
<sergioro>
Hello what command should i use to test a ruby stdlib from ruby source code?
<sergioro>
I built and installed ruby with `configure && make all install`
<sergioro>
then i tried to test the 'mkmf' standard library with the command 'make test-all TESTS=test/mkmf/test_config.rb' but this returns 'make: *** [uncommon.mk:782: yes-test-all] Profiling timer expired'
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
d3bug has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
polishdub has quit [Remote host closed the connection]
yelloB has joined #ruby
yelloB has quit [Remote host closed the connection]
markopasha has joined #ruby
jinmiaoluo has quit [Ping timeout: 240 seconds]
jinmiaoluo has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
jinmiaoluo has quit [Ping timeout: 265 seconds]
buckworst has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
vondruch has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jinmiaoluo has joined #ruby
hiroaki has joined #ruby
jinmiaoluo has quit [Ping timeout: 256 seconds]
jinmiaoluo has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
conta has joined #ruby
mn3m has quit [Read error: Connection reset by peer]
mn3m has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
buckworst has quit [Quit: WeeChat 2.8]
cnsvc has joined #ruby
imode has quit [Ping timeout: 256 seconds]
ellcs has joined #ruby
dviola has quit [Quit: WeeChat 2.8]
kristian_on_linu has joined #ruby
<siery>
Good morning, can someone tell me why in this scenerio, if `self.instance_variable_defined?(object)` is true, `self.instance_variable_get(object)` turns out to be nill?
<siery>
Sending key binding to object reference (@camera)
<siery>
nil
chalkmonster has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
<jhass>
setting an instance variable to nil does not undefine it, it just sets its value to nil
chalkmonster has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
<giorgian>
siery: nil is a valid value for an instance variable. If you want to unset an instance variable, you can use remove_instance_variable(:@some_instance_variable)
<jhass>
but honestly this smells a lot like you want a hash instead
<giorgian>
I agree that having arbitrary instance variables may incur in pitfalls. A single hash may save you from trouble
deathwishdave has joined #ruby
<siery>
giorgian: But it is not nil..
<siery>
Not when I assign it
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
TomyWork has joined #ruby
<siery>
Or.. hmm, I think I know what is the problem
schne1der has joined #ruby
<siery>
jhass: Thank you for mentioning that, that's so true
<giorgian>
siery: thank you for making me discover 0x0.st
aesthe has joined #ruby
cnsvc has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.8]
wilhelm418 has joined #ruby
gix has joined #ruby
al2o3-cr has joined #ruby
jeromelanteri has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
Emmanuel_Chanel has joined #ruby
alfiemax has joined #ruby
jinmiaoluo has quit [Ping timeout: 256 seconds]
jinmiaoluo has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
sergioro has quit [Quit: leaving]
cnsvc has joined #ruby
ellcs has quit [Ping timeout: 252 seconds]
mn3m has quit [Quit: mn3m]
alexherbo2 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
TCZ has joined #ruby
vondruch has quit [Ping timeout: 258 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
infinityfye has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
cnsvc has joined #ruby
alexherbo2 has joined #ruby
alexherbo24 has joined #ruby
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo24 is now known as alexherbo2
vondruch has joined #ruby
ldepandis has joined #ruby
burningserenity has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
chalkmonster has joined #ruby
akem has quit [Ping timeout: 256 seconds]
akem has joined #ruby
cnsvc has joined #ruby
drincruz has joined #ruby
infinityfye has quit [Ping timeout: 250 seconds]
drincruz has quit [Ping timeout: 256 seconds]
drincruz has joined #ruby
jinmiaoluo has quit [Ping timeout: 250 seconds]
jinmiaoluo has joined #ruby
fercell has joined #ruby
infinityfye has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 256 seconds]
chalkmonster has quit [Quit: WeeChat 2.8]
xco has joined #ruby
TCZ has quit [Quit: Leaving]
duderonomy has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
duderonomy has quit [Ping timeout: 256 seconds]
troulouliou_div2 has quit [Ping timeout: 260 seconds]
conta has quit [Quit: conta]
ChmEarl has joined #ruby
troulouliou_div2 has joined #ruby
s2013 has joined #ruby
s2013 has quit [Client Quit]
Ai9zO5AP has quit [Ping timeout: 240 seconds]
arekushi has quit [Ping timeout: 272 seconds]
Ai9zO5AP has joined #ruby
dandaman has joined #ruby
lucasb has joined #ruby
falconfox has joined #ruby
burningserenity has quit [Remote host closed the connection]
regedit has joined #ruby
felix_221986 has joined #ruby
wymillerlinux has joined #ruby
rippa has joined #ruby
felix_221986 has quit [Max SendQ exceeded]
felix_221986 has joined #ruby
felix_221986 has quit [Client Quit]
felix_221986 has joined #ruby
imode has joined #ruby
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
TCZ has joined #ruby
jinmiaoluo has quit [Remote host closed the connection]
jinmiaoluo has joined #ruby
jinmiaoluo has quit [Remote host closed the connection]
jinmiaoluo has joined #ruby
jottr has joined #ruby
jinmiaoluo has quit [Remote host closed the connection]
jinmiaoluo has joined #ruby
duderonomy has joined #ruby
jinmiaoluo has quit [Remote host closed the connection]
apoc has joined #ruby
jottr has quit [Quit: WeeChat 2.8]
cnsvc has joined #ruby
jinmiaoluo has joined #ruby
jinmiaoluo has quit [Remote host closed the connection]
jinmiaoluo has joined #ruby
sergioro has joined #ruby
SeepingN has joined #ruby
alfiemax has joined #ruby
jinmiaoluo has quit [Remote host closed the connection]
jinmiaoluo has joined #ruby
rcvalle has quit [Read error: Connection reset by peer]
rcvalle has joined #ruby
tpanarch1st has joined #ruby
plutes has joined #ruby
plutes has quit [Max SendQ exceeded]
alfiemax has quit [Remote host closed the connection]
plutes has joined #ruby
plutes has quit [Remote host closed the connection]
plutes has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
cnsvc has quit [Ping timeout: 240 seconds]
wymillerlinux has quit [Ping timeout: 265 seconds]
jinmiaoluo has quit [Remote host closed the connection]
<wimpog>
Hello, is it possible to specify BUNDLE_PATH in the application, instead of doing bundle config set path 'vendor/bundle'? I want to package up the app, zip it up, upload it to the server, unzip w/o having to do bundle config set path 'vendor/bundle'. Is it possible to save this path somehere, so bundle install knows?
<havenwood>
wimpog: (which the `bundle config` command sets, but you can edit the file directly)
<wimpog>
havenwood: if I set it, `bundle install` will use that path from then on?
<havenwood>
wimpog: yes
<wimpog>
Is it recommended to always set BUNDLE_PATH in .bundle/config?
<havenwood>
wimpog: If you're deploying, the recommendation is to use `--deployment` flag.
<havenwood>
wimpog: It'll both set path to vendor and freeze the bundle.
<wimpog>
What's the advantage of --deployment vs setting BUNDLE_PATH in .bundle/config
<havenwood>
wimpog: It's a "remembered" setting. You can run it once and it'll save the .bundle/config flag.
<havenwood>
wimpog: The advantage is that it freezes the bundle locally too.
<wimpog>
havenwood: I see
<wimpog>
havenwood: freezes in what way?
greypack has quit [Ping timeout: 256 seconds]
<havenwood>
wimpog: It insists that there be a Gemfile.lock, that it be up to date, and prevents local updates to the Gemfile.lock by refusing to further bundle update.
<havenwood>
wimpog: "Bundler's defaults are optimized for development. To switch to defaults optimized for deployment and for CI, use the --deployment flag."
<wimpog>
havenwood: what about for Elastic Beanstalk?
<havenwood>
wimpog: What about it?
<wimpog>
havenwood: is it better to use --deployment for it as well?
<havenwood>
wimpog: That flag is bundle-wide, not on a gem-by-gem basis.
<wimpog>
havenwood: I think, I'll stick with your suggestion of --deployment
<havenwood>
wimpog: Yeah, that's recommended.
<wimpog>
havenwood: thank you for your help and clarification
<wimpog>
havenwood: are you familiar with elastic beanstalk?
<havenwood>
wimpog: You're welcome.
<havenwood>
wimpog: Sure, I'm generally familiar.
<wimpog>
havenwood: with --deployment flag where will it install gems? in vendor/bundle or elsewhere?
<havenwood>
wimpog: vendor/bundle
<wimpog>
havenwood: could you please take a look at my .ebextensions/bundler_update.config file: https://pastebin.com/vxY6Aki9
greypack has joined #ruby
<wimpog>
havenwood: does it look correct to you?
<wimpog>
havenwood: I probably don't need bundle config set path 'vendor/bundle', do I?
<havenwood>
wimpog: No, you don't need to set the path twice. The `bundle config set deployment 'true'` already handles that.
<wimpog>
havenwood: instead of gem install bundler:2.1.4?
<havenwood>
wimpog: Yeah, to just get the latest 2.
<havenwood>
wimpog: Or even use the explicit flag for the specific version: gem install bundler --version '2.1.4'
<wimpog>
Great! Will do. Thank you so much, havenwood!
<havenwood>
wimpog: No prob, you're welcome!
<wimpog>
havenwood: any other suggestions?
cnsvc has joined #ruby
<havenwood>
wimpog: A ~> 2 is also nice since Ruby ships with Bundler, so it'll have a default version > 2.1.4 soon.
<havenwood>
wimpog: Nope, I don't have other suggestions.
<wimpog>
havenwood: great! Thank you!
alexherbo20 has joined #ruby
<adam12>
havenwood: iirc you linked to a callback pattern at one time. Do you remember what that was?
alexherbo2 has quit [Ping timeout: 258 seconds]
alexherbo20 is now known as alexherbo2
<havenwood>
adam12: What was the context? Rails or just general Ruby methods?
<adam12>
havenwood: I don't remember. I just remember it had something like `run_callbacks(:something) do` and I enjoyed the pattern. Thought you might remember.
<havenwood>
adam12: Ah, yeah, Rails has #run_callbacks :)
<ule>
Why is a parent's private method allowed to be called from a child class through a child's public method?
sauvin has quit [Read error: Connection reset by peer]
wymillerlinux has joined #ruby
<ule>
This is so weird
<phaul>
ule: that's normal. privetness controls if you can call it without an explicit receiver. And it's called without one
markopasha has joined #ruby
markopasha has quit [Max SendQ exceeded]
<ule>
phaul: I always thought that if something is private, it is no visible at all from a child class
TomyWork has quit [Remote host closed the connection]
markopasha has joined #ruby
<phaul>
as you can see, it is. It's useful I think to always think of private in terms of do I need to send this to someone else or is self ok? if self is ok then I can call it
regedit has quit [Quit: Connection closed for inactivity]
<phaul>
they re changing this but previously private really just cared about not using the '.' notation disallowing self.something. We will have that working with private in the future too so explicit self. will work too
cnsvc has joined #ruby
<ule>
Kind of scary for me though. Anyways thanks for clarifying that phaul
pilcrow has quit [Ping timeout: 245 seconds]
pilcrow has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
cthulchu_ has joined #ruby
<phaul>
actually I must be living in the past as 2.7 already works as I described "the future"
<rubydoc>
stderr: -e:4:in `foo': private method `bar' called for #<X:0x000055d7acc0bcd0> (NoMethodError)... check link for more (https://carc.in/#/r/8xc2)
cliluw has quit [Ping timeout: 256 seconds]
falconfox has quit [Remote host closed the connection]
cliluw has joined #ruby
regedit has joined #ruby
infinityfye has quit [Quit: Leaving]
KnownSyntax has quit [Ping timeout: 245 seconds]
coffeejunk has quit [Ping timeout: 245 seconds]
MentalPower has quit [Ping timeout: 245 seconds]
pitastrudl has quit [Ping timeout: 245 seconds]
MentalPower has joined #ruby
coffeejunk has joined #ruby
jimeh has quit [Ping timeout: 245 seconds]
pitastrudl has joined #ruby
graphicsv has quit [Ping timeout: 265 seconds]
matthewd has quit [Ping timeout: 260 seconds]
d3bug has joined #ruby
KnownSyntax has joined #ruby
jimeh has joined #ruby
graphicsv has joined #ruby
matthewd has joined #ruby
reber has quit [Ping timeout: 258 seconds]
nofxx has joined #ruby
shinzo has joined #ruby
nofxx_ has quit [Ping timeout: 260 seconds]
dandaman has quit [Quit: Leaving.]
dandaman has joined #ruby
duderono_ has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dandaman has quit [Ping timeout: 265 seconds]
duderonomy has quit [Ping timeout: 256 seconds]
Ai9zO5AP has quit [Remote host closed the connection]
pupsikov has joined #ruby
felix_221986 has quit [Ping timeout: 265 seconds]
rikkipitt has joined #ruby
Ai9zO5AP has joined #ruby
ellcs has quit [Ping timeout: 272 seconds]
wymillerlinux has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
burningserenity has quit [Quit: Leaving.]
alfiemax has joined #ruby
ellcs has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
SeepingN_ has joined #ruby
SeepingN has quit [Disconnected by services]
chalkmonster has joined #ruby
dandaman has joined #ruby
znz_jp has quit [Ping timeout: 260 seconds]
znz_jp has joined #ruby
alfiemax has quit [Remote host closed the connection]
ur5us has joined #ruby
cnsvc has joined #ruby
rikkipitt has quit [Quit: Leaving...]
alexherbo24 has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
cnsvc_ has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo24 is now known as alexherbo2
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #ruby
arcaos has joined #ruby
alexherbo26 has joined #ruby
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo26 is now known as alexherbo2
djdduty has joined #ruby
jinmiaoluo has quit [Ping timeout: 256 seconds]
jinmiaoluo has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
cnsvc_ has joined #ruby
dandaman has quit [Quit: Leaving.]
ellcs has quit [Ping timeout: 252 seconds]
SeepingN_ is now known as SeepingN
schne1der has quit [Ping timeout: 258 seconds]
dandaman has joined #ruby
wymillerlinux has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
alexherbo2 has quit [Ping timeout: 265 seconds]
Esa__ has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
phenom has quit [Ping timeout: 264 seconds]
TCZ has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
phenom has joined #ruby
jetchisel has joined #ruby
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
jeromelanteri has quit [Quit: Leaving]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
TCZ has quit [Quit: Leaving]
kristian_on_linu has joined #ruby
wymillerlinux has quit [Quit: wymillerlinux]
wymillerlinux has joined #ruby
dandaman has quit [Quit: Leaving.]
GodFather has joined #ruby
shinzo has left #ruby [#ruby]
SuperL4g has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
SuperLag has quit [Ping timeout: 256 seconds]
SuperLag has joined #ruby
GodFather has quit [Ping timeout: 265 seconds]
TCZ has joined #ruby
SuperL4g has quit [Ping timeout: 250 seconds]
dandaman has joined #ruby
dandaman has quit [Client Quit]
cnsvc_ has quit [Ping timeout: 240 seconds]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]