apeiros changed the topic of #ruby-lang to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste code on https://gist.github.com
LMity has quit [Ping timeout: 265 seconds]
gwendall has quit [Ping timeout: 272 seconds]
caseydriscoll has joined #ruby-lang
caseydriscoll has quit [Ping timeout: 244 seconds]
araujo has quit [Quit: Leaving]
riotjones has joined #ruby-lang
quintinadam has quit []
lytol has joined #ruby-lang
riotjones has quit [Ping timeout: 248 seconds]
cpt_yossarian has quit [Remote host closed the connection]
lytol has quit [Ping timeout: 255 seconds]
roamingdog has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby-lang
semperfried76 has quit [Ping timeout: 256 seconds]
hahuang65 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 255 seconds]
the_real_intinig has quit [Ping timeout: 256 seconds]
roamingdog has joined #ruby-lang
semperfried76 has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
kfpratt has quit [Remote host closed the connection]
caseydriscoll has joined #ruby-lang
djellemah_ has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
caseydriscoll has joined #ruby-lang
djellemah has quit [Ping timeout: 250 seconds]
mustmodify_ has joined #ruby-lang
charliesome has joined #ruby-lang
skade has quit [Ping timeout: 272 seconds]
caseydriscoll has quit [Remote host closed the connection]
malconis has quit [Ping timeout: 252 seconds]
caseydriscoll has joined #ruby-lang
malconis has joined #ruby-lang
davispuh has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
mustmodify_ has left #ruby-lang [#ruby-lang]
gwendall has joined #ruby-lang
intinig has joined #ruby-lang
bruno- has quit [Ping timeout: 255 seconds]
intinig has quit [Ping timeout: 245 seconds]
gwendall has quit [Ping timeout: 272 seconds]
sarahdashdashp has joined #ruby-lang
AlexAltea has quit [Ping timeout: 272 seconds]
intinig has joined #ruby-lang
intinig has quit [Ping timeout: 252 seconds]
Musashi007 has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
workmad3 has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
lytol has joined #ruby-lang
sarahdashdashp has quit [Quit: sarahdashdashp]
shinnya has joined #ruby-lang
lytol has quit [Ping timeout: 244 seconds]
hahuang65 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
red_horned_rihno has quit [Ping timeout: 264 seconds]
red_horned_rihno has joined #ruby-lang
shinnya has quit [Ping timeout: 264 seconds]
roamingdog has quit [Remote host closed the connection]
intinig has joined #ruby-lang
intinig has quit [Ping timeout: 256 seconds]
roamingdog has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
chouhoulis has quit [Remote host closed the connection]
roamingdog has quit [Ping timeout: 250 seconds]
gwendall has joined #ruby-lang
Respek has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby-lang
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
havenn has quit [Ping timeout: 255 seconds]
gix has quit [Ping timeout: 256 seconds]
sarahdashdashp has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sarahdashdashp has quit [Client Quit]
gix has joined #ruby-lang
dorei has quit []
sarahdashdashp has joined #ruby-lang
intinig has joined #ruby-lang
roamingdog has joined #ruby-lang
malconis has quit [Read error: Connection reset by peer]
malconis has joined #ruby-lang
musl has quit [Ping timeout: 244 seconds]
intinig has quit [Ping timeout: 264 seconds]
lytol has joined #ruby-lang
Miphix has joined #ruby-lang
roamingdog has quit [Ping timeout: 256 seconds]
lytol has quit [Ping timeout: 244 seconds]
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 255 seconds]
cornerma1 is now known as cornerman
iliketurtles has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has joined #ruby-lang
charliesome has quit [Quit: zzz]
musl has joined #ruby-lang
charliesome has joined #ruby-lang
mcclurmc has joined #ruby-lang
mcclurmc_ has quit [Ping timeout: 248 seconds]
charliesome_ has joined #ruby-lang
sarahdashdashp has quit [Quit: sarahdashdashp]
charliesome has quit [Ping timeout: 256 seconds]
caseydriscoll has joined #ruby-lang
charliesome_ has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby-lang
intinig has joined #ruby-lang
caseydriscoll has quit [Ping timeout: 246 seconds]
red_horned_rihno has quit [Ping timeout: 252 seconds]
gwendall has joined #ruby-lang
bruno- has joined #ruby-lang
intinig has quit [Ping timeout: 252 seconds]
roamingdog has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 256 seconds]
red_horned_rihno has joined #ruby-lang
zekriad has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lytol has joined #ruby-lang
Respek has quit [Quit: gone to sleep. ZZZzzz…]
lytol has quit [Ping timeout: 252 seconds]
dabradley has quit [Ping timeout: 256 seconds]
robbyoconnor has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
robbyoconnor has joined #ruby-lang
dabradley has joined #ruby-lang
ruby-lang770 has joined #ruby-lang
ruby-lang770 has quit [Client Quit]
Miphix has quit [Ping timeout: 250 seconds]
Miphix has joined #ruby-lang
knu0 has quit [Remote host closed the connection]
Miphix has quit [Quit: Leaving]
loincloth has joined #ruby-lang
knu has joined #ruby-lang
loincloth has quit [Ping timeout: 250 seconds]
robbyoconnor has quit [Remote host closed the connection]
leat has joined #ruby-lang
leat has quit [Remote host closed the connection]
symm- has joined #ruby-lang
robbyoconnor has joined #ruby-lang
leat has joined #ruby-lang
LMity has joined #ruby-lang
robbyoconnor has quit [Remote host closed the connection]
intinig has joined #ruby-lang
tsujp has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
intinig has quit [Ping timeout: 250 seconds]
chinmay_dd has joined #ruby-lang
LMity has quit [Ping timeout: 272 seconds]
nofxx has quit [Ping timeout: 244 seconds]
rippa has joined #ruby-lang
riotjones has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
riotjones has quit [Ping timeout: 264 seconds]
nedp has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
leat has quit [Ping timeout: 252 seconds]
Miphix has joined #ruby-lang
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 248 seconds]
leat has joined #ruby-lang
bruno- has joined #ruby-lang
amclain has quit [Quit: Leaving]
ledestin has joined #ruby-lang
bruno- has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby-lang
leat has quit [Ping timeout: 264 seconds]
red_horned_rihno has quit [Ping timeout: 246 seconds]
leat has joined #ruby-lang
chouhoulis has quit [Ping timeout: 265 seconds]
lytol has joined #ruby-lang
intinig has joined #ruby-lang
lytol has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby-lang
red_horned_rihno has joined #ruby-lang
intinig has quit [Ping timeout: 264 seconds]
dellavg_ has joined #ruby-lang
charliesome has quit [Ping timeout: 256 seconds]
djellemah has joined #ruby-lang
leat has quit [Ping timeout: 255 seconds]
djellemah_ has quit [Ping timeout: 252 seconds]
skade has joined #ruby-lang
symm- has quit [Ping timeout: 250 seconds]
piotrj has joined #ruby-lang
nedp has quit [Ping timeout: 248 seconds]
leat has joined #ruby-lang
Iskarlar has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
intinig has joined #ruby-lang
fusillicode has joined #ruby-lang
fusillicode has quit [Read error: Connection reset by peer]
Guest24 has quit [Remote host closed the connection]
intinig has quit [Ping timeout: 256 seconds]
lytol has joined #ruby-lang
lytol has quit [Ping timeout: 255 seconds]
roamingdog has joined #ruby-lang
gwendall has joined #ruby-lang
semperfried76 has quit [Quit: Be back later ...]
gwendall has quit [Ping timeout: 272 seconds]
piotrj has quit [Remote host closed the connection]
ammar has joined #ruby-lang
semperfried76 has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
arBmind has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
K0stas has joined #ruby-lang
relix has joined #ruby-lang
piotrj has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
leat has quit [Ping timeout: 272 seconds]
AlexAltea has joined #ruby-lang
leat has joined #ruby-lang
sarkyniin has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
intinig has joined #ruby-lang
leat has quit [Ping timeout: 272 seconds]
lytol has joined #ruby-lang
intinig has quit [Ping timeout: 264 seconds]
lytol has quit [Ping timeout: 244 seconds]
red_horned_rihno has quit [Ping timeout: 248 seconds]
relix has joined #ruby-lang
relix has quit [Client Quit]
red_horned_rihno has joined #ruby-lang
charliesome has joined #ruby-lang
relix has joined #ruby-lang
eval-in_ has quit [Remote host closed the connection]
eval-in has joined #ruby-lang
piotrj has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stardiviner has quit [Quit: Weird in coding now, or make love, only two things push me away from IRC.]
gwendall has joined #ruby-lang
red_horned_rihno has quit [Ping timeout: 250 seconds]
chinmay_dd has quit [Quit: Leaving]
bruno- has joined #ruby-lang
leat has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 264 seconds]
dellavg_ has quit [Ping timeout: 264 seconds]
pico-pete has joined #ruby-lang
relix has joined #ruby-lang
K0stas has quit [Quit: Leaving]
leat has quit [Ping timeout: 250 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby-lang
stamina has joined #ruby-lang
lytol has joined #ruby-lang
intinig has joined #ruby-lang
red_horned_rihno has joined #ruby-lang
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang65 has quit [Ping timeout: 252 seconds]
red_horned_rihno has quit [Max SendQ exceeded]
lytol has quit [Ping timeout: 256 seconds]
leat has joined #ruby-lang
leat has quit [Remote host closed the connection]
red_horned_rihno has joined #ruby-lang
charliesome has quit [Quit: zzz]
rikkipitt has joined #ruby-lang
intinig has quit [Ping timeout: 252 seconds]
leat has joined #ruby-lang
loincloth has joined #ruby-lang
loincloth has quit [Read error: Connection reset by peer]
stef204 has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
piotrj has joined #ruby-lang
leat has quit [Ping timeout: 264 seconds]
leat has joined #ruby-lang
piotrj has quit [Ping timeout: 252 seconds]
jefus__ has joined #ruby-lang
relix has joined #ruby-lang
red_horned_rihno has quit [Remote host closed the connection]
jefus_ has quit [Ping timeout: 248 seconds]
leat has quit [Ping timeout: 264 seconds]
stamina has quit [Quit: WeeChat 1.1.1]
leat has joined #ruby-lang
lytol has joined #ruby-lang
intinig has joined #ruby-lang
lytol has quit [Ping timeout: 252 seconds]
sankaber has joined #ruby-lang
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
intinig has quit [Ping timeout: 244 seconds]
relix has joined #ruby-lang
relix has quit [Client Quit]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
matp has quit [Remote host closed the connection]
adude has joined #ruby-lang
<adude> does anybody know how the below works?
<adude> variable = <<END some string END
Contigi has quit [Ping timeout: 252 seconds]
<adude> I don't understand the <<END here
<apeiros> adude: that's called a here-doc
<tobiasvl> <<WHATEVER string string string more string WHATEVER
<apeiros> <<END is the starting delimiter, and END is the ending delimiter
<tobiasvl> the string can span multiple lines too
<apeiros> note that to ruby, the whole string is in <<END. e.g. this is valid: x = <<END.downcase \n SOME STRING \n END
<tobiasvl> apeiros: uh, is it? not here
<adude> thank you apeiros and tobiasvl
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> tobiasvl: totally: https://eval.in/308650
<tobiasvl> yeah ok it works after all
<tobiasvl> hehe
matp has joined #ruby-lang
piotrj has joined #ruby-lang
ledestin has joined #ruby-lang
Miphix has quit [Quit: Leaving]
hahuang65 has joined #ruby-lang
cpach_ has joined #ruby-lang
LMity has joined #ruby-lang
cpach has quit [Ping timeout: 265 seconds]
apt-get_ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 248 seconds]
sarkyniin has quit [Ping timeout: 256 seconds]
Miphix has joined #ruby-lang
apt-get_ has quit [Remote host closed the connection]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby-lang
skade has joined #ruby-lang
lytol has joined #ruby-lang
LMity has quit [Ping timeout: 244 seconds]
piotrj has quit [Remote host closed the connection]
adude has quit [Ping timeout: 265 seconds]
lytol has quit [Ping timeout: 256 seconds]
intinig has joined #ruby-lang
Mark-6ma has joined #ruby-lang
intinig has quit [Ping timeout: 256 seconds]
gwendall has joined #ruby-lang
jgpawletko has joined #ruby-lang
caseydriscoll has joined #ruby-lang
jgpawletko has quit [Client Quit]
gwendall has quit [Ping timeout: 272 seconds]
jgpawletko has joined #ruby-lang
jgpawletko has quit [Client Quit]
skade has quit [Read error: Connection reset by peer]
shazaum has joined #ruby-lang
skade has joined #ruby-lang
lytol has joined #ruby-lang
symm- has joined #ruby-lang
lytol has quit [Ping timeout: 244 seconds]
piotrj has joined #ruby-lang
bruno- has joined #ruby-lang
bruno- is now known as Guest76392
intinig has joined #ruby-lang
piotrj has quit [Ping timeout: 256 seconds]
Guest76392 has quit [Ping timeout: 256 seconds]
intinig has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby-lang
Mark-6ma has quit [Quit: -]
rikkipitt has quit [Remote host closed the connection]
enebo has joined #ruby-lang
hahuang65 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang65 has quit [Ping timeout: 264 seconds]
stef204 has joined #ruby-lang
malconis has joined #ruby-lang
relix has joined #ruby-lang
b_hoffman has joined #ruby-lang
skade has joined #ruby-lang
bruno- has joined #ruby-lang
Musashi007 has joined #ruby-lang
bruno- has quit [Ping timeout: 248 seconds]
intinig has joined #ruby-lang
sarkyniin has joined #ruby-lang
gwendall has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gwendall has quit [Ping timeout: 250 seconds]
intinig has quit [Ping timeout: 252 seconds]
loincloth has joined #ruby-lang
loincloth has quit [Read error: Connection reset by peer]
seank_ has quit []
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
roamingdog has joined #ruby-lang
seank_ has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
stef204 has quit [Remote host closed the connection]
stef204 has joined #ruby-lang
gwendall has joined #ruby-lang
lytol has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
lytol has quit [Ping timeout: 255 seconds]
Contigi has joined #ruby-lang
stef204 has quit [Remote host closed the connection]
stef204 has joined #ruby-lang
apt-get_ has joined #ruby-lang
dagda1 has quit [Ping timeout: 264 seconds]
dagda1 has joined #ruby-lang
gwendall has quit [Ping timeout: 256 seconds]
sarkyniin has quit [Ping timeout: 264 seconds]
leat has quit [Ping timeout: 248 seconds]
leat has joined #ruby-lang
hahuang65 has joined #ruby-lang
intinig has joined #ruby-lang
skade has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 264 seconds]
intinig has quit [Ping timeout: 244 seconds]
leat has quit [Ping timeout: 264 seconds]
semperfried76 has quit [Quit: Be back later ...]
leat has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
_Poet_ has joined #ruby-lang
<_Poet_> hey folks, I’m new to ruby and trying to write a simple function that removes apostrophes from strings
<_Poet_> (assuming there isn’t an s following the apostrophe), was doing it using a basic while loop referencing string[idx]
<jhass> .gsub might be easiest though
relix has joined #ruby-lang
<_Poet_> here’s the current one i’m using, i’m not entirely sure why the construction doesn’t work
cornerma1 has joined #ruby-lang
<_Poet_> I’ll take a look at .gsub though
<_Poet_> I’ve been in ruby for less than a week basically, so I’m still on realllly simple constructions
<jhass> that thingy doesn't load
<jhass> use gist.github.com
<_Poet_> ok
nofxx has joined #ruby-lang
dellavg_ has joined #ruby-lang
Respek has joined #ruby-lang
cornerman has quit [Ping timeout: 248 seconds]
cornerma1 is now known as cornerman
<jhass> >> "foo 'bar's' baz".gsub(/'(?!s)/, "")
<eval-in> jhass => "foo bar's baz" (https://eval.in/308687)
<_Poet_> but thanks
<jhass> _Poet_: mh, that code should say "undefined variable or method s"
<_Poet_> yeah, it does
<jhass> >> 's' != s
<eval-in> jhass => undefined local variable or method `s' for main:Object (NameError) ... (https://eval.in/308688)
<_Poet_> I added quotes around the s and now it’s
rikkipitt has joined #ruby-lang
<_Poet_> ah got it!
[H]unt3r has joined #ruby-lang
_Poet_ has left #ruby-lang [#ruby-lang]
bruno- has joined #ruby-lang
|jemc| has joined #ruby-lang
<nofxx> Anyone getting 'undefined method `add_builtin_type'' with Psych? need to uninstall v2.0.13 everytime .. =/
bruno- has quit [Ping timeout: 246 seconds]
piotrj has joined #ruby-lang
bruno- has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
lytol has joined #ruby-lang
odious has joined #ruby-lang
<odious> hi... my ruby and homebrew are both borked and I can't figure out how to fix one when the other is broken... can someone point me in the right direction?
<odious> Essentially, what do I do when I have nothing that works correctly?
<odious> I'm on OS X Yosemite
havenwood has joined #ruby-lang
piotrj has quit [Remote host closed the connection]
Vivex_ has joined #ruby-lang
<jhass> I have no experience with OS X or homebrew, but how is your Ruby broken?
piotrj has joined #ruby-lang
<nofxx> odious, rm -rf Cellar and start again with homebrew, easier
<nofxx> just forgot where it is... /usr/Cellar ?
<havenwood> /usr/local/Cellar
lytol has quit [Ping timeout: 256 seconds]
Vivex has quit [Ping timeout: 244 seconds]
KINGSABRI has joined #ruby-lang
<KINGSABRI> Good day!
<odious> Do you mean /usr/bin/Library?
wicope has joined #ruby-lang
amclain has joined #ruby-lang
<havenwood> odious: What's the issue you're running into?
<odious> I can tell you now that I'm not going to be able to reinstall homebrew because homebrew uses ruby to install and when I just type "ruby" into the terminal I get "<internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)"
<odious> its a really borked installation
intinig has joined #ruby-lang
<havenwood> odious: What do you get for?: which ruby
<KINGSABRI> Is there any real difference between net/dns gem and resolv std lib ?
<odious> I get /usr/bin/ruby
<havenwood> odious: Homebrew uses your system Ruby. So the `ruby` command not working from Terminal doesn't necessary mean brew won't work.
<odious> but the command is "ruby -e ${some stuff}"
<jhass> odious: and: which gem
<odious> how can that possibly work if "ruby" doesn't?
<odious> I get /usr/bin/gem
<havenwood> odious: How about?: gem which rubygems
<odious> havenwood: I get "-sh: /usr/bin/gem: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory"
<odious> like I said, there is no working part of this environment
<odious> I would reinstall my OS but its a work computer
<odious> fortunately ruby/rails is just a side thing for me, my work stuff is in Java and that's working correctly
intinig has quit [Ping timeout: 245 seconds]
semperfried76 has joined #ruby-lang
<havenwood> odious: So it's possible someone went around deleting parts of system Ruby? :O
<odious> yeah my friend did that
<odious> I told her, "If you want me to use RoR for this project with you you need to install it cause I don't want to deal with that"
<odious> and now everything's broken
<odious> I told her after that "well good luck on this project on your own cause apparently I'll never have RoR on this computer"
<odious> sorry, I'm a bit pissed at her
<odious> but anyway, if the system ruby is borked is there a way to recover? or will this computer simply never run anything ruby related?
shazaum has quit [Quit: This computer has gone to sleep]
chouhoulis has joined #ruby-lang
lytol has joined #ruby-lang
<havenwood> odious: You could repair system Ruby from the OS X package but you can use any other Ruby you want to install without doing that.
rikkipitt has quit [Remote host closed the connection]
<jhass> why would you randomly delete stuff to "fix something" oO
<havenwood> odious: It looks like just gem was deleted, so you can also use: --disable-gems
<havenwood> odious: ruby --disable-gems -e "puts 'Hello, world!'"
<odious> havenwood: --disable-gems on which command? homebrew?
<havenwood> odious: Ruby, you may have missed my example ^.
<havenwood> odious: Have you tried installing Homebrew?
<odious> havenwood: -sh: !'"}: event not found
chouhoulis has quit [Ping timeout: 255 seconds]
<havenwood> odious: What version of OS X are you on?
<odious> havenwood: okay I ran ruby --disable-gems -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
<havenwood> It looked like a Mavericks path you showed. If so... update to Yosimite for an easy fix for you system Ruby!
<odious> okay homebrew installed okay but I still get "/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby: bad interpreter: No such file or directory" on brew commands
<odious> havenwood: yosemite
<odious> no I'm already on yosemite
<havenwood> Aha.
<odious> I had a working homebrew before the upgrade
<havenwood> odious: It runs on system ruby and someone nuked part of that package from orbit.
<havenwood> odious: I'd probably open up the Yosimite install package with Pacifist and reinstall Ruby.framework.
Respek has quit [Quit: gone to sleep. ZZZzzz…]
<havenwood> odious: Homebrew likely isn't going to work properly if system Ruby is trashed. You could install another Ruby and point Homebrew at it, but I'd personally just fix the system.
<odious> so is there a way to get any of these parts to work again?
<odious> how do I fix the system?
<odious> oh sorry just read that
<odious> ugh
rikkipitt has joined #ruby-lang
<odious> at this point I'd rather just say that ruby is not the langauge for me
<odious> the #1 thing I can't stand about programming is getting the environment set up
<odious> that why I like javascript, as terrible a language as it is
<jhass> because somebody thought it's a good idea to delete some core libraries?
<havenwood> odious: We can help you get Ruby setup really quickly. But a system package has been screwed up, so things depending on it will also be screwed up.
<havenwood> odious: This would be the same in any language.
hahuang65 has joined #ruby-lang
<jhass> yeah, blaming the language for not working when parts of got deleted is not very logical tbh
<havenwood> odious: Though cherry picking just Ruby.framework would be really quick, I'd worry other things were deleted and would suggest you roll back before the mayhem or boot in recovery mode and reinstall Yosemite if you have some time.
<nofxx> odious, not to mention you'll need that homebrew to install node or something js
<havenwood> odious: It's really not fair to blame Ruby for someone trampling over system files. Don't give folk who'll do that root!
<nofxx> odious, another thing: problably a lot of other stuff is going to happen as you don't know what was deleted. Save your files, reinstall yosemite, won't take more than 30 minutes.
odious has quit [Ping timeout: 246 seconds]
b_hoffman has joined #ruby-lang
hahuang65 has quit [Ping timeout: 252 seconds]
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
rikkipitt has quit [Remote host closed the connection]
yxhuvvd has quit [Ping timeout: 272 seconds]
yxhuvvd has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby-lang
zekriad has joined #ruby-lang
stef204 has quit [Remote host closed the connection]
stef204 has joined #ruby-lang
zekriad has quit [Client Quit]
intinig has joined #ruby-lang
[H]unt3r has quit [Quit: Leaving]
ledestin has joined #ruby-lang
intinig has quit [Ping timeout: 250 seconds]
jolg42 has joined #ruby-lang
tsujp has quit [Quit: tsujp is outta here]
roamingdog has quit [Remote host closed the connection]
LMity has joined #ruby-lang
djbkd has joined #ruby-lang
lytol has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
enebo has quit [Quit: enebo]
charliesome has quit [Quit: zzz]
loincloth has joined #ruby-lang
piotrj has quit [Ping timeout: 256 seconds]
loincloth has quit [Read error: Connection reset by peer]
Asher has quit [Quit: Leaving.]
intinig has joined #ruby-lang
LMity has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby-lang
intinig has quit [Ping timeout: 265 seconds]
hahuang65 has quit [Ping timeout: 250 seconds]
maxim has joined #ruby-lang
maxim has quit [Client Quit]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
b_hoffman has quit [Quit: b_hoffman]
KINGSABRI has quit [Quit: Konversation terminated!]
iliketurtles has joined #ruby-lang
roamingdog has joined #ruby-lang
lytol has joined #ruby-lang
piotrj has joined #ruby-lang
roamingdog has quit [Ping timeout: 264 seconds]
lytol has quit [Ping timeout: 255 seconds]
roamingdog has joined #ruby-lang
sarahdashdashp has joined #ruby-lang
Respek has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
roamingdog has quit [Read error: No route to host]
roamingdog has joined #ruby-lang
fusillicode has joined #ruby-lang
symm- has quit [Ping timeout: 272 seconds]
Missphoenix has joined #ruby-lang
LMity has joined #ruby-lang
Miphix has quit [Ping timeout: 264 seconds]
benanne has joined #ruby-lang
lapide_viridi has joined #ruby-lang
|jemc| has quit [Remote host closed the connection]
sarahdashdashp has quit [Quit: sarahdashdashp]
iliketurtles has joined #ruby-lang
apt-get_ has quit [Remote host closed the connection]
lytol has joined #ruby-lang
mattyohe has joined #ruby-lang
lapide_viridi has quit [Client Quit]
havenwood has quit []
LMity has quit [Ping timeout: 246 seconds]
intinig has joined #ruby-lang
b_hoffman has joined #ruby-lang
intinig has quit [Ping timeout: 250 seconds]
riotjones has joined #ruby-lang
LMity has joined #ruby-lang
caseydri_ has joined #ruby-lang
caseydriscoll has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
riotjones has quit [Ping timeout: 246 seconds]
vladgh has quit [Remote host closed the connection]
dellavg_ has quit [Ping timeout: 264 seconds]
leat has quit [Ping timeout: 248 seconds]
tomaz_b has joined #ruby-lang
relix has joined #ruby-lang
rikkipitt has joined #ruby-lang
rikkipitt has quit [Ping timeout: 264 seconds]
LMity has quit [Ping timeout: 245 seconds]
Respek has quit [Quit: gone to sleep. ZZZzzz…]
b_hoffman has quit [Quit: b_hoffman]
red_menace has quit [Quit: leaving...]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
LMity has joined #ruby-lang
benanne has quit [Quit: kbai]
iamninja has quit [Read error: Connection reset by peer]
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
iamninja has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby-lang
hahuang65 has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
hahuang65 has quit [Ping timeout: 246 seconds]
bruno- has quit [Quit: Lost terminal]
Iskarlar_ has joined #ruby-lang
bruno- has joined #ruby-lang
Iskarlar has quit [Ping timeout: 272 seconds]
intinig has joined #ruby-lang
iliketurtles has joined #ruby-lang
tomaz_b has quit [Quit: Leaving]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lytol has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
intinig has quit [Ping timeout: 252 seconds]
lele has joined #ruby-lang
lytol has joined #ruby-lang
lele is now known as Guest24
LMity has quit [Ping timeout: 255 seconds]
jolg42 has quit [Quit: ZZZzzz…]
workmad3 has quit [Ping timeout: 255 seconds]
Musashi007 has quit [Quit: Musashi007]
shinnya has quit [Ping timeout: 264 seconds]
wicope has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
jolg42 has joined #ruby-lang
thelastinuit has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
existensil has quit [Quit: WeeChat 0.4.2]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
existensil has joined #ruby-lang
caseydri_ has quit [Remote host closed the connection]
funnel has quit [Ping timeout: 265 seconds]
momomomomo has quit [Quit: momomomomo]
ur5us has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
riotjones has joined #ruby-lang
DLSteve has joined #ruby-lang
riotjones has quit [Ping timeout: 256 seconds]
iliketurtles has quit [Quit: zzzzz…..]
pico-pete has quit [Ping timeout: 245 seconds]
pico-pete has joined #ruby-lang
intinig has joined #ruby-lang
funnel has joined #ruby-lang
caseydriscoll has joined #ruby-lang
caseydriscoll has quit [Ping timeout: 256 seconds]
intinig has quit [Ping timeout: 264 seconds]
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby-lang
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby-lang
roamingdog has joined #ruby-lang
tockitj has quit [Changing host]
tockitj has joined #ruby-lang
roamingdog has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 1.1.1]
|jemc| has joined #ruby-lang
hahuang65 has quit [Ping timeout: 264 seconds]
lytol has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benanne has joined #ruby-lang
sankaber has joined #ruby-lang
loincloth has joined #ruby-lang
sankaber has quit [Ping timeout: 254 seconds]
loincloth has quit [Read error: Connection reset by peer]
jefus_ has joined #ruby-lang
jefus__ has quit [Ping timeout: 244 seconds]
benanne has quit [Quit: kbai]
jolg42 has quit [Quit: ZZZzzz…]
caseydriscoll has joined #ruby-lang
ruby-lang665 has joined #ruby-lang
<ruby-lang665> Hello
intinig has joined #ruby-lang
<ruby-lang665> I had some questions regarding exception handling. Could someone help me?
<zenspider> ask, don't ask to ask.
AlexAltea has quit [Ping timeout: 272 seconds]
<ruby-lang665> Okay- I initially had a piece of code that was supposed to check if my server recieved a connection, and if it didn't, it would send an error message.
<ruby-lang665> So it was basically a begin...rescue...end snippet
<ruby-lang665> Now, I want it to handle only specific exceptions.
havenwood has joined #ruby-lang
<zenspider> kk
<zenspider> and?
<ruby-lang665> So instead of using 'rescue => exception', I'm using 'rescue Timeout::Error' followed by 'rescue Net::LDAP::LdapError'
caseydriscoll has quit [Ping timeout: 250 seconds]
<zenspider> ... and?
<ruby-lang665> But that gives me the error: Empty string passed to getElementById().
intinig has quit [Ping timeout: 250 seconds]
<zenspider> perhaps because you're not hitting the code you think you are?
<zenspider> otherwise, you'll have to gist some code
<ruby-lang665> It was working fine when I used 'rescue=> exception '
<ruby-lang665> Is there a problem while using two rescue statements one after the other?
<jhass> none that's inherent in the language
<zenspider> blank rescue defaults to RuntimeError. you might be missing one you need to handle and someone else is rescuing it at a different level
<zenspider> you can put an extra rescue in for RuntimeError for debugging purposes... print out what's going on, and reraise it
roamingdog has joined #ruby-lang
<ruby-lang665> Okay, thank you- I'll try that and check
roamingd_ has joined #ruby-lang
roamingdog has quit [Read error: No route to host]
<zenspider> lemme know
roamingd_ has quit [Remote host closed the connection]
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
piotrj has quit [Ping timeout: 256 seconds]
kfpratt has joined #ruby-lang
<ruby-lang665> zenspider : Thanks so much! It worked :)
<zenspider> what was the problem?
<ruby-lang665> I was rescuing Net::LDAP::LdapError, when the correct thing was Net::LDAP::Error
<ruby-lang665> The blank rescue helped figure that out.
<ruby-lang665> All thanks to you.
lytol has joined #ruby-lang
<zenspider> glad you're up and running.
<zenspider> you might want to track down whatever it is that hid the problem from you
<ruby-lang665> I also looked at the quick reference guide whose link you gave. Being new to Rails, I had been looking for something like this for a while now.
<ruby-lang665> It's now on my bookmarks!
bruno- has quit [Read error: Connection reset by peer]
bruno-_ has joined #ruby-lang
<zenspider> awesome
<ruby-lang665> :) Thanks again :)
lytol has quit [Ping timeout: 252 seconds]
riotjones has joined #ruby-lang
b_hoffman has joined #ruby-lang
caseydriscoll has joined #ruby-lang
<zenspider> no prob
b_hoffman has quit [Client Quit]