charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
antgel has joined #ruby
vondruch_ has quit [Remote host closed the connection]
vondruch_ has joined #ruby
vondruch_ has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 240 seconds]
vondruch_ has joined #ruby
bronson has joined #ruby
cinayakoshka has left #ruby ["ERC (IRC client for Emacs 25.1.1)"]
moei has joined #ruby
_main_ has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
_main_ has quit [Read error: Connection reset by peer]
__main__ has quit [Read error: Connection reset by peer]
_main_ has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
__main__ has joined #ruby
hahuang65 has joined #ruby
bkxd has joined #ruby
bkxd_ has joined #ruby
hahuang65 has quit [Ping timeout: 246 seconds]
vuoto has joined #ruby
rippa has joined #ruby
jrm2 has joined #ruby
jrm has quit [Ping timeout: 260 seconds]
jrm2 is now known as jrm
patarr has joined #ruby
patarr has quit [Ping timeout: 246 seconds]
vondruch_ has quit [Remote host closed the connection]
vondruch_ has joined #ruby
ubuntu has joined #ruby
ubuntu is now known as Guest8129
<Guest8129>
Is there a ruby equivlant of 'python -i'? i.e. a way to run a ruby file and then not quit the interpreter?
<elomatreb>
Guest8129: With standard irb you can require a local file or a gem with -r, e.g. "irb -r ./test.rb"
bkxd_ has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 255 seconds]
InfinityFye has joined #ruby
<Guest8129>
elomatreb Thanks, but that doesn't seem to retain variables declared in 'test.rb'. Is there a way to hold the prompt open once it's finished reading the file? Similar to requiring byebug and adding a pdb.set_trace() as the last line
cadillac_ has quit [Read error: Connection reset by peer]
<apeiros>
Guest8129: with newer rubies, binding.irb as the last line of your file. with older rubies, use the pry gem and binding.pry
<apeiros>
though I'd use pry with newer rubies too. it's better than irb.
<Guest8129>
apeiros: thanks
<apeiros>
note that you can have that binding.pry/binding.irb anywhere in your code, it doesn't have to be at the end.
<elomatreb>
If you're using pry you can use -e with shell interpolation for that too
dionysus69 has quit [Ping timeout: 240 seconds]
<elomatreb>
I.e. `pry -e "$(cat somefile.rb)"` or something like that
<elomatreb>
But probably not the best strategy, as it will print all lines in the file and their return values
cadillac_ has joined #ruby
apparition has joined #ruby
alex`` has joined #ruby
Dimik has quit [Ping timeout: 268 seconds]
MissionCritical has quit [Ping timeout: 260 seconds]
blznblzn2 has quit [Quit: Leaving]
Mission-Critical has joined #ruby
marr has joined #ruby
mim1k has joined #ruby
marr has quit [Remote host closed the connection]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
oleo has quit [Ping timeout: 240 seconds]
Puffball has quit [Remote host closed the connection]
dasher00 has quit [Ping timeout: 260 seconds]
oleo has joined #ruby
Puffball has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
Puffball has quit [Remote host closed the connection]
dasher00 has joined #ruby
mim1k has joined #ruby
Puffball has joined #ruby
Mission-Critical has quit [Ping timeout: 268 seconds]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
_aeris_ has quit [Excess Flood]
_aeris_ has joined #ruby
_aeris_ has quit [Excess Flood]
_aeris_ has joined #ruby
_aeris_ has quit [Excess Flood]
_aeris_ has joined #ruby
Puffball has quit [Remote host closed the connection]
_aeris_ has quit [Excess Flood]
_aeris_ has joined #ruby
Puffball has joined #ruby
_aeris_ has quit [Excess Flood]
_aeris_ has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
MissionCritical has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
pwnd_nsfw` has joined #ruby
s1kx has joined #ruby
pwnd_nsfw has quit [Ping timeout: 255 seconds]
konsolebox has joined #ruby
smulverine has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
smulverine has quit [Quit: WeeChat 1.9]
mim1k has joined #ruby
shinnya has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
mintux has joined #ruby
mintux has left #ruby [#ruby]
bronson has quit [Ping timeout: 246 seconds]
smulverine has joined #ruby
d4ybl1nd has joined #ruby
mim1k has joined #ruby
hahuang65 has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
nadir has quit []
mim1k has quit [Ping timeout: 246 seconds]
mim1k has joined #ruby
patarr has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
quiller has quit [Ping timeout: 260 seconds]
patarr has quit [Ping timeout: 248 seconds]
quiller has joined #ruby
jirido has joined #ruby
<jirido>
Hi. How come that when using the ruby-gem 'gist' a posting script, i can get Error: Can't open display: (null)
<jirido>
it is ment to give an adress to command line right.. before i had this problem when using with the -s swich but now its even if i do a clean pipe to gist
chat____4 has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
rohitpaulk has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
tunaBee_2 has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
smulverine has quit [Quit: WeeChat 1.9]
guardianx has quit [Read error: Connection reset by peer]
TheBloke has quit [Ping timeout: 260 seconds]
TheBloke- has joined #ruby
jameser has joined #ruby
normie1 has joined #ruby
smulverine has joined #ruby
andrzejku has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
romankapitonov has quit [Read error: Connection reset by peer]
tau has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
tau has left #ruby [#ruby]
milardovich has quit [Remote host closed the connection]
rohitpaulk has quit [Ping timeout: 260 seconds]
romankapitonov has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romankapitonov has quit [Read error: Connection reset by peer]
<dionysus69>
I am getting this Your bundle only supports platforms [] but your local platforms are ["ruby", "x86_64-linux"], and there's no compatible match between those two lists
<dionysus69>
any ideas whats going on?
BTRE has joined #ruby
romankapitonov has joined #ruby
deep-book-gk_ has joined #ruby
deep-book-gk_ has left #ruby [#ruby]
<dionysus69>
i am having some very buggy behaviour, I deleted rvm 10 times already and still cant unintall all gems, when I reinstall rvm and remove rvm dir fully, when I do bundle install, it still sees some mysterious gems from somewhere and it doesnt actually install them, but when I do gem list it only shows default ones.
<dionysus69>
i even uninstalled system ruby2.1
deep-book-gk_ has joined #ruby
Murda has joined #ruby
ascarter_ has joined #ruby
deep-book-gk_ has left #ruby [#ruby]
Murda has quit [Client Quit]
Murda has joined #ruby
mim1k has joined #ruby
ascarte__ has joined #ruby
antgel has quit [Ping timeout: 268 seconds]
ascarter_ has quit [Ping timeout: 260 seconds]
romankapitonov has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
alveric2 has quit [Quit: WeeChat 1.9]
cadillac_ has quit [Read error: Connection reset by peer]
jdawgaz has quit [Client Quit]
rgtk has quit [Ping timeout: 255 seconds]
blackwind_123 has joined #ruby
romankapitonov has joined #ruby
jdawgaz has joined #ruby
cadillac_ has joined #ruby
romankapitonov has quit [Read error: Connection reset by peer]
romankapitonov has joined #ruby
boombox_ has joined #ruby
romankapitonov has quit [Read error: Connection reset by peer]
romankapitonov has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
AAA has quit [Ping timeout: 248 seconds]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
AAA has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
TheBloke has quit [Ping timeout: 260 seconds]
TheBloke has joined #ruby
boombox_ has quit [Remote host closed the connection]
AAA has quit [Ping timeout: 260 seconds]
jdawgaz has joined #ruby
Guest82335 has quit [Changing host]
Guest82335 has joined #ruby
Guest82335 is now known as Nicmavr
rohitpaulk has joined #ruby
dionysus69 has quit [Remote host closed the connection]
vondruch_ has quit [Remote host closed the connection]
dionysus69 has joined #ruby
vondruch_ has joined #ruby
t-recx has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Nicmavr has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
bronson has joined #ruby
milardovich has joined #ruby
alveric1 has joined #ruby
ascarte__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DLSteve has left #ruby ["All rise, the honorable DLSteve has left the channel."]
A124 has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 268 seconds]
ascarter has joined #ruby
ascarter has quit [Client Quit]
<havenwood>
bawsky: Congrats on cutting your first gem!
mim1k has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
Timba-as has joined #ruby
hahuang65 has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
blackwind_123 has quit [Quit: Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
high_fiver has joined #ruby
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
gothicsouth has joined #ruby
rohitpaulk has quit [Ping timeout: 260 seconds]
jdawgaz has joined #ruby
cam27 has quit [Quit: cam27]
nadir has quit [Quit: Connection closed for inactivity]
rohitpaulk has joined #ruby
mim1k has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
_sfiguser has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 258 seconds]
high_fiver has quit [Ping timeout: 260 seconds]
high_fiver has joined #ruby
rkellermeyer has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
_sfiguser has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rundor has quit [Remote host closed the connection]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
Man715 has joined #ruby
<Man715>
Hello everyone!
<Papierkorb>
Yo
zacts is now known as reasoningircbot
reasoningircbot is now known as zacts
nowhere_man has joined #ruby
<Man715>
Anyone have any ideas on how I could use binary search for something like 001.002.003?
<Papierkorb>
Man715: What do you mean exactly? What kind of data do you want to search?
iomotoko has quit [Ping timeout: 260 seconds]
<Man715>
I am searching through a document which is organized using that scheme. I am trying to find specific tasks such as task 001.002.003.
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Man715>
However, it takes me about 1 min to search if I look one at a time.
rwb has quit [Ping timeout: 260 seconds]
<Papierkorb>
what scheme? Is that a string of no real form, or is it three numbers with periods, or something else?
<Man715>
The other problem is that in the data set there are non numbers that I want to ignore (that part I have figured out.
zacts has quit [Quit: WeeChat 1.9]
<Man715>
Well it is a heading /sub heading 001 is a heading 002 a sub and 003 a sub of the sub.
<Papierkorb>
Have you tried using a Hash?
<Papierkorb>
{ "title" => "line number or whatever" }
<Papierkorb>
Do you just want to find something, or what are your requirements?
<Man715>
I am searching through an excel file.
<Man715>
I need to find the task and see if there is a completed date for that task.
<Papierkorb>
use Hash
<Man715>
so the row would look something like this 001.002.032 <task name> date started: 12/12/12 date completed 12/24/12
mim1k has joined #ruby
<Papierkorb>
There's Array#bsearch, but really, try Hash first.
tempate has joined #ruby
snowcrshd has joined #ruby
<tempate>
Hello, is there a Ruby on Rails channel?
kobain has joined #ruby
<Papierkorb>
?rails tempate
<ruby[bot]>
tempate: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<Papierkorb>
Indeed there is
* tempate
feels stupid for just trying ##rubyonrails
<tempate>
thank you Papierkorb
mim1k has quit [Ping timeout: 240 seconds]
vondruch_ has quit [Remote host closed the connection]
vondruch_ has joined #ruby
creshiem has joined #ruby
nowhere_man has quit [Quit: Konversation terminated!]
zacts has joined #ruby
nowhere_man has joined #ruby
creshiem has quit [Client Quit]
creshiem has joined #ruby
naprimer3 is now known as fi
fi is now known as esac
rkellermeyer has quit [Quit: rkellermeyer]
esac is now known as naprimer
creshiem has quit [Client Quit]
creshiem has joined #ruby
milardovich has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
rubylegend2092 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
roshanavand has joined #ruby
Man715 has quit [Quit: Page closed]
mim1k has quit [Ping timeout: 268 seconds]
quobo has joined #ruby
creshiem has quit [Quit: WeeChat 1.9]
ElFerna has joined #ruby
dionysus69 has joined #ruby
t-recx has quit [Read error: Connection reset by peer]
t-recx has joined #ruby
nadir has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
AAA has joined #ruby
jdawgaz has joined #ruby
mim1k has joined #ruby
hahuang65 has joined #ruby
rgtk has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
herbmillerjr has joined #ruby
t-recx has quit [Ping timeout: 248 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
iomotoko has joined #ruby
TheBloke has quit [Remote host closed the connection]
TheBloke has joined #ruby
t-recx has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ElFerna has quit [Quit: WeeChat 1.9]
pwned has quit [Ping timeout: 260 seconds]
AAA has quit [Ping timeout: 240 seconds]
Murda has quit [Quit: Murda]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
coenraad has joined #ruby
zacts is now known as grb
grb is now known as zacts
bronson has quit [Remote host closed the connection]
vondruch_ has quit [Remote host closed the connection]
vondruch_ has joined #ruby
mim1k has joined #ruby
TheBloke has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
Timba-as has quit [Quit: Be back later ...]
TheBloke has joined #ruby
alex`` has quit [Quit: WeeChat 1.9]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
s1kx has quit [Ping timeout: 258 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
alex`` has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
ElFerna has joined #ruby
nowhere_man has joined #ruby
dennisvennink has joined #ruby
ur5us has quit [Remote host closed the connection]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 240 seconds]
cttttt has quit [Remote host closed the connection]
Tony-St4rk has quit [Remote host closed the connection]
ElFerna has joined #ruby
cardoni has joined #ruby
jxf has joined #ruby
Tony-St4rk has joined #ruby
kireevco has joined #ruby
wsmoak has joined #ruby
dn`_ has joined #ruby
mim1k has joined #ruby
roshanavand has quit [Quit: roshanavand]
boxrick1 has joined #ruby
cseder has joined #ruby
andersh has joined #ruby
solidsnack has joined #ruby
cttttt has joined #ruby
dn` has quit [Read error: Connection reset by peer]
dn`_ is now known as dn`
pwizard has joined #ruby
discopatrick has joined #ruby
peteretep has joined #ruby
t-richards has joined #ruby
dviola has joined #ruby
<haylon>
Has anyone used Arbre before? I'm waisting engery on finding a Ruby DSL that generates HTML5 web pages without me actually writing HTML a whole lot or having to worry about the </>'s
mim1k has quit [Ping timeout: 248 seconds]
rann has joined #ruby
nopolitica has joined #ruby
craysiii has joined #ruby
millerti has joined #ruby
KnownSyntax has joined #ruby
bronson has joined #ruby
mim1k has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
sepp2k has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 248 seconds]
TomyLobo has quit [Ping timeout: 255 seconds]
sepp2k has joined #ruby
<Papierkorb>
haylon: I like HAML, others like Slim more .. But slim is kinda like haml. Saves you from much of the HTML non-sense. Never heard of Arbre before.
vondruch_ has quit [Remote host closed the connection]
vondruch_ has quit [Remote host closed the connection]
vondruch_ has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has quit [Read error: Connection reset by peer]
cseder has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]
mim1k has joined #ruby
parsnip has joined #ruby
vondruch_ has quit [Remote host closed the connection]
vondruch_ has joined #ruby
roamingdog has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
<parsnip>
hello, having some issue iwth bigdecimal i think, when trying to install ledger_web. ruby version is 2.3 dev, bigdecimal version seems to be 1.2.8
TomyLobo has joined #ruby
hutch34 has joined #ruby
<havenwood>
parsnip: BigDecimal is in the stdlib but it's actually shipped as a default gem. While you can't uninstall BigDecimal, you can update it without having to update the rest of Ruby.