havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: 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!
fercell has quit [Quit: WeeChat 2.8]
deimos_ has joined #ruby
impermanence has quit [Quit: Connection closed]
andrewray has joined #ruby
<andrewray> I'm getting the error "You are trying to install in deployment mode after changing your Gemfile" when running bundle install, after a bundle install --deployment
<andrewray> How does bundler detect a previous deployment install was done? I've rm'd my vendor/bundle directory
<adam12> andrewray: .bundle/config maybe
<andrewray> that might be it, i see BUNDLE_FROZEN: "true" and BUNDLE_PATH: "vendor/bundle" in there
<havenwood> andrewray: You can manually remove that or: bundle install --no-deployment
<havenwood> andrewray: (which removes it)
<andrewray> I'm working on a docker setup where there's two stages, first I build "for production" with bundle install --deployment, and then the development stage
<andrewray> however now I'm trying to figure out how to update the Gemfile.lock after doing that, without fully blowing away the gemfile.lock
<havenwood> andrewray: See: bundle update --help
<andrewray> I mean like changing the gemfile and then adding it to the gemfile.lock
<havenwood> andrewray: Typically you make the change in development, test it, then push the Gemfile.lock to prod.
<andrewray> that makes sense
GodFather has quit [Ping timeout: 256 seconds]
<andrewray> is my error running install --deployment in development?
<havenwood> andrewray: Yeah, it should be `--no-deployment` (the default) in development.
<andrewray> I can make a separate docker stage that just `bundle install`s locally. when i've worked on docker for other ecosystems, the general pattern is you install prod deps first, then you install local dev deps in a separate stage
<havenwood> andrewray: That'd be fine with updated deps that had already been tested, but then you'd have the updated Gemfile.lock to commit too.
<havenwood> andrewray: In any case, it's easy enough to undo --deployment with --no-deployment.
<andrewray> testing now - will this update the gemfile.lock?
<havenwood> andrewray: `bundle install` does NOT update the Gemfile.lock but `bundle update` does.
<havenwood> andrewray: For example: bundle update --all
<havenwood> andrewray: Or: bundle update rails --conservative
<andrewray> havenwood by "update the lockfile" I mean updating the Gemfile then making sure the lockfile is updated to reflect those changes - will bundle update achieve that?
<andrewray> brb rtfm'ing
<havenwood> andrewray: The Gemfile is meant to specify the ranges of versions you believe work with your app. The Gemfile.lock specifies the exact version of each dependency that the resolver has selected.
ur5us has quit [Ping timeout: 246 seconds]
<havenwood> andrewray: You can update the gems your app uses by just updating the Gemfile.lock with `bundle update` commands. You can also relax specifications in the Gemfile, but you might as well go ahead and relax those to all pessimistic operator (~>) of major versions if you just want to resolve to latest possible of the major releases, relying on semantic versioning for probability of compat.
ur5us has joined #ruby
TomyWork has quit [Remote host closed the connection]
TomyLobo has quit [Read error: Connection reset by peer]
dionysus69 has quit [Quit: dionysus69]
andrewray has quit [Remote host closed the connection]
dhollinger has quit [Ping timeout: 260 seconds]
dhollinger has joined #ruby
cd has quit [Quit: cd]
dhollinger has quit [Ping timeout: 240 seconds]
dhollinger has joined #ruby
sergioro has quit [Quit: leaving]
gix has quit [Ping timeout: 256 seconds]
sergioro has joined #ruby
alfiemax has joined #ruby
donofrio has quit [Remote host closed the connection]
greypack has quit [Ping timeout: 264 seconds]
greypack has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
djdduty has joined #ruby
falconfox has quit [Ping timeout: 250 seconds]
falconfox has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Esa__ has quit [Ping timeout: 256 seconds]
falconfox has quit [Ping timeout: 264 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
careta has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
ur5us has joined #ruby
ChmEarl has quit [Quit: Leaving]
cthu| has quit [Ping timeout: 256 seconds]
chalkmonster has quit [Quit: WeeChat 2.8]
SuperLag has quit [Ping timeout: 250 seconds]
SuperLag has joined #ruby
SuperLag has quit [Ping timeout: 256 seconds]
SuperLag has joined #ruby
cnsvc has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
sauvin has joined #ruby
roadie has joined #ruby
ericm has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
_whitelogger has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
kenso has quit [Quit: Connection closed for inactivity]
djdduty has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
emptyflask has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
giorgian has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
imode has quit [Ping timeout: 250 seconds]
alfiemax has quit [Ping timeout: 258 seconds]
Archenoth has quit [Ping timeout: 258 seconds]
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
alfiemax has joined #ruby
conta has joined #ruby
SuperLag has quit [Ping timeout: 256 seconds]
SuperLag has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
sergioro has quit [Quit: leaving]
schne1der has joined #ruby
TomyWork has joined #ruby
chalkmonster has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
solars has joined #ruby
vondruch has joined #ruby
zapata has quit [Ping timeout: 246 seconds]
paraxial has joined #ruby
zapata has joined #ruby
siery has quit [Ping timeout: 256 seconds]
paraxial has quit [Client Quit]
cnsvc has joined #ruby
jeromelanteri has joined #ruby
c0san0stra has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
c0san0stra has joined #ruby
ur5us has joined #ruby
troulouliou_div2 has joined #ruby
troulouliou_div2 has quit [Ping timeout: 256 seconds]
mcspud has quit [Ping timeout: 250 seconds]
mcspud has joined #ruby
cd has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
troulouliou_div2 has joined #ruby
conta has quit [Ping timeout: 264 seconds]
conta has joined #ruby
gitter1234 has quit [Quit: Connection closed for inactivity]
freshrap6 has joined #ruby
pandakekok9 has joined #ruby
kristian_on_linu has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
Ai9zO5AP has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Ping timeout: 256 seconds]
jingjinghack has joined #ruby
freshrap6 has quit [Quit: freshrap6]
donofrio has joined #ruby
Ai9zO5AP has joined #ruby
TheBrayn has quit [Quit: WeeChat 2.8]
chalkmonster has joined #ruby
giorgian has quit [Ping timeout: 265 seconds]
giorgian has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
TheBrayn has joined #ruby
ldepandis has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
jingjinghack has quit [Quit: WeeChat 2.1]
pilcrow has quit [Quit: Connection closed for inactivity]
chalkmonster has joined #ruby
gzc has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
hramrach has quit [Remote host closed the connection]
jetchisel has quit [Ping timeout: 260 seconds]
jetchisel has joined #ruby
sticaz has quit [Quit: WeeChat 2.8]
fercell has joined #ruby
cnsvc has joined #ruby
conta has quit [Quit: conta]
burningserenity has joined #ruby
catbusters has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
Phoebus has joined #ruby
drincruz has joined #ruby
jetchisel has joined #ruby
burgestrand has joined #ruby
golevka has joined #ruby
nowhere_man has joined #ruby
drincruz has quit [Ping timeout: 264 seconds]
vondruch has quit [Ping timeout: 260 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
suni has joined #ruby
<suni> Where would people say is the most active place online for the Ruby community?
<burgestrand> github? :D
<burgestrand> suni that's a very broad question though! are you asking for a virtual hangout, or a place where people go to get help?
<suni> More the former, though really it was a bit "vague on purpose" because I didn't want to impose my (probably wrong) assumptions. I always first go to freenode but a lot of communities now are more active in Slack, or forums, or I'm sure other places I'm too old to think of.
GodFather has joined #ruby
<suni> Perhaps "some of the more active places" would have been wiser wording
<burgestrand> suni alright in that case I don't have much for you! this channel has been my watercooler of choice on and off during the years, I'm not aware of any de-facto official forums/chats other than here :)
<suni> burgestrand cool ^_^ There's a secret part of my heart that's always happy when freenode is still a core part of the community. <3
<burgestrand> suni https://www.ruby-lang.org/en/community/ might have a few that are outside of my own bubble
<suni> Ohh, thanks!
dionysus69 has joined #ruby
vondruch has joined #ruby
gzc has quit [Quit: WeeChat 2.8]
gzc has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
falconfox has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
infinityfye has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
pandakekok9 has quit [Quit: leaving]
gitter1234 has joined #ruby
troulouliou_div2 has quit [Ping timeout: 256 seconds]
ritalinona has quit [Remote host closed the connection]
catbusters has quit [Quit: Connection closed for inactivity]
troulouliou_div2 has joined #ruby
hiroaki has joined #ruby
ritalinona has joined #ruby
cnsvc has joined #ruby
<WA9ACE> Throwing this out there just in case it leads to something, I've been doing ruby backend work and frontend work for 10 years now, and was just let go on Wednesday from Clearbit. Very heavy ruby shop, lots of Sinatra, supporting millions of API requests. If anybody is hiring in this channel I could definitely use a job during this time. PMs open. Email caleb@wa9ace.net
infinityfye has quit [Remote host closed the connection]
<adam12> WA9ACE: Sorry to hear that.
buckworst has joined #ruby
<WA9ACE> yeah, all CoVid though related so I have glowing references from higher ups
infinityfye has joined #ruby
burgestrand has quit [Quit: burgestrand]
<suni> Us devs are likely doing better than average, but that's not the same as doing well. -_- I'm sorry, and good luck!
sergioro has joined #ruby
falconfox has quit [Remote host closed the connection]
jtdowney has quit [Quit: Bye]
Phoebus has quit [Quit: Connection closed for inactivity]
cnsvc has quit [Ping timeout: 240 seconds]
jtdowney has joined #ruby
schne1der has quit [Read error: Connection reset by peer]
schne1der has joined #ruby
buckworst has quit [Quit: WeeChat 2.8]
ChmEarl has joined #ruby
TomyWork has quit [Remote host closed the connection]
cnsvc has joined #ruby
buckworst has joined #ruby
Esa__ has joined #ruby
buckworst has quit [Client Quit]
cnsvc has quit [Ping timeout: 240 seconds]
conta has joined #ruby
giorgian has quit [Ping timeout: 240 seconds]
fercell has quit [Quit: WeeChat 2.8]
giorgian has joined #ruby
oncall-pokemon has joined #ruby
SeepingN has joined #ruby
imode has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
cnsvc has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
ua_ has joined #ruby
ua has quit [Ping timeout: 265 seconds]
conta has quit [Quit: conta]
Ai9zO5AP has quit [Ping timeout: 240 seconds]
cthu| has joined #ruby
banisterfiend has joined #ruby
burningserenity has quit [Ping timeout: 246 seconds]
Ai9zO5AP has joined #ruby
Ai9zO5AP has quit [Excess Flood]
TCZ has joined #ruby
giorgian has quit [Ping timeout: 256 seconds]
giorgian has joined #ruby
burningserenity has joined #ruby
TCZ has quit [Quit: Leaving]
cnsvc has quit [Ping timeout: 240 seconds]
schne1der has quit [Ping timeout: 265 seconds]
Ai9zO5AP has joined #ruby
emptyflask has joined #ruby
sagax has quit [Ping timeout: 240 seconds]
<baweaver> A lot of people are still over around Twitter as well.
brool has joined #ruby
ellcs has joined #ruby
schne1der has joined #ruby
howdoi has joined #ruby
careta has quit [Ping timeout: 256 seconds]
suni has quit [Ping timeout: 240 seconds]
gix has joined #ruby
<apotheon> "still over around Twitter" <- What does that mean?
suni has joined #ruby
banisterfiend has quit [Ping timeout: 246 seconds]
shirak has joined #ruby
zapata has quit [Ping timeout: 246 seconds]
cnsvc has joined #ruby
zapata has joined #ruby
zapata has quit [Ping timeout: 246 seconds]
zapata has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
akem has quit [Ping timeout: 260 seconds]
akem has joined #ruby
akem has quit [Max SendQ exceeded]
akem has joined #ruby
ur5us has joined #ruby
lucasb has joined #ruby
giorgian has quit [Quit: restart computer]
duderonomy has quit [Ping timeout: 265 seconds]
zapata has quit [Ping timeout: 256 seconds]
duderonomy has joined #ruby
zapata has joined #ruby
giorgian has joined #ruby
suni has quit [Quit: WeeChat 2.8]
zapata has quit [Ping timeout: 246 seconds]
zapata_ has joined #ruby
djdduty has joined #ruby
zapata_ has quit [Ping timeout: 265 seconds]
zapata has joined #ruby
felix_221986 has joined #ruby
felix_221986 is now known as feland250
burningserenity has quit [Quit: Leaving.]
kristian_on_linu has joined #ruby
solars has quit [Quit: Connection closed for inactivity]
Dreamer3 has joined #ruby
sagax has joined #ruby
d3bug has quit [Quit: Connection closed for inactivity]
dviola has quit [Ping timeout: 256 seconds]
sagax has quit [Remote host closed the connection]
sagax has joined #ruby
brianj has joined #ruby
<brianj> Hi guys, I have a string eg. 03221 or 123001 and Im trying to get the index of the occurence of the first non 0 value. Does anyone have any clues? Ive been experimenting with index and regexps but cant seam to get it working.. :-/
<phaul> '0012034'.chars.index {|c| c != '0' }
feland250 has quit [Quit: Connection closed]
<phaul> # => 2
<brianj> cool. thanks. I didnt consider using #chars :-)
<havenwood> &>> '0012034'.index(/[^0]/)
<adam12> havenwood: bot's gone :\
<havenwood> #=> 2
<adam12> Good faux-bot.
<phaul> bot is dead, sorry. I will try to get it back online over the weekend
<phaul> we got banned :(
<havenwood> ahhhh
lightstalker has joined #ruby
<brianj> havenwood: that was the path i was taking as well but I was searching beginning of string index(/^\[^0]/) which returns nil
<havenwood> brianj: I'd vote #index with a Regexp.
<havenwood> brianj: ah
<brianj> thanks, to both of you :-)
<adam12> havenwood: That's a nice use of negating regex.
brianj has quit [Remote host closed the connection]
cnsvc has quit [Ping timeout: 240 seconds]
masticass has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
major_majors has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
zapata has quit [Quit: WeeChat 2.8]
cnsvc has joined #ruby
krillbat has joined #ruby
dviola has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
ur5us has quit [Quit: Leaving]
dviola has quit [Ping timeout: 265 seconds]
djdduty has quit [Ping timeout: 260 seconds]
ruby[bot1 has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
djdduty has joined #ruby
TCZ has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
djdduty has quit [Ping timeout: 265 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
gitter1234 has quit []
major_majors has joined #ruby
iNs has quit [Ping timeout: 240 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
iNs has joined #ruby
drincruz has quit [Ping timeout: 258 seconds]
gitter1234 has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
factormystic has quit [Quit: The Lounge - https://thelounge.chat]
TCZ has quit [Quit: Leaving]
factormystic has joined #ruby
<Scriptonaut> /join #terraform
<Scriptonaut> whoops
oncall-pokemon has quit [Quit: Connection closed for inactivity]
chalkmonster has joined #ruby
woodruffw has quit [Ping timeout: 256 seconds]
cnsvc has joined #ruby
giorgian has quit [Ping timeout: 250 seconds]
schne1der has quit [Ping timeout: 264 seconds]
infinityfye has quit [Quit: Leaving]
krillbat has quit [Quit: Connection closed for inactivity]
TCZ has joined #ruby
xco has joined #ruby