alfiemax has quit [Remote host closed the connection]
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aguestuser has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
DoubleMalt has quit [Client Quit]
aguestuser has joined #ruby
mjolnird has quit [Read error: Connection reset by peer]
za1b1tsu has quit [Ping timeout: 255 seconds]
mjolnird has joined #ruby
mjolnird has quit [Remote host closed the connection]
drewmcmillan has joined #ruby
mjolnird has joined #ruby
za1b1tsu has joined #ruby
drcode has quit [Ping timeout: 252 seconds]
Xatenev has joined #ruby
schneide_ has quit [Remote host closed the connection]
Xatenev has left #ruby ["Leaving"]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
drcode has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
LoggerZZZ has quit [Remote host closed the connection]
ur5us has quit [Read error: No route to host]
LoggerZZZ has joined #ruby
LoggerZZZ has quit [Read error: Connection reset by peer]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu_ has joined #ruby
jaruga has quit [Quit: jaruga]
za1b1tsu_ has quit [Max SendQ exceeded]
_joes_ has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
schneide_ has joined #ruby
alfiemax has joined #ruby
za1b1tsu has quit [Ping timeout: 260 seconds]
meinside has quit [Quit: Connection closed for inactivity]
tvw has quit []
tvw has joined #ruby
Guest29 has joined #ruby
schneide_ has quit [Ping timeout: 256 seconds]
guardianx has quit [Read error: Connection reset by peer]
Cavallari has quit [Ping timeout: 276 seconds]
schneide_ has joined #ruby
cadillac_ has joined #ruby
karapetyan has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
cek has joined #ruby
nachoman has quit []
karapetyan has quit [Ping timeout: 256 seconds]
schneide_ has joined #ruby
tomphp has joined #ruby
mtkd has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
schneide_ has quit [Ping timeout: 276 seconds]
drewmcmillan has joined #ruby
desperek has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
schneide_ has joined #ruby
LoggerZZZ has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
LoggerZZZ has quit [Remote host closed the connection]
LoggerZZZ has joined #ruby
schneide_ has quit [Ping timeout: 260 seconds]
nowhere_man has joined #ruby
alfiemax has quit [Remote host closed the connection]
sundhell is now known as sundhell_away
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
schneide_ has joined #ruby
tildes has quit [Remote host closed the connection]
alfiemax has joined #ruby
schneide_ has quit [Ping timeout: 264 seconds]
drcode has quit [Ping timeout: 248 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
deathwishdave has joined #ruby
schneide_ has joined #ruby
alfiemax_ has joined #ruby
roshanavand has quit [Read error: No route to host]
alfiemax has quit [Ping timeout: 268 seconds]
jaruga has joined #ruby
schneide_ has quit [Ping timeout: 268 seconds]
drcode has joined #ruby
Neptu has quit [Ping timeout: 264 seconds]
schneide_ has joined #ruby
drcode has quit [Ping timeout: 252 seconds]
schneide_ has quit [Ping timeout: 240 seconds]
tcopeland has quit [Quit: tcopeland]
mjolnird has quit [Read error: Connection reset by peer]
alfiemax_ has quit [Remote host closed the connection]
mjolnird has joined #ruby
mjolnird has quit [Remote host closed the connection]
aguestuser has quit [Remote host closed the connection]
schneide_ has joined #ruby
mjolnird has joined #ruby
aguestuser has joined #ruby
mjolnird has quit [Remote host closed the connection]
mjolnird has joined #ruby
clemens3 has quit [Ping timeout: 265 seconds]
schneide_ has quit [Ping timeout: 248 seconds]
Neptu has joined #ruby
Burgestrand has quit [Quit: Closing time!]
RougeR has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has quit [Ping timeout: 240 seconds]
mjolnird has quit [Read error: Connection reset by peer]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mjolnird has joined #ruby
schneide_ has joined #ruby
deathwishdave has joined #ruby
mjolnird has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 256 seconds]
deathwishdave has quit [Client Quit]
mjolnird has joined #ruby
workmad3 has joined #ruby
deathwishdave has joined #ruby
schneide_ has quit [Ping timeout: 248 seconds]
schneide_ has joined #ruby
aguestuser has quit [Remote host closed the connection]
aguestuser has joined #ruby
mjolnird has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
mjolnird has joined #ruby
dogweather has joined #ruby
schneide_ has quit [Ping timeout: 248 seconds]
drcode has joined #ruby
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has quit [Ping timeout: 276 seconds]
schneide_ has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
mjolnird has quit [Remote host closed the connection]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ixti has joined #ruby
alfiemax has joined #ruby
clemens3 has joined #ruby
mtkd has joined #ruby
alfiemax has quit [Remote host closed the connection]
schneide_ has quit [Remote host closed the connection]
schneide_ has joined #ruby
deathwishdave has joined #ruby
stoffus has joined #ruby
workmad3 has joined #ruby
deathwishdave has quit [Client Quit]
mjolnird has joined #ruby
stoffus has quit [Ping timeout: 256 seconds]
goatish has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
drewmcmillan has joined #ruby
qba73 has quit [Ping timeout: 256 seconds]
axsuul has joined #ruby
mjolnird has quit [Remote host closed the connection]
qba73 has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
sleetdrop has quit [Quit: Computer has gone to sleep.]
Doow has quit [Quit: Leaving]
AJA4350 has joined #ruby
prutheus has joined #ruby
jeffreylevesque has quit [Ping timeout: 252 seconds]
aguestuser has quit [Remote host closed the connection]
drakko has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
aguestuser has joined #ruby
dinfuehr has joined #ruby
deathwishdave has joined #ruby
s2013 has joined #ruby
za1b1tsu has joined #ruby
desperek has quit [Ping timeout: 248 seconds]
deathwishdave has quit [Client Quit]
tcopeland has joined #ruby
<prutheus>
Hello. I have a hash like { '@name' => 'Lucas', '__value__' => '' } and rubocop installed. Everytime i save the file robucop changes the hash to { :@name => 'Lucas', :__value__ => '' } but I dont want this. Any idea how to stop rubocop from that?
Strepsils has joined #ruby
Strepsils has quit [Remote host closed the connection]
deathwishdave has joined #ruby
clemens3 has quit [Ping timeout: 276 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qba73 has quit [Ping timeout: 264 seconds]
yottanami__ has joined #ruby
synthroid has joined #ruby
yottanami_ has quit [Ping timeout: 240 seconds]
tvw has quit []
drakko has quit [Ping timeout: 255 seconds]
alex`` has quit [Quit: WeeChat 2.0.1]
clemens3 has joined #ruby
<prutheus>
Hello? Please?
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has quit [Quit: Leaving]
alex`` has joined #ruby
drcode has quit [Ping timeout: 248 seconds]
jnollette has quit [Ping timeout: 255 seconds]
<tbuehlmann>
prutheus: so you're using the autocorrect feature?
jnollette has joined #ruby
rippa has joined #ruby
<arne>
add .map {|k,v| [k.to_s,v]}.to_s at the end :p
<arne>
*to._h *
Guest29 has joined #ruby
jeffreylevesque has joined #ruby
alex`` is now known as alexherbo2
<heftig>
are there any differences left between symbols and frozen strings?
rabajaj has quit [Remote host closed the connection]
alexherbo2 is now known as alex``
oleo has joined #ruby
deathwishdave has joined #ruby
Guest29 has quit [Client Quit]
deathwishdave has quit [Client Quit]
deathwishdave has joined #ruby
deathwishdave has quit [Client Quit]
jeffreylevesque_ has joined #ruby
jeffreylevesque has quit [Ping timeout: 268 seconds]
<arne>
heftig: their class method returns something else
<prutheus>
tbuehlmann: yeah
<prutheus>
tbuehlmann: any idea how to disable it for that code section?
arne is now known as Bish
<Bish>
asm>> "X".to_s
<ruby[bot]>
Bish: I have disassembled your code, the result is at https://eval.in/947866
<Bish>
asm>> :X.to_s
<ruby[bot]>
Bish: I have disassembled your code, the result is at https://eval.in/947867
<Bish>
that didn't help.
<tbuehlmann>
prutheus: no idea what cop autocorrects that, but if you know you can disable it
Psybur has joined #ruby
Psybur has joined #ruby
Psybur has quit [Changing host]
yottanami__ has quit [Ping timeout: 240 seconds]
<prutheus>
tbuehlmann: no i have no plan why it does that ... i thought you could help with that :/
roshanavand has joined #ruby
vichib has quit [Ping timeout: 276 seconds]
Guest29 has joined #ruby
vichib has joined #ruby
za1b1tsu has joined #ruby
banisterfiend has joined #ruby
cdg has joined #ruby
<banisterfiend>
anyone here famliiar with the TracePoint class?
<za1b1tsu>
So I browsing for an answer to the best setup regarding ctags for ruby in vim, to get method definition. I found
<za1b1tsu>
accepted
<za1b1tsu>
So it turns out the better option (better than ctags) is either Robe for Emacs or a combination of vim + tmux + vmux + pry (to get show-source and edit)
<za1b1tsu>
down vote
<za1b1tsu>
1
<za1b1tsu>
oops
<za1b1tsu>
sorry
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<za1b1tsu>
Let me try again: So I browsing for an answer to the best setup regarding ctags for ruby in vim, to get method definition. I found this answer on stackoverflow: "So it turns out the better option (better than ctags) is either Robe for Emacs or a combination of vim + tmux + vmux + pry (to get show-source and edit)."
<za1b1tsu>
Anybody has this setup? Or uses pry for definitions?
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
John_Ivan has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deathwishdave has joined #ruby
cdg_ has joined #ruby
psychicist__ has joined #ruby
Psybur_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Silthias has joined #ruby
Silthias has left #ruby [#ruby]
nowhere_man has quit [Ping timeout: 264 seconds]
nowhereman_ has joined #ruby
cdg has quit [Ping timeout: 256 seconds]
Psybur has quit [Ping timeout: 240 seconds]
vichib has quit [Ping timeout: 256 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
desperek has joined #ruby
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
LoggerZZZ has quit [Remote host closed the connection]
bmurt has joined #ruby
LoggerZZZ has joined #ruby
sleetdrop has joined #ruby
aguestuser has quit [Remote host closed the connection]
knight33 has joined #ruby
za1b1tsu has quit [Quit: Leaving]
aguestuser has joined #ruby
jrafanie has joined #ruby
drewmcmillan has joined #ruby
deathwishdave has joined #ruby
s2013 has joined #ruby
LoggerZZZ has quit [Remote host closed the connection]
LoggerZZZ has joined #ruby
desperek has quit [Ping timeout: 248 seconds]
yottanami__ has joined #ruby
desperek has joined #ruby
desperek has quit [Remote host closed the connection]
desperek has joined #ruby
qba73 has joined #ruby
workmad3 has joined #ruby
shinnya has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mike11 has joined #ruby
jgnagy has joined #ruby
LoggerZZZ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 248 seconds]
LoggerZZZ has joined #ruby
vichib has joined #ruby
yottanami_ has joined #ruby
jwheare has quit []
jwheare has joined #ruby
roshanavand has left #ruby [#ruby]
yottanami__ has quit [Ping timeout: 276 seconds]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
minimalism has joined #ruby
snath has quit [Ping timeout: 248 seconds]
Chuguniy has joined #ruby
hoylemd has joined #ruby
jwheare has quit []
<hoylemd>
hey folks, is there a gem equivalent of `pip freeze`? I want to be able to check if I've already installed an arbitrary gem.
<nchambers>
oh no nevermind that looks to be for something else
nicesignal has quit [Remote host closed the connection]
cdg has joined #ruby
nicesignal has joined #ruby
<hoylemd>
Ah, yeah, it did look promising at first
<nchambers>
not that this will be much help, but I think people normally use Gemfile.lock for that
<nchambers>
but I don't know much about gem
sleetdrop has joined #ruby
cdg has quit [Read error: Connection reset by peer]
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
cdg_ has quit [Ping timeout: 240 seconds]
<elomatreb>
What's the problem with `gem list` if you're concerned about global gems?
cdg_ has joined #ruby
<dminuoso>
What is this `gem` command you folks keep talking about?
<dminuoso>
Is that a replacement for `bundler` ?
EnderMB has joined #ruby
nickjj_ has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
nickjj has quit [Ping timeout: 248 seconds]
yottanami_ has quit [Remote host closed the connection]
nickjj_ is now known as nickjj
EnderMB has quit [Quit: Page closed]
<hoylemd>
elomatreb: ah! I think gem list is what I needed, thanks!
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso>
elomatreb: I challenge you to enlighten me on this topic!
<elomatreb>
Mh?
<dminuoso>
elomatreb: My previous question!
nickjj_ has joined #ruby
<elomatreb>
I don't get it?
<dminuoso>
And is your name really Ole Betram/Bertram Ole?
Rapture has joined #ruby
vutral|kali has quit [Ping timeout: 240 seconds]
dogweather has joined #ruby
nickjj has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
<bmurt>
this a dumb question, but i'm trying to find out what this is doing:
<bmurt>
set :application, 'MPS'
skawa has quit []
<bmurt>
that 'set' command is part of what class?
aguestuser has quit [Remote host closed the connection]
nickjj has joined #ruby
aguestuser has joined #ruby
<prutheus>
Hello. I have a hash like { '@name' => 'Lucas', '__value__' => '' } and rubocop installed. Everytime i save the file robucop changes the hash to { :@name => 'Lucas', :__value__ => '' } but I dont want this. Any idea how to stop rubocop from that?
khalella has joined #ruby
nickjj_ has quit [Ping timeout: 248 seconds]
Psybur_ has quit [Ping timeout: 240 seconds]
khalella has quit [Client Quit]
TomyWork has quit [Remote host closed the connection]
drcode has joined #ruby
<canton7>
bmurt, sinatra?
<bmurt>
no, ruby and rake
<bmurt>
i've just seen things like set :application, 'blahblah' but if i were to google 'ruby set' it doesn't really return much
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cschneid has quit [Remote host closed the connection]
LoggerZZZ has quit [Remote host closed the connection]
<elomatreb>
It's a method on the class/context at that line, it depends on libraries/frameworks what it means
LoggerZZZ has joined #ruby
vutral|kali has quit [Ping timeout: 276 seconds]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
cschneid has joined #ruby
cadillac_ has quit [Ping timeout: 276 seconds]
<canton7>
bmurt, I don't think rake defines a 'set' method? Certainly, I can't use it in my rakefile...
<canton7>
bmurt, what exactly does your rakefile look like? What requires does it have?
<bmurt>
it's not in a Rakefile, but in a .rb file
<bmurt>
that i believe gets parsed
<canton7>
bmurt, you said you were using ruby and rake
<bmurt>
right
<bmurt>
the set is not in the Rakefile
<canton7>
so now you're saying rake isn't relevant to this?
cschneid has quit [Ping timeout: 276 seconds]
<bmurt>
i believe rake is being used to trigger deploys and other steps
<canton7>
either way, it's just a method. You'd need to look at the requires to see what's defining it
pastorinni has joined #ruby
<canton7>
or other context, e.g. if you're in a class subclassing/including another
vutral|kali has quit [Ping timeout: 240 seconds]
<bmurt>
gotcha. yeah i didn't write this and my ruby isn't super strong so it's just a bit confusing
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
cadillac_ has joined #ruby
<prutheus>
Hello. I have a hash like { '@name' => 'Lucas', '__value__' => '' } and rubocop installed. Everytime i save the file robucop changes the hash to { :@name => 'Lucas', :__value__ => '' } but I dont want this. Any idea how to stop rubocop from that?
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SebastianThorn has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
clemens3_ has joined #ruby
za1b1tsu has joined #ruby
clemens3 has quit [Ping timeout: 264 seconds]
sylario has joined #ruby
karapetyan has quit [Remote host closed the connection]
conta has quit [Quit: conta]
conta has joined #ruby
yohji has quit [Ping timeout: 276 seconds]
Psybur_ has joined #ruby
Psybur__ has joined #ruby
conta has quit [Ping timeout: 256 seconds]
leftpad has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby
cschneid has joined #ruby
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
aufi has quit [Quit: Leaving]
Psybur_ has quit [Ping timeout: 248 seconds]
Chuguniy has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
jo019 has joined #ruby
<jo019>
Hi there, I have trouble translating activerecord errors into actual translations.
<gizmore|2>
jo019: to find the right keys i once did some puts :key in I18n functions
<jo019>
I just don't find rails doc really clear on the subject.
<gizmore|2>
activerecord i18n is quite ... tricky
<gizmore|2>
yeah... i also had to help myself, patching i18n for a short time, printing the keys when its called
dinfuehr has joined #ruby
<gizmore|2>
another option is to ask in #rails
gizmore|2 is now known as gizmore
<prutheus>
Hello. I have a hash like { '@name' => 'Lucas', '__value__' => '' } and rubocop installed. Everytime i save the file robucop changes the hash to { :@name => 'Lucas', :__value__ => '' } but I dont want this. Any idea how to stop rubocop from that?
cdg has joined #ruby
cdg_ has joined #ruby
dhollin3 is now known as dhollinger
<jo019>
gizmore|2: I'll give a shot on the rails chan.
<gizmore>
:)
xfbs has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
snath has joined #ruby
LoggerZZZ has quit [Remote host closed the connection]
sleetdrop has quit [Quit: Computer has gone to sleep.]
nit3rid3 has joined #ruby
LoggerZZZ has joined #ruby
sleetdrop has joined #ruby
shinnya has quit [Ping timeout: 248 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cpruitt has joined #ruby
nowhere_man has joined #ruby
willamin has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<prutheus>
Hello. I have a hash like { '@name' => 'Lucas', '__value__' => '' } and rubocop installed. Everytime i save the file robucop changes the hash to { :@name => 'Lucas', :__value__ => '' } but I dont want this. Any idea how to stop rubocop from that?
yohji has quit [Ping timeout: 256 seconds]
pastorinni has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
vutral|kali has quit [Ping timeout: 248 seconds]
<havenwood>
prutheus: What version of RuboCop are you using?
nowhereman_ has quit [Ping timeout: 240 seconds]
synthroid has quit [Remote host closed the connection]
bmurt has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
jaruga has quit [Quit: jaruga]
leitz has joined #ruby
workmad3 has joined #ruby
yohji has joined #ruby
vutral|kali has quit [Ping timeout: 248 seconds]
cpruitt has quit [Remote host closed the connection]
cpruitt has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
stormpack has joined #ruby
synthroid has joined #ruby
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
[Butch] has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
synthroi_ has joined #ruby
karapetyan has joined #ruby
ledestin has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
synthroid has quit [Ping timeout: 240 seconds]
cpruitt has quit [Remote host closed the connection]
cpruitt has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
<dminuoso>
prutheus: My best guess is that your hash also contains symbol literals.
qba73 has quit [Remote host closed the connection]
<dminuoso>
But that would require setting Style/HashSyntax to no_mixed_keys/ruby19_no_mixed_key
qba73 has joined #ruby
yohji has quit [Remote host closed the connection]
raynold has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
LoggerZZZ has quit [Remote host closed the connection]
LoggerZZZ has joined #ruby
apeiros has joined #ruby
dviola has joined #ruby
synthroi_ has quit [Ping timeout: 276 seconds]
Dimik has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cpruitt has quit [Remote host closed the connection]
eckhardt has joined #ruby
cpruitt has joined #ruby
jottr has joined #ruby
schneide_ has joined #ruby
fredx has joined #ruby
claudiuinberlin has joined #ruby
schneide_ has quit [Ping timeout: 248 seconds]
drewmcmillan has joined #ruby
venmx has quit [Ping timeout: 248 seconds]
synthroid has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
knight33 has joined #ruby
schneide_ has joined #ruby
mtkd has joined #ruby
workmad3 has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deathwishdave has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
gothicsouth has joined #ruby
schneide_ has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
clemens3_ has quit [Ping timeout: 248 seconds]
vutral|kali has quit [Ping timeout: 268 seconds]
LoggerZZZ has quit [Remote host closed the connection]
ixti has quit [Quit: WeeChat 2.0.1]
LoggerZZZ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneide_ has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
tomphp has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
schneide_ has joined #ruby
tomphp has joined #ruby
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
schneide_ has quit [Ping timeout: 240 seconds]
deathwishdave has quit [Read error: Connection reset by peer]
stormpack has quit [Quit: Leaving]
antoniobeyah_ has quit [Quit: Connection closed for inactivity]
jottr has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
schneide_ has joined #ruby
SebastianThorn has joined #ruby
jtdoncas_ has joined #ruby
jaruga has joined #ruby
schneide_ has quit [Ping timeout: 268 seconds]
justinfaler has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SebastianThorn has quit [Read error: Connection reset by peer]
schneide_ has joined #ruby
alfiemax has joined #ruby
jaruga has quit [Quit: jaruga]
x77686d has quit [Quit: x77686d]
jtdoncas_ has left #ruby ["WeeChat 1.5"]
alfiemax has quit [Remote host closed the connection]
schneide_ has quit [Ping timeout: 248 seconds]
fredx has quit [Remote host closed the connection]
LoggerZZZ has quit [Remote host closed the connection]
white_lilies has joined #ruby
ldepandis has joined #ruby
LoggerZZZ has joined #ruby
FriesAndSriracha has quit [Remote host closed the connection]
goatish has quit [Quit: Hibernating]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
jblack has joined #ruby
<jblack>
Hello, I'm sorry to have to ask this here, but I'm not getting anywhere with google and not knowing how to debug this has been driving me crazy for ten years.
DTZUZU has quit [Read error: Connection reset by peer]
<jblack>
I have a gem I'm working on. I run bundler on it, and it says it's "Using rake 10.5.0". I then run bundle exec on one of my gem binaries, and bundler complains "Could not find rake-10.5.0 in any of the sources" and "Run `bundle install` to install missing gems."
guacamole has quit [Client Quit]
schneide_ has joined #ruby
<jblack>
How do I figure out why bundler sees a gem in one context (install) and not another (exec) ?
LocaMocha has quit [Ping timeout: 240 seconds]
jnollette has joined #ruby
jottr has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Client Quit]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has quit [Client Quit]
white_lilies has quit [Quit: WeeChat 1.5]
cdg has quit [Ping timeout: 256 seconds]
white_lilies has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
<white_lilies>
jblack: can you make a paste of your debugging
jottr has quit [Ping timeout: 260 seconds]
clemens3_ has joined #ruby
schneide_ has joined #ruby
pastorinni has joined #ruby
roshanavand has joined #ruby
<jblack>
white_lilies: Sure thing. I just tried wiping my vendor dir to see if that helps, so give me a moment.
banisterfiend has joined #ruby
alfiemax has joined #ruby
jottr has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alpine has quit [Read error: Connection reset by peer]
<jblack>
Gem list shows rake-12.0.0 installed, I have rake pinned at 12.0, bundle install runs cleanly, and bundle exec files on me because rake-12.0.0 can't be found
schneide_ has joined #ruby
naprimer2 has quit [Quit: Leaving]
schneide_ has quit [Ping timeout: 268 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
randomstrangerb has quit [Ping timeout: 276 seconds]
randomstrangerb has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
schneide_ has joined #ruby
nit3rid3 has quit [Quit: Leaving]
sameerynho has joined #ruby
schneide_ has quit [Ping timeout: 256 seconds]
schneide_ has joined #ruby
[Butch] has joined #ruby
cpruitt has quit [Remote host closed the connection]
cek has left #ruby [#ruby]
karapetyan has joined #ruby
troulouliou_div2 has joined #ruby
banisterfiend has joined #ruby
Psybur__ is now known as Psybur
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 256 seconds]
LoggerZZZ has quit [Read error: Connection reset by peer]
<jblack>
white_lilies: Found it. I was using the wrong ruby in my shebang for my script
cpruitt has quit [Remote host closed the connection]
cpruitt has joined #ruby
Vapez has joined #ruby
jblack has quit [Quit: Lost terminal]
vutral|kali has quit [Ping timeout: 268 seconds]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
vutral|kali has joined #ruby
<Gnut>
apeiros: well, okay then
<apeiros>
?
schneide_ has quit [Remote host closed the connection]
<Gnut>
Sorry, just figured it'd be more regexy
<Gnut>
But that works for me
atchoum has joined #ruby
<atchoum>
hi
<apeiros>
hi atchoum
<apeiros>
also, bless you
<apeiros>
(atchoum is the sneezing sound in french, yes?)
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<atchoum>
Thank you.apeiros
<atchoum>
yes.
workmad3 has joined #ruby
<atchoum>
god bless you too.
<atchoum>
and i'm french
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<atchoum>
I am trying to install rails, but I got the following error while trying to install sqlite3: "RDoc is not installed: cannot load such file -- rdoc/rdocRDoc is not installed: cannot load such file -- rdoc/rdoc"
mtkd has quit [Ping timeout: 265 seconds]
<atchoum>
It is strange and I wanted to learn a couple of things about gem. First of all I want to know what is the default path for user installed gems.
<apeiros>
`gem env` gives you all the paths
guille-moe has quit [Ping timeout: 264 seconds]
aurelien has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
alfiemax has joined #ruby
<atchoum>
that's cool
mtkd has joined #ruby
<atchoum>
in that case I installed ruby-rdoc
<atchoum>
it solved my problem :)
<apeiros>
generally you should not manually manipulate stuff at those paths, though
<atchoum>
yes I know, but I want to at least how things are underwear.
<atchoum>
that's a logical concern if you ask me.
banisterfiend has joined #ruby
<atchoum>
:)
workmad3 has quit [Ping timeout: 264 seconds]
schneide_ has joined #ruby
cdg has joined #ruby
<apeiros>
underneath ;-) underwear is clothing
<atchoum>
yes
<atchoum>
it was supposed to be a jok
<apeiros>
ok. I thought language barrier.
<atchoum>
or my joke was not so funny
<atchoum>
but I don't use underneath so often.
<atchoum>
So it's cool I learnt a new useful word.
<atchoum>
how do you install in the user default path (aka not root default) with bundle ?
<atchoum>
I feel uneasy now.
<atchoum>
I hope I not offended you.
<apeiros>
huh? no, you haven't.
<apeiros>
replies on irc might sometimes take a while. people do other stuff :)
<apeiros>
yes, I like jokes.
<apeiros>
if you've properly installed all things, bundle by default will not install for root.
schneide_ has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
<apeiros>
properly = you don't have a root install of ruby to begin with (IMO)
tcopeland has quit [Quit: tcopeland]
<atchoum>
ha ok
cdg has quit [Ping timeout: 240 seconds]
<atchoum>
I have a root install of ruby actually, I thought it was the way to start.
<atchoum>
I'm using archlinux as a distribution.
<atchoum>
Should I uninstall ruby ?
ta_ has quit [Remote host closed the connection]
banisterfiend has quit [Client Quit]
<atchoum>
BTW, in python we often do deployment using /usr/bin/python as the default interpreter, maybe this is not such a common practice with ruby ?
<apeiros>
I haven't had root ruby in years, so I lack knowledge on how to ensure user installs of gems. sorry. but there's probably plenty of resources on the web. or maybe somebody else in here knows.
<atchoum>
I'm listening Marcus Miller.
<atchoum>
ok, I'll look into it apeiros
<atchoum>
thanks for the help
banisterfiend has joined #ruby
<apeiros>
in a gem, you'll write #!/usr/bin/ruby as the shebang. rubygems will substitute that with whatever is appropriate depending on the ruby you install it with.
venmx has joined #ruby
<apeiros>
oy BackEndCoder
<apeiros>
whoops
<apeiros>
premature tab completion :D
<apeiros>
oy banisterfiend!
DTZUZU has joined #ruby
dogweather has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
schneide_ has joined #ruby
orbyt_ has joined #ruby
LastWhisper____ has joined #ruby
catphish has joined #ruby
schneide_ has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
<catphish>
i just want to prefix an integer to a string before sending it to a socket
schneide_ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
white_lilies has joined #ruby
<apeiros>
catphish: I'd benchmark it. but I doubt that there'll be a significant difference.
LoggerZZZ has quit [Remote host closed the connection]
banisterfiend has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
apeiros: let's not do anything we'll regret now
<baweaver>
back away from the repl, slowly
<apeiros>
`mbench 1e5,10,a:->{…},b:->{…}
<apeiros>
`
banisterfiend has quit [Client Quit]
<apeiros>
I should rewrite it to do something similar as benchmark/ips and automatically find a good number of repetitions + set repetitions for stddev
schneide_ has joined #ruby
<catphish>
baweaver: oo thanks!
<catphish>
baweaver: actually that doesn't benchmark appending the string in the latter case
jeffreylevesque_ has quit [Ping timeout: 268 seconds]
ramfjord has joined #ruby
masterasia has joined #ruby
<masterasia>
how would I sort alphabetically in reverse?
<apeiros>
.sort.reverse
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<masterasia>
I see. I was trying to do ['a','b','c'].sort_by {|x, y} y <=> x}
<masterasia>
thinking x <=> y is the default
<apeiros>
sort_by only yields one item
<apeiros>
it would work with sort
<apeiros>
but .sort { |a,b| b <=> b } is almost certainly quite a bit slower than .sort.reverse
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<masterasia>
good catch on that yielding one item
<masterasia>
Thanks!
synthroid has quit []
schneide_ has joined #ruby
ifctj has joined #ruby
goatish has joined #ruby
schneide_ has quit [Ping timeout: 252 seconds]
banisterfiend has joined #ruby
Azure|dc has joined #ruby
Azure has quit [Read error: Connection reset by peer]
alfiemax has quit [Remote host closed the connection]
schneide_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s1detracking has joined #ruby
schneide_ has quit [Ping timeout: 248 seconds]
venmx has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
atchoum has quit [Quit: Konversation terminated!]
atchoum has joined #ruby
x77686d has joined #ruby
schneide_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
ifctj has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
schneide_ has quit [Ping timeout: 256 seconds]
LoggerZZZ has quit [Remote host closed the connection]
jaruga has joined #ruby
cdg has quit [Ping timeout: 268 seconds]
LoggerZZZ has joined #ruby
LoggerZZZ has quit [Remote host closed the connection]
schneide_ has joined #ruby
jeffreylevesque has joined #ruby
<catphish>
is there a mutable version of fixnum?
<catphish>
(a nice wrapper that i can increment)
<havenwood>
catphish: Fixnum is deprecated! :-P
<havenwood>
catphish: Integer
<catphish>
Fixnum is deprecated? :o
<havenwood>
catphish: warning: constant ::Fixnum is deprecated #=> Integer
<havenwood>
catphish: (Since Ruby 2.4.)
John_Ivan has quit [Ping timeout: 256 seconds]
<catphish>
ah, i'm using 2.3
<catphish>
ruby 2.4's Integer is mutable? if so, cool, but i'd prefer something a little more backward compatible
schneide_ has quit [Ping timeout: 248 seconds]
<havenwood>
catphish: No, Integers aren't mutable.
<catphish>
ok
<havenwood>
catphish: Why do you want to mutate an Integer?
<havenwood>
Have a usecase you can show?
vutral|kali has quit [Ping timeout: 276 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
<catphish>
my immediate use case is crappy, i'm using constants to hold a bunch of data that varies, and realised i 1) shouldn't be doing this and 2) can't do this with integers
<catphish>
but it made me wonder if such a thing existed
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
guacamole has quit [Client Quit]
roshanavand has left #ruby [#ruby]
schneide_ has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
comet23 has joined #ruby
jaruga has quit [Quit: jaruga]
<catphish>
it seems like there's be other cases where you'd want to pass an integer by reference
kapil___ has quit [Quit: Connection closed for inactivity]
aguestuser has quit [Remote host closed the connection]