jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 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!
jcarl43 has quit [Quit: WeeChat 2.3]
dcunit3d has joined #ruby
za1b1tsu has joined #ruby
nexraf1 has quit [Ping timeout: 252 seconds]
za1b1tsu has quit [Ping timeout: 240 seconds]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
raulp has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
pushp0p has quit [Ping timeout: 252 seconds]
k0mpa has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
whysthatso_ has quit [Quit: whysthatso_]
apeiros has joined #ruby
apeiros has quit [Ping timeout: 252 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haylon has joined #ruby
<Cork> yes, solved it! :D
<Cork> if anyone else needs to create an ecdsa key from its private part. https://github.com/ruby/openssl/blob/master/test/test_pkey_ec.rb#L120
haylon has quit [Ping timeout: 272 seconds]
houhoulis has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
apeiros has joined #ruby
apeiros has quit [Ping timeout: 244 seconds]
RedNifre has quit [Ping timeout: 272 seconds]
impermanence has quit [Remote host closed the connection]
RedNifre has joined #ruby
dcunit3d has quit [Quit: WeeChat 2.2]
RedNifre has quit [Client Quit]
fluxAeon has quit [Quit: Textual IRC Client: www.textualapp.com]
zachk has quit [Quit: Leaving]
bak1an has joined #ruby
hightower3 has joined #ruby
<hightower3> Hey, is there a way to output a backspace into a string and effectively remove the last char?
<baweaver> hightower3: any particular reason you'd want to?
<hightower3> I am not looking for #chop or so... I'm looking for something like "string #{exp}", where 'exp' would evaluate to deleting the char before it
<hightower3> baweaver, yeah I'm doing some templates and expansion and could use it
<hightower3> although I just came to a realization how to do it in a different way
<baweaver> what are you trying to do with it?
<baweaver> why do you need backspaces?
fluxAeon has joined #ruby
truenito has joined #ruby
<havenwood> hightower3: print "\b"
<hightower3> I tried it but it didn't work
<havenwood> hightower3: What context are you trying to do it in?
<baweaver> If they're doing templating that changes context a ton.
<havenwood> >> Thread.new { print 'hightower3'; print "\b" }
truenito has quit [Remote host closed the connection]
orbyt_ has joined #ruby
<ruby[bot]> havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<hightower3> baweaver, so that when I have a string like "content \n#{exp || "\b"}, I can either output content of exp or delete the newline
<havenwood> #> hightower
<baweaver> hence asking what and why, because it depends
<hightower3> havenwood, yeah I mean within a string, not on screen
<baweaver> then just use an if/else
<havenwood> The ^
<baweaver> Not everything has to be one line.
sp3ncer has joined #ruby
agent_white has joined #ruby
ta_ has joined #ruby
za1b1tsu has joined #ruby
AJA4350 has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 250 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has quit [Ping timeout: 240 seconds]
marmotini_ has quit [Ping timeout: 244 seconds]
bmurt has joined #ruby
cow[moo] has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicholaslyang has joined #ruby
lytol has quit [Quit: lytol]
Inside has quit [Disconnected by services]
lytol has joined #ruby
esrse has joined #ruby
jthomas2 has joined #ruby
dmitch has quit [Quit: Textual IRC Client: www.textualapp.com]
mangold has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jthomas2 has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 240 seconds]
kapil____ has quit [Quit: Connection closed for inactivity]
mangold has quit [Quit: This computer has gone to sleep]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marmotini_ has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
mroutis has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 240 seconds]
maryo_ has quit [Quit: Leaving]
lytol has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bak1an has joined #ruby
bak1an has quit [Client Quit]
arescorpio has joined #ruby
apeiros has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
darkhanb has joined #ruby
Nicmavr has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
arescorpio has quit [Remote host closed the connection]
mangold has joined #ruby
marmotini has joined #ruby
za1b1tsu has joined #ruby
marmotini_ has quit [Ping timeout: 244 seconds]
gix has joined #ruby
za1b1tsu has quit [Ping timeout: 244 seconds]
gix has quit [Ping timeout: 240 seconds]
mangold has quit [Quit: This computer has gone to sleep]
mangold has joined #ruby
braincrash has quit [Quit: bye bye]
apeiros has joined #ruby
braincrash has joined #ruby
houhoulis has quit [Remote host closed the connection]
armyriad has quit [Quit: Leaving]
apeiros has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
donofrio has quit [Remote host closed the connection]
SteenJobs has joined #ruby
ta_ has joined #ruby
RougeR has quit [Ping timeout: 272 seconds]
sp3ncer has quit [Quit: Textual IRC Client: www.textualapp.com]
ged has quit [Read error: Connection reset by peer]
al2o3-cr has quit [Quit: WeeChat 2.3]
ged has joined #ruby
al2o3-cr has joined #ruby
ged has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby
apeiros has quit [Ping timeout: 246 seconds]
nicholaslyang has joined #ruby
MoritaShinobu has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
ivanskie has joined #ruby
ivanskie has quit [Client Quit]
apeiros has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
marmotini has quit [Ping timeout: 252 seconds]
apeiros has quit [Ping timeout: 244 seconds]
za1b1tsu has joined #ruby
mangold has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
nopolitica has quit [Ping timeout: 245 seconds]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has joined #ruby
apeiros has quit [Ping timeout: 246 seconds]
za1b1tsu has joined #ruby
apeiros has joined #ruby
Inline has quit [Quit: Leaving]
dellavg_ has joined #ruby
Azure has quit [Read error: Connection reset by peer]
dinfuehr has quit [Ping timeout: 240 seconds]
Azure has joined #ruby
dinfuehr has joined #ruby
ged has joined #ruby
kaleido has quit [Ping timeout: 264 seconds]
nofxx has quit [Ping timeout: 252 seconds]
bastilian has quit [Ping timeout: 250 seconds]
nofxx has joined #ruby
bastilian has joined #ruby
jthomas2 has joined #ruby
jthomas2 has quit [Ping timeout: 240 seconds]
nofxx has quit [Ping timeout: 252 seconds]
apeiros has quit [Remote host closed the connection]
Dbugger has joined #ruby
SolarAquarion has quit [Quit: PanicBNC - http://PanicBNC.net]
nofxx has joined #ruby
SolarAquarion has joined #ruby
conta has joined #ruby
ta_ has joined #ruby
aupadhye has joined #ruby
dionysus69 has joined #ruby
reber has joined #ruby
Xiti` has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 244 seconds]
k0mpa has quit [Ping timeout: 256 seconds]
aufi has joined #ruby
im0nde_ has joined #ruby
im0nde has quit [Ping timeout: 252 seconds]
im0nde_ is now known as im0nde
Tuor has joined #ruby
nofxx has quit [Ping timeout: 264 seconds]
nofxx has joined #ruby
RougeR has joined #ruby
nowhereman_ has quit [Ping timeout: 252 seconds]
nofxx has quit [Ping timeout: 252 seconds]
nofxx has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
dinfuehr has joined #ruby
Tuor has quit [Quit: Konversation terminated!]
clemens3 has joined #ruby
gix has joined #ruby
voolik has joined #ruby
phaul has joined #ruby
cranq has quit [Ping timeout: 244 seconds]
cranq has joined #ruby
xfbs has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
xfbs has quit [Remote host closed the connection]
im0nde has quit [Quit: im0nde]
im0nde has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cabotto has joined #ruby
RougeR has quit [Ping timeout: 252 seconds]
vondruch has quit [Client Quit]
vondruch has joined #ruby
<Cork> anyone know how to make a GOST R 34.11-94 digest in ruby?
im0nde has quit [Quit: im0nde]
im0nde has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
Burgestrand has joined #ruby
whysthatso has joined #ruby
SegFaultAX has quit [Ping timeout: 264 seconds]
kapil____ has joined #ruby
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
nowhereman_ has joined #ruby
SegFaultAX has joined #ruby
nowhereman_ has quit [Ping timeout: 250 seconds]
jamied has joined #ruby
mikecmpbll has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
Burgestrand has quit [Quit: Closing time!]
hightower3 has quit [Ping timeout: 272 seconds]
whysthatso has quit [Quit: whysthatso]
Burgestrand has joined #ruby
jamied has quit [Quit: Textual IRC Client: www.textualapp.com]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
aufi has quit [Ping timeout: 245 seconds]
marahin has joined #ruby
cabotto has quit [Remote host closed the connection]
cabotto has joined #ruby
mikecmpb_ has joined #ruby
blackmesa has joined #ruby
mikecmpbll has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
marz_d`ghostman has joined #ruby
<marz_d`ghostman> How do I configure rspec so it won't exit the whole suite when my code exits? I have a test testing a failing case where my code exits, and rspec exit totally not continuing the rest of the suites
<phaul> you could stub/mock the exit call
jsc has joined #ruby
jsc is now known as status402
<marz_d`ghostman> status402: I have something like this: https://gist.github.com/marzdgzmn/399f2e469367ab157223bf45500f6943 If I stub exits it continues to trigger syn when shouldn't have to
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<status402> I couldn't tell ya. It honestly looks sensible enough to me.
FrankyCyborg has quit [Ping timeout: 272 seconds]
<marz_d`ghostman> Yeah, the code just does what it does. I have a test not expecting for the next method to be invoked though since it will exit. Just wanted it not to end rspec though
<status402> Is there an alternative to just "exit" that might give you a bit more control?
<marz_d`ghostman> hmm, I should just test that it received exit, instead of testing not_to receive(:the_next_method)
reber__ has joined #ruby
<marz_d`ghostman> nah this class will run a job, and exits if it something fails
<marz_d`ghostman> Is there something like allow(object). to recieve(:exit) and continue to next step though?
<phaul> you could .and_throw
<phaul> and catch it from the test
reber has quit [Ping timeout: 252 seconds]
<phaul> allow (object).to receive(:exit).and_throw(:exit); expect { object.syn }.to throw_symbol :exit
roshanavand has quit [Ping timeout: 244 seconds]
roshanavand has joined #ruby
al2o3-cr has quit [Ping timeout: 246 seconds]
status402 has quit [Ping timeout: 244 seconds]
FrankyCyborg has joined #ruby
esrse has quit [Ping timeout: 272 seconds]
roshanavand has quit [Ping timeout: 244 seconds]
wildermind has joined #ruby
roshanavand has joined #ruby
status402 has joined #ruby
vonfry has joined #ruby
nowhereman_ has joined #ruby
jthomas2 has joined #ruby
leitz has joined #ruby
al2o3-cr has joined #ruby
nowhereman_ has quit [Ping timeout: 250 seconds]
jthomas2 has quit [Ping timeout: 252 seconds]
roshanavand has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
apparition has joined #ruby
cyclonis has quit [Quit: leaving]
roshanavand has quit [Ping timeout: 246 seconds]
vonfry has quit [Quit: WeeChat 2.2]
roshanavand has joined #ruby
aufi has joined #ruby
marz_d`ghostman has quit [*.net *.split]
gregf_ has quit [*.net *.split]
amelliaa has joined #ruby
conta has quit [Ping timeout: 244 seconds]
nowhereman_ has joined #ruby
apeiros has joined #ruby
beefjoe has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.3]
voolik has quit [Ping timeout: 252 seconds]
donofrio has joined #ruby
AJA4350 has joined #ruby
al2o3-cr has joined #ruby
Burgestrand has quit [Quit: Closing time!]
beefjoe has quit [Quit: <3]
nowhere_man has joined #ruby
nowhereman_ has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Quit: WeeChat 2.3]
lomex has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
bmurt has joined #ruby
conta has joined #ruby
bmurt has quit [Client Quit]
bak1an has joined #ruby
roshanavand has quit [Ping timeout: 252 seconds]
voolik has joined #ruby
d^sh has quit [Ping timeout: 244 seconds]
d^sh has joined #ruby
al2o3-cr has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
whysthatso has joined #ruby
voolik has quit [Quit: Taking a nap...]
blackmesa has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lomex has joined #ruby
lomex has quit [Client Quit]
Burgestrand has joined #ruby
marmotini_ has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
aufi has quit [Ping timeout: 252 seconds]
AJA4350 has quit [Quit: AJA4350]
AJA4350 has joined #ruby
vondruch has quit [Ping timeout: 272 seconds]
voolik has joined #ruby
cabotto has quit []
blackmesa has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
emerson is now known as GDPR
marmotini_ has quit [Remote host closed the connection]
voolik has quit [Quit: Taking a nap...]
voolik has joined #ruby
ysb has joined #ruby
ysb has joined #ruby
ysb has quit [Changing host]
aufi has joined #ruby
ysb has quit [Client Quit]
vondruch has joined #ruby
cow[moo] has joined #ruby
c0ncealed4 has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
c0ncealed4 has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
status402 has quit [Ping timeout: 250 seconds]
status402 has joined #ruby
justicefries has joined #ruby
bougyman is now known as BOOgyman
BOOgyman is now known as B00gyman
amelliaa has quit [Quit: -]
ams__ has joined #ruby
kapil____ has joined #ruby
aufi has quit [Ping timeout: 272 seconds]
Sauvin has quit [Ping timeout: 264 seconds]
dmitch has joined #ruby
haylon has joined #ruby
fusta has left #ruby ["Leaving"]
kurko_ has joined #ruby
Inside has joined #ruby
blackmesa1 has joined #ruby
jamied has joined #ruby
SeepingN has joined #ruby
ta_ has quit [Remote host closed the connection]
asphyxia has quit [Ping timeout: 272 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
im0nde has quit [Quit: im0nde]
aufi has joined #ruby
orbyt_ has joined #ruby
voolik has quit [Quit: Taking a nap...]
kaleido has joined #ruby
mroutis has joined #ruby
RedNifre has joined #ruby
apparition has quit [Quit: Bye]
rippa has joined #ruby
mroutis has quit [Ping timeout: 244 seconds]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
conta has quit [Remote host closed the connection]
conta has joined #ruby
jthomas2 has joined #ruby
blackmesa1 has quit [Ping timeout: 264 seconds]
vondruch has quit [Ping timeout: 272 seconds]
moei has joined #ruby
crankharder has joined #ruby
akaiiro has quit [Ping timeout: 240 seconds]
akaiiro has joined #ruby
justicefries has joined #ruby
Fusl has quit [Ping timeout: 256 seconds]
Fusl has joined #ruby
k0mpa has joined #ruby
voolik has joined #ruby
ivanskie has joined #ruby
jthomas2 has quit [Ping timeout: 272 seconds]
xfbs has joined #ruby
MoritaShinobu has quit [Quit: Leaving]
clemens3 has quit [Ping timeout: 245 seconds]
kurko_ has quit [Ping timeout: 240 seconds]
cd has quit [Quit: cd]
alicef has quit [Ping timeout: 246 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ams__ has quit [Quit: Connection closed for inactivity]
lomex has joined #ruby
mroutis has joined #ruby
conta has quit [Ping timeout: 272 seconds]
beefjoe has joined #ruby
mroutis has left #ruby [#ruby]
lomex has quit [Client Quit]
beefjoe has quit [Quit: <3]
Burgestrand has quit [Quit: Closing time!]
beefjoe has joined #ruby
Inline has joined #ruby
vondruch has joined #ruby
Burgestrand has joined #ruby
akaiiro has quit [Remote host closed the connection]
za1b1tsu has quit [Ping timeout: 252 seconds]
aupadhye has quit [Quit: Leaving]
akaiiro has joined #ruby
beefjoe has quit [Quit: <3]
jcarl43 has joined #ruby
dmitch has quit [Ping timeout: 250 seconds]
crankharder has quit [Ping timeout: 252 seconds]
Rapture has joined #ruby
Burgestrand has quit [Quit: Closing time!]
impermanence has joined #ruby
za1b1tsu has joined #ruby
status402 has quit [Quit: status402]
beefjoe has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
apeiros has quit [Remote host closed the connection]
beefjoe has quit [Quit: <3]
jdawgaz has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Mike11 has joined #ruby
crankharder has joined #ruby
blackmesa1 has joined #ruby
blackmesa1 has quit [Client Quit]
kurko_ has joined #ruby
orbyt_ has joined #ruby
kurko_ has quit [Ping timeout: 250 seconds]
orbyt_ has quit [Read error: Connection reset by peer]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justicefries has joined #ruby
orbyt_ has joined #ruby
jordanm has quit [Ping timeout: 246 seconds]
Snorty has joined #ruby
aufi has quit [Ping timeout: 250 seconds]
jordanm has joined #ruby
<Snorty> Learning ruby and I've seen several posts talk about the performance gain when utilizing a hash lookup instead of a using something like array.include? to identify if a value is included in an array. Would it be frowned upon to essentially generate a hash of single values for a performance gain?
<Snorty> For instance instead of array = [ "name1", "name2", "name3"], hash_name = { name_one: true, name_two: true, name_three: true }?
eckhardt has joined #ruby
kaleido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xfbs has quit [Quit: afk]
kurko_ has joined #ruby
apeiros has joined #ruby
<baweaver> Snorty: It's called a Set
nofxx has quit [Ping timeout: 264 seconds]
<Snorty> @baweaver Thank you.
aufi has joined #ruby
aufi has quit [Ping timeout: 244 seconds]
Snorty has quit [Quit: Page closed]
apeiros has quit [Read error: Connection reset by peer]
haylon has quit [Remote host closed the connection]
GodFather has joined #ruby
apeiros has joined #ruby
<Inside> A set uses a ruby hash internally anyway, iirc
nofxx has joined #ruby
maryo has joined #ruby
<maryo> Any dashing tool experts? I am trying to run dashing in windows platform and while accessing the dashing URL the application is getting stopped with an trace back. Some help would be appreciated. Here is the log https://dpaste.de/on90
<baweaver> Inside: shhh, don't spoil the magic/
<baweaver> maryo: The code helps if you can share it.
<Inside> maryo: Try upgrading EM to the latest (1.2.7)
conta has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Inside> actually doesn't look like em/pure_ruby has changed recently
SeepingN has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alicef has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
<maryo> Inside, I have upgrade eventmachine but it looks like I got two versions of evenmachine. So I tried removing one and then while starting the dashing it was saying that I need to run bundle. After running bundle its again two eventmachine with two different versions https://dpaste.de/P2Bt
mikecmpb_ has quit [Quit: inabit. zz.]
<Inside> what does your gemfile look like?
conta has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
conta has joined #ruby
<maryo> Inside, gemfile just has source 'https://rubygems.org'
<maryo> gem 'dashing'
<maryo>
orbyt_ has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
d10n-work has joined #ruby
conta has quit [Ping timeout: 246 seconds]
SeepingN has joined #ruby
mikecmpbll has joined #ruby
SuperLag has quit [Remote host closed the connection]
SuperL4g has quit [Quit: WeeChat 2.2]
nadir has quit [Quit: Connection closed for inactivity]
veinofstars has joined #ruby
maryo has quit [Read error: Connection reset by peer]
Mike11 has quit [Quit: Leaving.]
lomex has joined #ruby
maryo has joined #ruby
maryo has quit [Read error: Connection reset by peer]
maryo has joined #ruby
ellcs has joined #ruby
alicef has quit [Ping timeout: 246 seconds]
lytol has joined #ruby
<phaul> baweaver: rubydoc's been working online for a while now. You can ask it for links if you want to..
<phaul> &ri Hash
<veinofstars> Ive got a stumper: based on the order in which you assign these two variables, the range can differ: https://pastebin.com/BZeXQZ8s
<ruby[bot]> veinofstars: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<veinofstars> does anyone know why the first example includes "now" in the range?
<phaul> you call DateTime.now 2x on the same line. Don't exppect it to give you the same values twice..
<baweaver> phaul: Ah, nice
<baweaver> Old habits.
<baweaver> veinofstars: phaul has the right of it. DateTime#now literally means now, meaning you call it twice and you get different results.
<baweaver> If you really want the same value, set it to a variable first.
<veinofstars> ya i see
<maryo> Is there a way to inform bundler to exclude specific gem from installing?
<baweaver> Take it out of the gemfile
<baweaver> Though this sounds like an issue with Windows installing a specific gem
<havenwood> maryo: or put it in a group and run bundler: --without=GROUP
<havenwood> maryo: also, remember a Gemfile is Ruby, so you can use Ruby logic in it
GodFather has quit [Ping timeout: 252 seconds]
<maryo> havenwood, Ok
<baweaver> maryo: Which gem
<baweaver> and what error?
<baweaver> I'd be willing to bet rubyracer
<havenwood> gem 'therubyracer' unless Gem.win_platform?
maxvaillancourt1 has joined #ruby
<havenwood> Though really, just install Node.js :P
<baweaver> Node isn't a gem, remember that as well.
<baweaver> I think I remember you mentioning that at one point.
<havenwood> baweaver: Clearly just use the Node.js Windows package manager to, mmmmmmmm....
<baweaver> Windows is honestly just a mess for this type of thing.
<havenwood> I said that terribly. I guess Windows does have Chocolatey these days.
* havenwood chants WSL! WSL!
<baweaver> WSL helps a ton at least.
<maryo> baweaver, actually I wanted to run dashing in windows platform. So installed Ruby with Devkit and installed dashing gem. After starting the dashing and accessing the URl, I get this error https://dpaste.de/bJkP
nowhere_man has quit [Ping timeout: 246 seconds]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> maryo: Isn't smashing the modern version of dashing? I vaguely recall that.
<havenwood> maryo: Can you use the Windows Subsystem for Linux, to make life easier?
<baweaver> Unless you're hard bound to Windows, I wouldn't use it.
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
veinofstars has left #ruby [#ruby]
<maryo> havenwood, Windows Subsystem for Linux is not available for Windows Server 2012 / 2016 edition
<havenwood> maryo: Is it therubyracer you're having trouble with?
<havenwood> maryo: Can you install Node.js?
<maryo> havenwood, yep I have installed node.js
<havenwood> maryo: And you removed therubyracer from the Gemfile and ran?: bundle
<maryo> havenwood, yep true. I have already tried that. So the error in the recent pastebin is the latest oen
<havenwood> oh, now it's EM on Win then. aha
<havenwood> (i somehow didn't see the paste, i'm sick and my brain is broken)
<havenwood> maryo: switch `gem 'thin'` to `gem 'puma'`
<havenwood> guessing there's no other dep on EM
<maryo> havenwood, I am trying smashing. Let me check whether that works well with windows :)
lomex has quit [Read error: Connection reset by peer]
<havenwood> maryo: looks like it also uses thin
<havenwood> it _should_ be possible to build EM on win though
<maryo> havenwood, I believe thin is a dependency of dashing. Should I remove thin and install puma manually ?
<havenwood> maryo: smashing should be almost identical to dashing - i don't follow the changes
crankharder has quit [Quit: leaving]
<havenwood> maryo: yes, you can typically swap puma for thin - but i'd have to look at how {sm,d}ashing uses it
Xiti` is now known as Xiti
GodFather has joined #ruby
<havenwood> maryo: Does this work?: gem install --platform ruby eventmachine
<maryo> havenwood, let me check
<havenwood> maryo: Getting EM working might not be too hard. Unsure.
mangold has quit [Quit: This computer has gone to sleep]
crankharder has joined #ruby
<havenwood> maryo: If not, try: gem install --platform ruby eventmachine -- --use-system-libraries
RedNifre has quit [Quit: everything is great]
<havenwood> maryo: I guess `gem uninstall eventmachine` first.
<maryo> havenwood, I have uninstalled the eventmachine and running gem install --platform ruby eventmachine -- --use-system-libraries
<maryo> havenwood, I have no idea why bundler is again installing eventmachine https://dpaste.de/te6B
eckhardt has joined #ruby
<havenwood> maryo: Oh, right - bundler.
<havenwood> maryo: You could try: bundle config build.eventmachine --use-system-libraries
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> maryo: Looks like this issue might have more ideas for you to try: https://github.com/eventmachine/eventmachine/issues/800
<havenwood> It seems like EM doesn't play particularly well with Win.
jdawgaz has joined #ruby
<maryo> havenwood, yep it seems like
apeiros has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
<maryo> havenwood, tried smashing too. But it entirely gives a different error https://dpaste.de/NahW
apeiros has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
conta has joined #ruby
orbyt_ has quit [Client Quit]
alicef has joined #ruby
maryo has quit [Quit: Leaving]
maryo has joined #ruby
k0mpa has quit [Quit: k0mpa]
k0mpa has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Quit: conta]
conta has joined #ruby
whysthatso_ has joined #ruby
conta has quit [Client Quit]
conta has joined #ruby
whysthatso has quit [Ping timeout: 264 seconds]
whysthatso_ is now known as whysthatso
alicef has quit [Ping timeout: 246 seconds]
troulouliou_div2 has joined #ruby
patr0clus has joined #ruby
maryo has quit [Ping timeout: 252 seconds]
patr0clus is now known as s3nd1v0g1us
<Inside> the whole EM on windows thing is why I finally threw in the towel and started developing on windows
alicef has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 244 seconds]
jdawgaz has joined #ruby
leitz has quit [Quit: Leaving]
alicef has quit [Ping timeout: 246 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roshanavand has quit [Quit: Gone planting!]
Puffball has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 250 seconds]
<baweaver> Anyone remember where the options list was for `IO#foreach`? It has a partial list, but excludes certain bits.
<baweaver> Trying to read a binary file by a buffer size instead of by line
<baweaver> and would rather not do a `f = File.open(n, 'rb'); something until (b = f.read(2048)).empty?; f.close`
<apeiros> baweaver: ri IO.foreach?
<apeiros> given that there is no IO#foreach…
kaleido has joined #ruby
<baweaver> I always mix those two up
Azure has quit [Ping timeout: 244 seconds]
cow[moo] has joined #ruby
Puffball has joined #ruby
DoubleMalt has joined #ruby
s3nd1v0g1us has quit [Read error: Connection reset by peer]
DoubleMalt has quit [Client Quit]
nofxx has joined #ruby
alicef has joined #ruby
darkhanb has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
voolik has quit [Quit: Taking a nap...]
ellcs has quit [Ping timeout: 264 seconds]
conta has quit [Quit: conta]
RougeR has joined #ruby
rafadc_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
kapil____ has joined #ruby
Eiam has quit [Read error: Connection reset by peer]
Eiam has joined #ruby
kurko__ has joined #ruby
kurko_ has quit [Ping timeout: 250 seconds]
za1b1tsu has quit [Ping timeout: 244 seconds]
voice_ftp has joined #ruby
postmodern has joined #ruby
voiceftp has quit [Ping timeout: 244 seconds]
alicef has quit [Ping timeout: 246 seconds]
dmitch has joined #ruby
nfk has joined #ruby
voice_ftp has quit [Remote host closed the connection]
orbyt_ has joined #ruby
zapata has quit [Ping timeout: 252 seconds]
impermanence has quit [Remote host closed the connection]
alicef has joined #ruby
voice_ftp has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
voice_ftp has quit [Ping timeout: 240 seconds]
dmt146 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmt146 has quit [Client Quit]
DoubleMalt has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
alicef has quit [Ping timeout: 246 seconds]
arup_r has joined #ruby
voiceftp has joined #ruby
alicef has joined #ruby
troulouliou_div2 has quit [Read error: Connection reset by peer]
m27frogy has quit [Ping timeout: 260 seconds]
dellavg_ has quit [Ping timeout: 246 seconds]
Takumo has joined #ruby
Takumo has quit [Client Quit]
beowuff has joined #ruby
Takumo has joined #ruby
Takumo has quit [Client Quit]
alicef has quit [Ping timeout: 246 seconds]
kurko__ has quit [Ping timeout: 240 seconds]
Takumo has joined #ruby
nowhere_man has joined #ruby
nowhere_man has quit [Ping timeout: 244 seconds]
alicef has joined #ruby
arup_r has quit []
TvL2386 has joined #ruby
Dimik has joined #ruby
Dimik has quit [Excess Flood]
SuperLag has joined #ruby
SuperL4g has joined #ruby
za1b1tsu has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has quit [Read error: Connection reset by peer]
apeiros__ has joined #ruby
ta_ has joined #ruby
jdawgaz has joined #ruby
Dimik has joined #ruby
venmx has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* Inside gives up and creates a class called "AmalgamatedDataProvider" which pulls in all the data(tm)
za1b1tsu has quit [Ping timeout: 244 seconds]
johnny56 has quit [Read error: Connection reset by peer]
alicef has quit [Ping timeout: 246 seconds]
Azure has joined #ruby
whysthatso_ has joined #ruby
whysthatso has quit [Ping timeout: 264 seconds]
whysthatso_ is now known as whysthatso
chouhoulis has quit [Ping timeout: 252 seconds]
moei has quit [Quit: Leaving...]
johnny56 has joined #ruby
alicef has joined #ruby
<mochiyoda> didn't they add something like array [index..] instead of having to do [index..-1]? or did I dream that
ta_ has quit [Ping timeout: 250 seconds]
za1b1tsu has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
nowhere_man has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
kurko__ has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
ivanskie has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
apeiros__ has quit []
patr0clus has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
ua has quit [Ping timeout: 272 seconds]
nexraf1 has joined #ruby
ua has joined #ruby
gix has quit [Ping timeout: 250 seconds]
alicef has quit [Ping timeout: 246 seconds]
<Radar> mochiyoda: Ruby 2.6 will have that.,
orbyt_ has joined #ruby
alicef has joined #ruby
ua_ has joined #ruby
<mochiyoda> Radar: ah thanks! Excellent.
<Radar> Ruby 2.6 will allow for ranges which are `1..`, which is equivalent to today's 1..Float::INFINTIY
ua has quit [Ping timeout: 268 seconds]
<mochiyoda> Roger. Sounds great. Only just moved to 2.5 so I thought all those goodies I read about in the past would now be mine...
patr0clus is now known as s3nd1v0g1us
Dbugger has quit [Ping timeout: 264 seconds]
nowhere_man has joined #ruby
venmx has joined #ruby
kurko__ has quit [Ping timeout: 252 seconds]
whysthatso has quit [Ping timeout: 264 seconds]
kurko_ has joined #ruby
whysthatso has joined #ruby
reber__ has quit [Remote host closed the connection]
kapil____ has quit [Quit: Connection closed for inactivity]
jokke has quit [Ping timeout: 272 seconds]
whysthatso has quit [Quit: whysthatso]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jokke has joined #ruby
bmurt has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
ua_ has quit [Ping timeout: 252 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
jdawgaz has joined #ruby
ua has joined #ruby
bmurt has joined #ruby
bmurt has quit [Client Quit]
s3nd1v0g1us has quit [Quit: WeeChat 2.1]
wildermind has quit [Quit: Connection closed for inactivity]
asphyxia has joined #ruby
za1b1tsu has quit [Ping timeout: 250 seconds]
zapata has joined #ruby
raulp has quit [Ping timeout: 272 seconds]
venmx has quit [Ping timeout: 240 seconds]
raulp has joined #ruby
darthfork has joined #ruby
AJA4350 has quit [Quit: AJA4350]
darthfork has quit [Remote host closed the connection]
orbyt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
alicef has quit [Ping timeout: 246 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
tdy has quit [Ping timeout: 246 seconds]
alicef has joined #ruby
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
xuanrui has joined #ruby