vikaton has quit [Quit: Connection closed for inactivity]
bkxd has quit [Ping timeout: 252 seconds]
SeepingN has quit [Ping timeout: 246 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
canurabus has joined #ruby
moei has quit [Ping timeout: 252 seconds]
Fernando-Basso has quit [Remote host closed the connection]
<canurabus>
Hi all. I am having trouble trying to install a gem. I've installed gems before but I don't remember what I did to make it work. I'm using jruby and try to install the gem with the command "jruby -S gem install name_of_gem". I receive a permissions error (I'm on ubuntu)
<canurabus>
Does anyone know how to get around this? I don't want to install using root; if I do this then I can't run any applications that rely on the gem without being root as well.
meinside has quit [Quit: Connection closed for inactivity]
canurabus has quit [Quit: Page closed]
bkxd has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flips has quit [Quit: bbl ...]
elphe has quit [Ping timeout: 246 seconds]
bmurt has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
sameerynho has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sgen has quit [Remote host closed the connection]
cagomez has joined #ruby
apparition has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
bmurt has joined #ruby
bkxd has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
moei has joined #ruby
tkdonut has joined #ruby
orbyt_ has joined #ruby
tkdonut has quit [Quit: Lost terminal]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has quit [Ping timeout: 246 seconds]
elphe has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
Lytol has quit [Remote host closed the connection]
braincrash has joined #ruby
gix has joined #ruby
duderonomy has quit [Ping timeout: 252 seconds]
marmotini_ has joined #ruby
maryo has joined #ruby
dviola has quit [Quit: WeeChat 2.2]
fredlinhares has quit [Quit: WeeChat 1.4]
RougeR has joined #ruby
orbyt_ has joined #ruby
streiu has quit []
bkxd has quit [Ping timeout: 268 seconds]
apparition has quit [Quit: Bye]
elphe has joined #ruby
mzo has quit [Remote host closed the connection]
mzo has joined #ruby
mzo has quit [Remote host closed the connection]
bkxd has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
gnufied has joined #ruby
cagomez has quit [Remote host closed the connection]
MoritaShinobu has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
gnufied has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
gnufied has joined #ruby
za1b1tsu has joined #ruby
<za1b1tsu>
Hi, what do you folks about yard vs rdoc?
elphe has joined #ruby
cd has quit [Quit: cd]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
maryo has quit [Ping timeout: 246 seconds]
marmotini_ has quit [Ping timeout: 252 seconds]
RougeR has quit [Ping timeout: 244 seconds]
<apeiros>
za1b1tsu: I think you accidentally a word :)
* apeiros
prefers yard over rdoc
<za1b1tsu>
apeiros: yeah, I did, morning here :D
<za1b1tsu>
although I always do it.
<za1b1tsu>
anyway, I'm thinking yard too, the syntax is so much cleaner
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
reber has joined #ruby
LiftLeft3 has joined #ruby
LiftLeft has quit [Ping timeout: 250 seconds]
grenierm_ has joined #ruby
doubledup has joined #ruby
grenierm_ has left #ruby [#ruby]
maryo has joined #ruby
MoritaShinobu has quit [Ping timeout: 252 seconds]
troys has quit [Quit: Bye]
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
MoritaShinobu has joined #ruby
za1b1tsu has quit [Ping timeout: 268 seconds]
DarthGandalf has quit [Quit: Bye]
flips has joined #ruby
apparition has joined #ruby
anahtar has joined #ruby
<anahtar>
Hello all. I try to use win32ole on windows with ruby 2.4. (also 2.5) with zwcad.
<anahtar>
I see the ole functions z = WIN32OLE.connect("ZWCAD+.Application")
<z4phod>
I have rails question, i don't find with google :(
<z4phod>
How do :
<z4phod>
ActiveRecord::Base.transaction do { sql_within_transaction ; sql_without_transaction() } I tried use another connection, but that not working :/
<z4phod>
The sql without_transaction is something like "processed += 1"
GodFather has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
c0ncealed3 has quit [Remote host closed the connection]
c0ncealed3 has joined #ruby
venmx has joined #ruby
beefjoe has quit [Quit: <3]
RougeR has joined #ruby
RougeR has quit [Client Quit]
apeiros__ has quit []
Fernando-Basso has joined #ruby
cd has joined #ruby
<z4phod>
the only way i found is to do Thread.new { sql_without_transaction } end.join #SO ULGY
elphe has quit [Ping timeout: 245 seconds]
TomyLobo has joined #ruby
graphene has quit [Remote host closed the connection]
AJA4350 has joined #ruby
graphene has joined #ruby
samort14 has joined #ruby
reber__ has joined #ruby
zenspider_ has joined #ruby
sriehl_ has joined #ruby
akhkharu has joined #ruby
chihhsin_ has joined #ruby
planigan_ has joined #ruby
miah_ has joined #ruby
bhaak_ has joined #ruby
catsed has joined #ruby
Sp4rKy_ has joined #ruby
n13z_ has joined #ruby
segy_ has joined #ruby
Koshian has quit [Ping timeout: 240 seconds]
brainslug has quit [Ping timeout: 240 seconds]
zenspider has quit [Read error: Connection reset by peer]
sriehl has quit [Ping timeout: 240 seconds]
raz has quit [Ping timeout: 240 seconds]
jtdowney has quit [Ping timeout: 240 seconds]
segy has quit [Ping timeout: 240 seconds]
matti has quit [Ping timeout: 240 seconds]
chihhsin has quit [Ping timeout: 240 seconds]
Siarkowy has quit [Ping timeout: 240 seconds]
reber has quit [Ping timeout: 240 seconds]
jp has quit [Ping timeout: 240 seconds]
r3dc0d3r has quit [Ping timeout: 240 seconds]
xMopx has quit [Ping timeout: 240 seconds]
Lyfe has quit [Ping timeout: 240 seconds]
miah has quit [Ping timeout: 240 seconds]
mattp_ has quit [Ping timeout: 240 seconds]
planigan has quit [Ping timeout: 240 seconds]
samort7 has quit [Ping timeout: 240 seconds]
bhaak has quit [Ping timeout: 240 seconds]
n13z has quit [Ping timeout: 240 seconds]
Sp4rKy has quit [Ping timeout: 240 seconds]
headius has quit [Ping timeout: 240 seconds]
cyberRodent has quit [Ping timeout: 240 seconds]
cats has quit [Ping timeout: 240 seconds]
TheMoonMaster has quit [Ping timeout: 240 seconds]
catsed is now known as cats
Sp4rKy_ is now known as Sp4rKy
segy_ is now known as segy
mniip has quit [Quit: This page is intentionally left blank.]
jtdowney has joined #ruby
r3dc0d3r has joined #ruby
xMopx has joined #ruby
moei has joined #ruby
cyberRodent has joined #ruby
mniip has joined #ruby
TheMoonMaster has joined #ruby
ujjain has quit [Ping timeout: 252 seconds]
ujjain has joined #ruby
akem has quit [Ping timeout: 260 seconds]
akem has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
elphe has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
jp has joined #ruby
Mike111 has joined #ruby
Mike111 has quit [Max SendQ exceeded]
mike11 has quit [Ping timeout: 252 seconds]
beefjoe has joined #ruby
bkxd has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bhaak_ is now known as bhaak
nowhere_man has joined #ruby
akem has quit [Ping timeout: 268 seconds]
LiftLeft3 has quit [Ping timeout: 240 seconds]
ellcs has joined #ruby
LiftLeft3 has joined #ruby
beefjoe has quit [Quit: <3]
im0nde has quit [Quit: im0nde]
moei has quit [Ping timeout: 252 seconds]
galtgendo has joined #ruby
<galtgendo>
when dealing with marshal dumps of somewhat complex data, is there some simple way to force all of the strings in that object (upon load or close to that) to utf8 ?
DTZUZO has joined #ruby
RougeR has joined #ruby
roshanavand has joined #ruby
oulanka has joined #ruby
<oulanka>
Hi! Is there any good library to generate line charts in ruby, as images? I have code using gruff that technically works but charts are ugly as hell and gruff is a dead project. I looked for something better or at least alive, but I found only ones generating html files (mostly Google Charts based).
tdy has joined #ruby
<oulanka>
For example I am currently generating something like https://i.imgur.com/xuMYrcM.png - and at this point exporting data to LibreOffice and making chart there would be probably better.
tdy has quit [Ping timeout: 240 seconds]
Sembei has joined #ruby
<havenwood>
galtgendo: If only String class defined #_dump, I'd say: class String; def _dump _; super.force_encoding 'UTF-8' end end
<woodruffw>
actually it probably wouldn't be trivial to determine whether each line is in a given file without it entirely in memory, unless the order of the lines is guaranteed
<woodruffw>
i8igmac: which part, the &:chomp shorthand?
<i8igmac>
its like a search feature im working on... simply checking if multiple strings exist in the file...
<i8igmac>
i was doing something like `find -ilR public/nec/pg/*.txt string`
<i8igmac>
or it was grep not find
<havenwood>
i8igmac: ripgrep is super fast, mlocate cheats by indexing the filesystem
<i8igmac>
ill read up on ripgrep
clemens3_ has quit [Ping timeout: 245 seconds]
<havenwood>
i8igmac: I'd suggest checking out both ripgrep and mlocate. Compare the speed and options available for your case. They're quite different.
<i8igmac>
im checking
<baweaver>
The thing about Ruby is also knowing when to and when to not use it
<baweaver>
in the case of a ton of text processing and finding something like RipGrep will be an order of magnitude or more faster.
<i8igmac>
mlocate can read the file contents?
<havenwood>
i8igmac: ooops, locate may not index file content like mdfind - I forget
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has joined #ruby
<havenwood>
i8igmac: sorry for the misdirection - indexed searches are awesome but looking at locate I agree I don't see full file search - i just remembered wrong
<i8igmac>
the problem i ran into with `grep -ilR nec/pg/*.txt conductor`
<i8igmac>
i didnt know how to do the regex for /conductor & service & cable/
<havenwood>
i8igmac: ripgrep and ag are both pretty fancy