havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
<darix> manveru: if they keep the cycle then christmas yes
<havenwood> manveru: It's not Christmas yet. But you can use the nightly 'till then.
<apeiros> but when will it be ruby 3? the "3 times faster ruby"?
<havenwood> 2020!
<apeiros> :<
lordalveric has quit [Ping timeout: 240 seconds]
nesoi has joined #ruby
stee_3_ has joined #ruby
<nesoi> I am trying to get a ruby program which was running on Windows with ruby version 1.9.2 working on os x. What's the minimal way to do that? My ruby version comes up as: ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]. The current activerecord won't install, saying it needs 2.2 or greater
ytti_ has joined #ruby
diego1 has joined #ruby
jusa has joined #ruby
KillerFox has quit [Write error: Broken pipe]
ytti has quit [Write error: Broken pipe]
Guest57153 has quit [Write error: Broken pipe]
D9 has quit [Excess Flood]
wnd has quit [Excess Flood]
<manveru> but that doesn't have yield_self nor the backtrace change... must be wrong :(
stee_3 has quit [Quit: No Ping reply in 180 seconds.]
dviola has quit [Remote host closed the connection]
FastJack has quit [Remote host closed the connection]
latemus has quit [Remote host closed the connection]
KillerFox has joined #ruby
<nesoi> I installed activesupport-4.2.6 but don't know which version of activerecord would go with that, or if that's the best idea
<nesoi> any hints?
forgot has joined #ruby
wnd has joined #ruby
<havenwood> manveru: the nightly has those
<darix> nesoi: the activerecord with exactly the same version
forgot is now known as Guest73587
<manveru> havenwood: yeah, was mostly curious, don't plan on running it
<nesoi> darix: should the same code which ran in 1.9.2 run in 2.0 or should I downgrade?
<nesoi> or upgrade to 2.2?
<darix> ruby is at 2.4 already
<nesoi> ok, or upgrade to 2.4?
<havenwood> nesoi: It'd probably be best to use 2.3.4 or 2.4.1. 1.9 is quite old at this point.
ptx0 has joined #ruby
<nesoi> havenwood: will the code not run though?
D9 has joined #ruby
<havenwood> nesoi: It will likely work unless there're gem deps stuck on 1.9 for whatever reason.
<havenwood> nesoi: See if the tests pass in 2.4?
<nesoi> ok, so what's the best way to get a version of 2.4 on my os x box?
<nesoi> I don't want to install rails actually
<havenwood> nesoi: check that ^ link for a tutorial
<havenwood> nesoi: don't do the `gem install rails` part
<Radar> nesoi: You can follow that link and stop before it installs Rails.
<nesoi> ok, cool, thanks
<Radar> The guy who wrote it is almost as smart and handsome as he is humble.
<nesoi> did you write it Radar? :)
<Radar> yes
<nesoi> nice
jusa has quit [Ping timeout: 272 seconds]
<nesoi> ok, I will check it out and report back later
nesoi has quit [Quit: Leaving.]
Cohedrin has quit [Read error: Connection reset by peer]
enterprisey has joined #ruby
FastJack has joined #ruby
latemus has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
herbmillerjr has joined #ruby
spheric has joined #ruby
lele has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
<Radar> Guaranteed to work or your money back
t-recx has quit [Quit: t-recx]
choke has joined #ruby
<Radar> I should say that I use it to set up all my machines too.
Cohedrin has joined #ruby
DarrinStephens has left #ruby [#ruby]
patarr has joined #ruby
texasmynsted has quit [Ping timeout: 268 seconds]
d3d1rty has joined #ruby
texasmynsted has joined #ruby
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patarr has quit [Ping timeout: 255 seconds]
BSaboia has joined #ruby
cfec0b8d has quit [Ping timeout: 272 seconds]
jgt2 has quit [Ping timeout: 260 seconds]
texasmynsted has quit [Ping timeout: 246 seconds]
texasmynsted has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
alveric1 has quit [Quit: WeeChat 1.8]
alveric1 has joined #ruby
<darix> updating my discourse package to 2.4 atm
alveric1 has quit [Quit: WeeChat 1.8]
adam12 is now known as adam__
adam__ is now known as adam12
alveric1 has joined #ruby
omab has joined #ruby
_whitelogger has joined #ruby
alveric1 has quit [Quit: WeeChat 1.8]
alveric1 has joined #ruby
troys is now known as troys_
quazimodo has quit [Read error: Connection reset by peer]
r3vDev has joined #ruby
enterprisey has quit [Ping timeout: 272 seconds]
nettoweb__ has joined #ruby
<nettoweb__> hello guys, Im trying to make puma restart on boot... but it's difficult. do you know some good article explaining how to do it?
quazimodo has joined #ruby
alveric1 has quit [Quit: WeeChat 1.8]
alveric1 has joined #ruby
texasmynsted has quit [Ping timeout: 272 seconds]
texasmynsted has joined #ruby
omab has quit [Ping timeout: 255 seconds]
pazzaz has quit [Quit: WeeChat 1.7]
PatrikasZvaigzde has quit [Ping timeout: 260 seconds]
<havenwood> nettoweb__: What OS?
<havenwood> nettoweb__: Linux? A BSD?
<nettoweb__> ubuntu
<nettoweb__> DO
<havenwood> nettoweb__: systemd
<havenwood> nettoweb__: It's worth learning the systemd init system, since it ate Linux.
<DLSteve> havenwood, Linux is just a systemd extension.
HoierM has joined #ruby
|ifei5g00d has quit []
jameser has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as dviola
charliesome has joined #ruby
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sneakerhax has joined #ruby
nettoweb__ has joined #ruby
enterprisey has joined #ruby
nettoweb__ has quit [Client Quit]
nettoweb__ has joined #ruby
jackjackdripper has joined #ruby
<nettoweb__> havenwood Im looking something about puma
alveric1 has quit [Quit: WeeChat 1.8]
alveric1 has joined #ruby
texasmynsted has left #ruby [#ruby]
alveric1 has quit [Client Quit]
alveric1 has joined #ruby
jameser has quit [Read error: Connection reset by peer]
nesoi has joined #ruby
troys_ is now known as troys
jackjackdripper has quit [Quit: Leaving.]
choke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
choke has joined #ruby
d^sh has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 268 seconds]
d^sh has joined #ruby
Paradox has quit [Quit: off to herp the derps]
Paradox has joined #ruby
jackjackdripper has joined #ruby
jameser has quit [Ping timeout: 255 seconds]
jameser has joined #ruby
segmond has quit [Quit: l8r]
<nesoi> I have a require 'yaml' but gem install yaml finds nothing. What gem should I install for that?
jackjackdripper has quit [Quit: Leaving.]
djbkd has joined #ruby
<nesoi> also, gem install mysql fails
<havenwood> nesoi: YAML is in the stdlib. You have to install MySQL before you install the mysql gem.
<nesoi> I used to have mysql on here… let's see
<nesoi> thanks havenwood
dhollinger has quit [Ping timeout: 260 seconds]
<nesoi> yeah, mysql is on this machine
<nesoi> I can connect to it locally
<nesoi> but it's not in the path
<nesoi> is that required?
<havenwood> nesoi: Can you use the mysql2 gem? You're picking the dep?
dhollinger has joined #ruby
<nesoi> havenwood: I don't know.. this code I'm trying to get running just has require 'mysql'
<havenwood> nesoi: So that's mysql not mysql2. The mysql gem has been unmaintained for several years.
<nesoi> I'm already trying to replace one API package, so it would be great if I didn't have to replace others at the same time and then try to figure out what's not working where
PatrikasZvaigzde has joined #ruby
<nesoi> mysql2 installed ok
<nesoi> using gem install mysql2
cdg has joined #ruby
harfangk has joined #ruby
phenix has quit []
pen has joined #ruby
aidalgol has joined #ruby
patarr has joined #ruby
regaIfrog has joined #ruby
genpaku has quit [Remote host closed the connection]
enterprisey has quit [Ping timeout: 260 seconds]
quobo has quit [Quit: Connection closed for inactivity]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
enterprisey has joined #ruby
pen has quit [Ping timeout: 260 seconds]
genpaku has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
regaIfrog has quit []
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
regaIfrog has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
baweaver is now known as baweaver_away
<aidalgol> I'm having trouble with rbenv and installing native gems. http://paste.debian.net/967217/
<havenwood> aidalgol: sudo apt-get install -y build-essential bison zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libffi-dev
baweaver_away is now known as baweaver
im0nde has quit [Ping timeout: 260 seconds]
<havenwood> aidalgol: ^ those are the ruby deps for debian
<havenwood> aidalgol: or there's a ruby-dev package
<havenwood> aidalgol: here's rbenv's ruby-build's recommendation: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment
whathappens has joined #ruby
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtdowney has joined #ruby
troys is now known as troys_
sneakerhax has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
<aidalgol> havenwood: I was missing some of those, but even after installing those pacakges, I still get the same error.
<havenwood> aidalgol: The error you're running into looks like it's from your system Ruby. You'd solve it by installing the ruby-dev package.
<aidalgol> oh dear, I think my system ruby installation may be interfering...
<havenwood> aidalgol: It's not the Ruby from rbenv/ruby-build.
nettoweb__ has joined #ruby
<havenwood> aidalgol: Often with rbenv the issue is rehashing since they use shims. Maybe try: rbenv rehash
<havenwood> ?rbenv
<ruby[bot]> Missing command under rbenv? Did you try `rbenv rehash`?
<aidalgol> I have something installed that depends on ruby, so I can't remove it.
r3vDev has quit [Quit: Leaving.]
<havenwood> aidalgol: Or if you want to tear it down and try again mixing things up a bit, here's a tutorial for ruby-install/chruby (instead of ruby-build/rbenv): http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you
<aidalgol> Nope, still happening.
<havenwood> aidalgol: Either rbenv or chruby should be able to play nice alongside system Ruby.
<aidalgol> I'm running ~/.rbenv/shims/gem but for somereason /usr/bin/ruby2.1 is being invoked.
<havenwood> aidalgol: I'm not as familiar with rbenv and there's no irc support channel but there are some users here, no doubt.
nettoweb__ has quit [Client Quit]
<havenwood> aidalgol: I'd personally recommend uninstalling rbenv and going with ruby-install/chruby if it's dev environment or just ruby-install to /usr/local if it's prod.
<havenwood> aidalgol: With rbenv drop the --user-install
<havenwood> aidalgol: same issue with?: gem install rsense
<havenwood> it's like the `gem` is your system Ruby, hrmmm
<havenwood> aidalgol: you're not using sudo?
<havenwood> aidalgol: just `gem install rsense` should work
pen has joined #ruby
<aidalgol> gem install rsense tries to install to /usr/local
<aidalgol> I don't have this issue when I'm in a project directory (i.e. a .ruby-version file is present)
ddffg has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Read error: Connection reset by peer]
pen has quit [Ping timeout: 272 seconds]
cczac1 has quit [Quit: Leaving]
djbkd has quit []
djbkd has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sspreitz has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
whathappens has quit [Remote host closed the connection]
Cohedrin has joined #ruby
<aidalgol> It works when I set RBENV_VERSION
HoierM has quit [Ping timeout: 268 seconds]
cdg has quit [Remote host closed the connection]
gix has quit [Ping timeout: 246 seconds]
gix has joined #ruby
kies has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
AnoHito_ has joined #ruby
AnoHito has quit [Ping timeout: 245 seconds]
djbkd has quit []
cfec0b8d has joined #ruby
arescorpio has joined #ruby
_whitelogger has joined #ruby
dviola has quit [Quit: WeeChat 1.8]
_whitelogger has joined #ruby
polysics has quit [Ping timeout: 255 seconds]
quazimodo has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby
quazimodo has joined #ruby
Sammichmaker has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 255 seconds]
Trynemjoel has quit [Ping timeout: 264 seconds]
<nesoi> havenwood: I installed mysql2
<nesoi> Successfully installed mysql2-0.4.6
<nesoi> but then when I do ruby Rakefile I get:
<nesoi> ../.gem/ruby/2.4.1/gems/mysql2-0.4.6/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError)
<nesoi> what do you think is going wrong?
ur5us has quit [Remote host closed the connection]
<havenwood> nesoi: I'm just heading out the door. Someone else here can probably help though if you still can't get it linking.
<havenwood> Or I'll be around later.
<nesoi> thanks havenwood
patarr has joined #ruby
<havenwood> you're welcome. good luck!
<nesoi> hm. I don't have mysqlclient* in either directory
Cohedrin has quit [Read error: Connection reset by peer]
arahael has joined #ruby
<nesoi> should I have /usr/lib/libmysqlclient* ?
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
patarr has quit [Ping timeout: 260 seconds]
sepp2k has quit [Read error: Connection reset by peer]
dkam has quit [Quit: Lingo: www.lingoirc.com]
DeeJayh has quit [Ping timeout: 240 seconds]
Puppet_ has joined #ruby
regaIfrog has quit [Quit: Connection closed for inactivity]
kies has joined #ruby
Trynemjoel has joined #ruby
Cohedrin has joined #ruby
pen has joined #ruby
pen has quit [Remote host closed the connection]
pen has joined #ruby
polysics has joined #ruby
djbkd has joined #ruby
<zenspider> nesoi: if you don't have the library, the gem couldn't have compiled and linked properly
podlech has joined #ruby
jackjackdripper has joined #ruby
<arahael> Incidentially, libmysqlclient isn't necessarily in /usr/lib
aupadhye has joined #ruby
minimalism has quit [Quit: minimalism]
podlech has quit [Quit: WeeChat 1.7.1]
dcluna has quit [Ping timeout: 245 seconds]
cfec0b8d has quit [Ping timeout: 272 seconds]
masterasia has quit [Quit: Leaving]
dcluna has joined #ruby
aupadhye has quit [Ping timeout: 272 seconds]
govg has joined #ruby
arescorpio has quit [Quit: Leaving.]
blackwind_123 has quit [Quit: East bound and down, loaded up and truckin']
aupadhye has joined #ruby
troys_ is now known as troys
hosas has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
dcluna has quit [Ping timeout: 258 seconds]
anisha has joined #ruby
Robtop__ is now known as pwnd_nsfw
<hosas> getting: Could not locate Gemfile
<hosas> I'm trying to install Open-publisher using: bundle install --binstubs --path=vendor, as instructed by the site (http://chrisanthropic.github.io/Open-Publisher-Documentation//documentation/installation.html)
<hosas> how do I fix this (I know nothing about ruby). Thanks
jenrzzz has quit [Ping timeout: 240 seconds]
troys has quit [Quit: Bye]
hfp_work has quit [Ping timeout: 260 seconds]
hfp has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
synstack_ is now known as synstack
djbkd has quit [Ping timeout: 255 seconds]
lele has joined #ruby
roshanavand has joined #ruby
patarr has joined #ruby
dionysus69 has joined #ruby
d3d1rty has quit [Ping timeout: 246 seconds]
hosas has left #ruby [#ruby]
taurgal has joined #ruby
Cohedrin has joined #ruby
mikecmpbll has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
polysics has quit [Remote host closed the connection]
polysics has joined #ruby
conta has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
hfp has joined #ruby
hfp_work has joined #ruby
enterprisey has quit [Ping timeout: 272 seconds]
ytti has joined #ruby
wnd_ has joined #ruby
hfp_work has quit [*.net *.split]
AnoHito_ has quit [*.net *.split]
genpaku has quit [*.net *.split]
alveric1 has quit [*.net *.split]
latemus has quit [*.net *.split]
wnd has quit [*.net *.split]
ytti_ has quit [*.net *.split]
lupine has quit [*.net *.split]
Bock has quit [*.net *.split]
Myk267 has quit [*.net *.split]
nowhere_man has quit [*.net *.split]
voltai[m] has quit [*.net *.split]
turt2live has quit [*.net *.split]
torarne has quit [*.net *.split]
Giphy[m] has quit [*.net *.split]
dgs has quit [*.net *.split]
Guest37009 has quit [*.net *.split]
iomotoko has quit [*.net *.split]
lipoqil has quit [*.net *.split]
cstrahan has quit [*.net *.split]
Tony-St4rk has quit [*.net *.split]
bcavileer has quit [*.net *.split]
mrsolo has quit [*.net *.split]
gmcintire has quit [*.net *.split]
seanh has quit [*.net *.split]
Majost has quit [*.net *.split]
Guest37310 has quit [*.net *.split]
dunk has quit [*.net *.split]
andersh has quit [*.net *.split]
jimeh has quit [*.net *.split]
ewilliam__ has quit [*.net *.split]
mattwc has quit [*.net *.split]
avdi has quit [*.net *.split]
dunk_ has joined #ruby
Heero__ has quit [*.net *.split]
pmarreck has quit [*.net *.split]
troter__________ has quit [*.net *.split]
ewilliam___ has joined #ruby
genpaku_ has joined #ruby
jimeh_ has joined #ruby
seanh has joined #ruby
alveric1 has joined #ruby
gmcintire_ has joined #ruby
mrsolo has joined #ruby
latemus has joined #ruby
avdi has joined #ruby
Heero__ has joined #ruby
genpaku_ is now known as genpaku
bcavileer has joined #ruby
Tony-St4rk has joined #ruby
lupine has joined #ruby
mattwc has joined #ruby
cstrahan has joined #ruby
troter__________ has joined #ruby
lipoqil has joined #ruby
Majost has joined #ruby
Myk267 has joined #ruby
NightMonkey has quit [Ping timeout: 259 seconds]
conta has quit [Remote host closed the connection]
jinie has quit [Ping timeout: 240 seconds]
dgs has joined #ruby
conta has joined #ruby
vircung has quit [Ping timeout: 240 seconds]
hfp_work has joined #ruby
nofxxx has joined #ruby
jinie has joined #ruby
vircung has joined #ruby
NightMonkey has joined #ruby
zipper has quit [Quit: ZNC 1.6.3 - http://znc.in]
voltai[m] has joined #ruby
torarne has joined #ruby
Giphy[m] has joined #ruby
turt2live has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
govg has quit [Ping timeout: 255 seconds]
nofxxxx has quit [Ping timeout: 260 seconds]
zipper has joined #ruby
wnd_ is now known as wnd
jusa has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Tempesta_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
nesoi has quit [Quit: Leaving.]
patarr has joined #ruby
Tempesta has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 260 seconds]
patarr has quit [Ping timeout: 260 seconds]
meshsmith has quit [Remote host closed the connection]
laekur has joined #ruby
ec is now known as ELLIOTTCABLE
marr has joined #ruby
jenrzzz has joined #ruby
patarr has joined #ruby
aufi has joined #ruby
vondruch has joined #ruby
zipace has joined #ruby
charliesome has joined #ruby
bigkevmcd has joined #ruby
Burgestrand has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
ecuanaso has joined #ruby
jgt2 has joined #ruby
normie1 has joined #ruby
antgel has joined #ruby
quazimodo has quit [Read error: Connection reset by peer]
dcluna has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
mikecmpbll has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cfec0b8d has joined #ruby
normie1 has quit [Quit: Textual IRC Client: www.textualapp.com]
LukyCZ has joined #ruby
<LukyCZ> Hi, how would I limit input to a set range of characters (a, r, o, s) ? Example: I have a text game, and I have 4 options (1, 2, 3, 4). If the user inputs something else, do something. How could I do this ? Thanks
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has joined #ruby
jaruga________ has joined #ruby
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
zipper has left #ruby ["WeeChat 1.8"]
pie__ has joined #ruby
<pie__> hey guys i need to understand some ruby but i dont know any, is there a tool for explaining what some syntax means or a quick way to look it up or something?
<ljarvis> pie__: not really, you want to know what something does without learning Ruby?
flying has joined #ruby
<pie__> almost xP
<ljarvis> I guess you'll want to hire someone
<pie__> well i never asked anything like this so i thought i might as well give it a try once
lxsameer has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
kies has quit [Ping timeout: 240 seconds]
mathys has joined #ruby
rohitpaulk has joined #ruby
BSaboia has quit [Ping timeout: 255 seconds]
alveric1 has quit [Quit: WeeChat 1.8]
alveric1 has joined #ruby
Beams has joined #ruby
tomphp has joined #ruby
sarbs has quit [Ping timeout: 240 seconds]
ddffg has joined #ruby
sarbs has joined #ruby
bkxd has joined #ruby
djbkd has joined #ruby
gil_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
pen has quit [Remote host closed the connection]
ur5us has joined #ruby
pen has joined #ruby
Silthias has joined #ruby
gil_ has joined #ruby
gil_ has joined #ruby
gil_ has quit [Changing host]
bkxd has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
ferr1 has joined #ruby
dhollin3 has joined #ruby
<apeiros> LukyCZ: you write a conditional construct, like: valid=false; until valid; valid=true; input = $stdin.gets&.chomp; case input; when "1"; …; else "Not a valid choide"; valid=false; end; end
AnoHito_ has joined #ruby
dhollinger has quit [Ping timeout: 260 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
quazimodo has joined #ruby
chichou has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
<apeiros> ?quickref pie__
<apeiros> that comes probably closest to what you're looking for
tomphp has joined #ruby
cjhowe7 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> but yeah, it's difficult to look up syntax if you don't know what belongs together.
<apeiros> and also difficult if you don't know how it's called
taurgal has quit [Ping timeout: 255 seconds]
<pie__> thanks, maybe it will help
<konsolebox> pie__: try learning ruby with some tutorial, and pry.
<pie__> konsolebox, im just a tiny bit frustrated because everything is skill trees all the way down, but thats what happens when you try to base off someone else's work.
ringrong has joined #ruby
<pie__> well, thats what happens when you dont either haha
<pie__> thats life
cjhowe7 has joined #ruby
bilal80 has joined #ruby
pie__ has quit [Remote host closed the connection]
pie__ has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
cjhowe7 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has quit [Ping timeout: 240 seconds]
<LukyCZ> apeiros: That looks... Complicated
<apeiros> LukyCZ: replace the ; with newlines and it'll look less complicated
djbkd has quit []
<saneax> GM FOlks
<saneax> say I have this -
<saneax> rx = { :fox=>/^arm/, 'fox'=>[%r{AN(DO)$},/an(do)/i]}
<saneax> is this legit - rx[:fox][1] ?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<saneax> so, I think the statement rx[:fox][1] is wrong since the :fox hash has a regex and not an array?
<LukyCZ> What editor would you recommend ?
<matthewd> >> rx = { :fox=>/^arm/, 'fox'=>[%r{AN(DO)$},/an(do)/i]}; rx[:fox][1]
<ruby[bot]> matthewd: # => undefined method `[]' for /^arm/:Regexp (NoMethodError) ...check link for more (https://eval.in/811924)
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
<saneax> thanks matthewd
<saneax> makes sense
biberu has joined #ruby
rohitpaulk has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 255 seconds]
sarbs has quit [Ping timeout: 246 seconds]
rohitpaulk has joined #ruby
workmad3 has joined #ruby
ringrong has quit [Ping timeout: 246 seconds]
<apeiros> LukyCZ: sublime text
<apeiros> >> rx = { :fox=>/^arm/, 'fox'=>[%r{AN(DO)$},/an(do)/i]}; rx['fox'][1]
<ruby[bot]> apeiros: # => /an(do)/i (https://eval.in/811935)
sarbs has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
djbkd has joined #ruby
tomphp has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
slima has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KeyJoo has joined #ruby
ur5us has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
iomotoko has joined #ruby
yogg-saron has joined #ruby
djbkd has joined #ruby
<LukyCZ> How to I know if the input is a string or a number ? I have a gets.to_f, and it equals 0 if a string is put in. I can do that if it equals 0 end the program, but I want to end the program only if it's a string
<ljarvis> %ri Kernel#Float
<ljarvis> &ri Kernel#Float
<ljarvis> oh ruby-doc is still down, heh
<ljarvis> LukyCZ: Float(str) will convert to a float if it can, otherwise it'll raise an exception. You could catch the exception and quit gracefully
<ljarvis> >> Float("omg")
<ruby[bot]> ljarvis: # => invalid value for Float(): "omg" (ArgumentError) ...check link for more (https://eval.in/811960)
djbkd has quit [Ping timeout: 255 seconds]
milardovich has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
milardovich has joined #ruby
jameser has quit [Ping timeout: 260 seconds]
brent__ has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
tomphp has joined #ruby
anisha_ has joined #ruby
rgr has joined #ruby
rohitpaulk has quit [Ping timeout: 260 seconds]
anisha has quit [Read error: Connection reset by peer]
rohitpaulk has joined #ruby
spiette has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
tomphp has quit [Client Quit]
rohitpaulk has quit [Ping timeout: 240 seconds]
spiette has joined #ruby
tomphp has joined #ruby
Fernando-Basso has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
tomphp has quit [Client Quit]
jgt2 has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 268 seconds]
TomyLobo2 has joined #ruby
milardovich has joined #ruby
jgnagy has joined #ruby
TomyLobo has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
psychicist__ has joined #ruby
charliesome has joined #ruby
jgnagy has quit [Ping timeout: 255 seconds]
Burgestrand has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
BSaboia has joined #ruby
r3vDev has joined #ruby
charliesome has quit [Client Quit]
<zenspider> ?answers
<ruby[bot]> How to ask the right questions to get you the right answer: https://www.mikeash.com/getting_answers.html
<zenspider> (for another channel, ignore me)
charliesome has joined #ruby
_whitelogger has joined #ruby
Mia has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
jameser has joined #ruby
romank has joined #ruby
nettoweb__ has joined #ruby
nettoweb__ has quit [Client Quit]
claw has quit [Ping timeout: 255 seconds]
HoierM has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
_whitelogger has joined #ruby
anisha_ has quit [Ping timeout: 240 seconds]
im0nde has joined #ruby
charliesome has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has quit [Client Quit]
anisha has joined #ruby
nanoz has joined #ruby
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dasher00 has quit [Ping timeout: 260 seconds]
ldnunes has joined #ruby
djbkd has joined #ruby
stormbytes has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
dasher00 has joined #ruby
quobo has joined #ruby
rohitpaulk has joined #ruby
r3vDev has quit [Quit: Leaving.]
Silthias has quit [Ping timeout: 240 seconds]
pupsicle has joined #ruby
Silthias has joined #ruby
znz_jp has joined #ruby
ruurd has joined #ruby
marr has quit [Ping timeout: 255 seconds]
unshadow has joined #ruby
ledestin has quit [Read error: Connection reset by peer]
LukyCZ has quit [Quit: Connection closed for inactivity]
<unshadow> Hi Guys, a quick question, In OpenSSL how do I configure the key size for DH to use ? it seems I always get 1024 bit without a way to change it, cant find where to define it inside OpenSSL::SSL::SSLContext
nanoz] has joined #ruby
ledestin has joined #ruby
nanoz has quit [Ping timeout: 246 seconds]
ledestin has quit [Client Quit]
r3vDev has joined #ruby
jjunior_ has joined #ruby
KeyJoo has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
djbkd_ has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 260 seconds]
djbkd_ has quit [Remote host closed the connection]
ledestin has joined #ruby
<kke_> rubydoc.info has been down all day for me
ledestin has quit [Client Quit]
<kke_> sorry ruby-doc.org
daveyboi[m] has quit [Quit: Bridged client killed]
<elomatreb> kke_: Yesterday too, https://docs.ruby-lang.org/en/2.4.0/ has the same docs
nickjj has quit [Quit: Leaving]
<kke_> but google takes me to rubydoc :(
nickjj has joined #ruby
tomphp has joined #ruby
hashrocket has joined #ruby
<elomatreb> Depending on how you installed your Ruby you might have those docs installed locally too, try `ri` in terminal
Qommand0r has quit [Quit: WeeChat 1.8]
bascht has quit [Quit: Bridged client killed]
romank has quit [Ping timeout: 246 seconds]
jgnagy has joined #ruby
romank has joined #ruby
BSAlb has joined #ruby
BSAlb has quit [Max SendQ exceeded]
BSaboia has quit [Ping timeout: 246 seconds]
jgnagy has quit [Ping timeout: 240 seconds]
BSAlb has joined #ruby
jameser has joined #ruby
cadillac_ has joined #ruby
nettoweb__ has joined #ruby
gilfoyle has joined #ruby
BSaboia has joined #ruby
jameser has quit [Client Quit]
cadillac__ has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
BSAlb has quit [Ping timeout: 255 seconds]
anisha has quit [Quit: This computer has gone to sleep]
jameser has joined #ruby
dionysus69 has joined #ruby
polysics has quit []
unshadow has quit [Quit: leaving]
chouhoulis has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nesoi has joined #ruby
atvin has joined #ruby
nadir has joined #ruby
nesoi has quit [Ping timeout: 258 seconds]
jakebriggs[m] has quit [Quit: Bridged client killed]
roshanavand has quit [Quit: roshanavand]
petruff has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
DLSteve has joined #ruby
centrx has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
cjohnson_ is now known as cjohnson
rohitpaulk has quit [Ping timeout: 255 seconds]
thulsa_legume[m] has left #ruby ["Kicked by @appservice-irc:matrix.org"]
drcode has joined #ruby
quazimodo has quit [Ping timeout: 260 seconds]
griffindy has joined #ruby
milardovich has quit [Remote host closed the connection]
stryek has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
atvin has quit [Read error: Connection reset by peer]
mwlang has joined #ruby
jameser has joined #ruby
yehowyada has joined #ruby
vinmac has joined #ruby
vinmac has left #ruby [#ruby]
cfec0b8d has quit [Remote host closed the connection]
<pupsicle> unshadow: It's a parameter to the initializer https://apidock.com/ruby/OpenSSL/PKey/DH/new/class
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimalism has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
konsolebox has quit [Max SendQ exceeded]
konsolebox has joined #ruby
cfec0b8d has joined #ruby
<kke_> elomatreb: yes but it's not in my muscle memory :)
<kke_> i've clicked myself to rubydoc 10+ times this workday.
<kke_> but it's over now so perhaps the problem is solved tomorrow.
GGMethos has quit [Ping timeout: 240 seconds]
choke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psychicist__ has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
dcunit3d has quit [Ping timeout: 255 seconds]
psychicist__ has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aupadhye has quit [Ping timeout: 268 seconds]
marr has joined #ruby
laekur has quit [Remote host closed the connection]
BSaboia has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby
laekur has joined #ruby
rohitpaulk has joined #ruby
romank has quit [Ping timeout: 240 seconds]
vuoto has quit [Remote host closed the connection]
dhollin3 is now known as dhollinger
romank has joined #ruby
chichou has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 240 seconds]
rohitpaulk has quit [Ping timeout: 246 seconds]
rohitpaulk has joined #ruby
yeticry has joined #ruby
tomphp has joined #ruby
pie__ has quit [Changing host]
pie__ has joined #ruby
nesoi has joined #ruby
chichou has joined #ruby
BSaboia has joined #ruby
gregf_ has joined #ruby
theunraveler has joined #ruby
nesoi has quit [Ping timeout: 258 seconds]
nanoz] has left #ruby ["Leaving"]
contradictioned_ has quit [Remote host closed the connection]
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aufi has quit [Quit: Leaving]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patarr has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 246 seconds]
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
chalkmonster has joined #ruby
ducklobster has quit [Quit: Page closed]
jjaii9 has joined #ruby
ResidentBiscuit has joined #ruby
DoubleMalt has joined #ruby
DoubleMalt has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
<ruurd> You could use Dash if you wanted to. It's admitted to the iOS appstore again too...
tomphp has joined #ruby
tomphp has quit [Client Quit]
rohitpaulk has quit [Ping timeout: 240 seconds]
LastWhisper____ has joined #ruby
rohitpaulk has joined #ruby
tomphp has joined #ruby
synthroid has quit [Remote host closed the connection]
choke has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
rory has joined #ruby
hxegon has quit [Quit: leaving]
nanoz has joined #ruby
nanoz has left #ruby [#ruby]
chalkmonster has quit [Ping timeout: 255 seconds]
hxegon has joined #ruby
chalkmonster has joined #ruby
Guest52354 has quit [Quit: ZNC 1.6.4+deb1 - http://znc.in]
mwlang has quit [Quit: mwlang]
r3vDev has quit [Quit: Leaving.]
blackwind_123 has joined #ruby
pupsicle has quit [Quit: pupsicle]
Renich has joined #ruby
pupsicle has joined #ruby
pupsicle2 has joined #ruby
synthroid has joined #ruby
pupsicle2 has quit [Client Quit]
jgnagy has joined #ruby
dcluna has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
contradictioned has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
nesoi has joined #ruby
JohnT has joined #ruby
rohitpaulk has quit [Ping timeout: 246 seconds]
dcunit3d has joined #ruby
pupsicle has quit [Read error: Connection reset by peer]
nesoi has quit [Ping timeout: 240 seconds]
pupsicle has joined #ruby
rohitpaulk has joined #ruby
pupsicle has quit [Client Quit]
sepp2k has joined #ruby
pupsicle has joined #ruby
<JohnT> Does anyone have experience with the mail gem? I'm trying to extract attachments (pdfs). Code produces no errors, but when I try to open the pdfs they're corrupt/invalid.
pupsicle has quit [Client Quit]
pupsicle has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
<matthewd> JohnT: What does the extracted file look like? Maybe you're pulling out the still-encoded body?
jjaii9 has quit []
conta has quit [Ping timeout: 258 seconds]
<JohnT> no, it looks like a valid pdf spec
dcunit3d has joined #ruby
nankyokusei has joined #ruby
BSaboia has quit [Quit: Leaving]
<JohnT> oops, forgot the binary specifier on file open. that could explain it.
elcontrastador has joined #ruby
<JohnT> yep, works fine now. its always the simple stuff
Renich has quit [Quit: Renich]
dcunit3d has quit [Ping timeout: 246 seconds]
aufi has joined #ruby
haylon has joined #ruby
chalkmonster has quit [Quit: Daddy's flown, 'cross the ocean.]
Burgestrand has quit [Quit: Closing time!]
nettoweb__ has joined #ruby
rohitpaulk has quit [Ping timeout: 255 seconds]
ascarter has joined #ruby
ascarter has quit [Client Quit]
amclain has joined #ruby
brent__ has joined #ruby
ascarter has joined #ruby
yeticry_ has joined #ruby
ascarter has quit [Client Quit]
marxarelli has joined #ruby
yeticry has quit [Ping timeout: 255 seconds]
ascarter has joined #ruby
Renich has joined #ruby
jgnagy has quit [Remote host closed the connection]
milardovich has quit []
rory has left #ruby [#ruby]
jaruga________ has quit [Quit: jaruga________]
kies has joined #ruby
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dasher00 has quit [Ping timeout: 246 seconds]
<hxegon> ruby-doc is down noooooo
cdg has joined #ruby
kies has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
morfin has joined #ruby
dionysus69 has joined #ruby
hobodave has joined #ruby
<havenwood> has someone already emailed james@neurogami.com to let him know ruby-doc is down?
<havenwood> hmm
HoierM has quit [Ping timeout: 240 seconds]
dasher00 has joined #ruby
<ljarvis> he knows
<matthewd> havenwood: He's aware: https://twitter.com/jamesbritt
<ljarvis> he's been working on it
<havenwood> ah, nice
ferr1 has quit [Quit: WeeChat 1.8]
shinnya has quit [Ping timeout: 260 seconds]
<hxegon> alternative methods for looking up docs? I've been pretty spoiled with ruby-doc and pry-doc hasn't worked for me for a long time
<havenwood> hxegon: ri
dcluna has joined #ruby
<morfin> heh :)
<hxegon> thanks havenwood
<havenwood> de nada
erry has quit [Read error: Connection reset by peer]
<morfin> ri is a solution but i wish i can read them as HTML :( do not like read from console
erry has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
<ljarvis> morfin: so generate rdoc locally from core and then open it up :)
tomphp has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
marxarelli has quit [Read error: Connection reset by peer]
<hxegon> oooo ri -i for interactive docs in cli
nettoweb__ has joined #ruby
Tempesta_ is now known as Tempesta
Tempesta has quit [Changing host]
Tempesta has joined #ruby
nankyokusei has quit [Remote host closed the connection]
alveric1 has quit [Quit: WeeChat 1.8]
alveric1 has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
kies has joined #ruby
alveric1 has quit [Client Quit]
dngome[m] has joined #ruby
Eiam_ has joined #ruby
mikecmpbll has quit [Ping timeout: 268 seconds]
nitric has joined #ruby
patarr has joined #ruby
[Butch] has joined #ruby
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has joined #ruby
nettoweb__ has joined #ruby
Beams has quit [Quit: .]
patarr has quit [Ping timeout: 246 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> hxegon: Docs in pry as well with: gem install pry-doc
<havenwood> Or from within irb: help
<hxegon> havenwood: I've tried that before, but it never seems to work for me. Ri is doing great though
tomphp has joined #ruby
aufi has quit [Quit: Leaving]
tomphp has quit [Client Quit]
<havenwood> hxegon: nice
im0nde has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
marxarelli has joined #ruby
Axy has joined #ruby
al2o3-cr has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
rohitpaulk has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
GGMethos has joined #ruby
BTRE has quit [Quit: Leaving]
Mia has quit [Ping timeout: 246 seconds]
drcode has joined #ruby
nesoi has joined #ruby
hobodave has joined #ruby
BTRE has joined #ruby
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stormbytes has joined #ruby
cdg has joined #ruby
marxarelli is now known as marxarelli|afk
marxarelli|afk is now known as marxarelli
marxarelli is now known as marxarelli|afk
taurgal has joined #ruby
flying has quit [Ping timeout: 268 seconds]
Kug3lis has joined #ruby
marxarelli|afk is now known as marxarelli
FilipeChagas has joined #ruby
FilipeChagas has quit [Client Quit]
<nesoi> I'm trying to port a previously working ruby program from Windows ruby 1.9.2 to OS X ruby 2.4.1. When I run the rakefile I get:
<nesoi> Rakefile:7:in `<main>': undefined method `task' for main:Object (NoMethodError)
<nesoi> any idea what to look at?
<apeiros> uh, how do you run that rakefile? o0
<apeiros> because task is defined by rake itself…
taurgal has quit [Ping timeout: 260 seconds]
<nesoi> hm. ok so just run rake. I'm both rusty and also not experienced with this
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mix4555 has joined #ruby
<nesoi> it doesn't find mysql support
<nesoi> and I can't gem install mysql because I get 10 warnings and 1 error when I try it
dngome[m] has left #ruby ["User left"]
<nesoi> thanks apeiros
<apeiros> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<apeiros> nesoi: ^ paste your error/warning there
<apeiros> probably lacking the dev files (headers) for mysql
mtkd has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
<apeiros> you should use mysql2, not mysql
<apeiros> mysql gem has been unmaintained for >4y
dviola has joined #ruby
<nesoi> thanks apeiros. I installed mysql2 and changed the rakefile's require to that, and this is what I get running rake https://gist.github.com/anonymous/196d0ff640e3d7cca2d6340e51818ca2
<apeiros> nesoi: you're in a rails app?
<nesoi> no, it's a little app which uses activerecord but it's not rails
<nesoi> just a very short program
<apeiros> "Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql2'…"
<nesoi> right, so I installed mysql2 and changed the require in the Rakefile to mysql2
<nesoi> and that's the error I am getting
<apeiros> given that the error talks about "mysql_adapter", tells me you didn't configure the adapter correctly.
<nesoi> what else would I have to do other than installing mysql2 and changing the require to mysql2?
<apeiros> you still seem to tell AR to load the mysql adapter, instead of mysql2. since it's not rails, no idea how you do it.
<apeiros> as the error tells you, the config/database.yml (or whatever you use in its stead)
jenrzzz has joined #ruby
<nesoi> there is no database.yml in config
<apeiros> *sob*, it's your app
<nesoi> I didn't write that part of it though
<apeiros> rails uses config/database.yml. you have done something to substitute that in your app. a way to configure AR.
<apeiros> well, then ask whoever wrote it. I can't really help with custom written code. and even less so without seeing it.
<matthewd> A Rails *app* uses database.yml; a straight AR-using thing is probably setting the AR configuration directly
<apeiros> matthewd: which is what I wrote…
<matthewd> nesoi: Find the place it sets the database server hostname/username/password, and change the 'adapter' there
<nesoi> matthewd: cool, thanks
<nesoi> and thanks apeiros
<matthewd> apeiros: Yeah sorry, I only half read
<nesoi> I will work on this a bit later, and appreciate the hints!
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
rohitpaulk has quit [Ping timeout: 255 seconds]
cadillac__ has quit [Ping timeout: 246 seconds]
SeepingN has joined #ruby
cadillac__ has joined #ruby
nesoi has quit [Quit: Leaving.]
Mix4555 has quit [Quit: Page closed]
omab has joined #ruby
rgr_ has joined #ruby
AgentVenom has joined #ruby
cadillac__ has quit [Ping timeout: 240 seconds]
alveric1 has joined #ruby
BSaboia has joined #ruby
rgr has quit [Ping timeout: 246 seconds]
alveric1 has quit [Client Quit]
nettoweb__ has joined #ruby
synthroid has quit []
drcode has joined #ruby
tomphp has joined #ruby
centrx has quit [Remote host closed the connection]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
Silthias1 has quit [Client Quit]
bvcosta has joined #ruby
chichou has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
romank has joined #ruby
tomphp has joined #ruby
mochiyoda_ has joined #ruby
xenops has joined #ruby
jgt2 has joined #ruby
kt has quit [Ping timeout: 260 seconds]
romank has quit [Read error: Connection reset by peer]
JohnT has quit [Quit: Page closed]
mochiyoda has quit [Ping timeout: 255 seconds]
romank has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
pupsicle has quit [Remote host closed the connection]
pupsicle has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
arup_r has joined #ruby
laekur has quit [Quit: Leaving]
jgnagy has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hobodave_ has joined #ruby
romank has quit [Read error: Connection reset by peer]
nettoweb__ has joined #ruby
__Yiota has joined #ruby
hobodave has quit [Ping timeout: 240 seconds]
romank has joined #ruby
jgnagy has quit [Ping timeout: 240 seconds]
kt has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
TvL2386_ has joined #ruby
alveric1 has joined #ruby
gnufied has quit [Ping timeout: 246 seconds]
TvL2386 has quit [Ping timeout: 240 seconds]
nofxxxx has joined #ruby
arup_r has quit [Remote host closed the connection]
t-recx has joined #ruby
nofxxx has quit [Ping timeout: 260 seconds]
pankaj has joined #ruby
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
HoierM has joined #ruby
shortdudey123 has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
synthroid has joined #ruby
gnufied has joined #ruby
[H|E|X] has joined #ruby
nankyokusei has joined #ruby
perniciouscaffei has joined #ruby
Joufflu has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
shortdudey123 has joined #ruby
mahlon has quit [Ping timeout: 240 seconds]
mahlon has joined #ruby
snath has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby
vktec has joined #ruby
<vktec> Is it possible to pass blocks to blocks?
<apeiros> yes
<apeiros> def foo; yield(&@stored_block); end; foo { |&block| block.call }
Cohedrin has joined #ruby
Kneecaps has joined #ruby
<vktec> Can you yield from a block though? I've tried Proc.new { || yield 3 }.call { |x| puts x } without success
<apeiros> no
<apeiros> yield is a keyword which is scoped to the current method
jgt2 has quit [Ping timeout: 240 seconds]
<vktec> Oh. That's a shame
<apeiros> and blocks aren't methods
shortdudey123 has quit [Ping timeout: 260 seconds]
<apeiros> the other way round would be the bigger shame
shortdudey123 has joined #ruby
nofxxxx has quit [Ping timeout: 240 seconds]
pie__ has left #ruby ["Leaving"]
<vktec> I guess being able to do stuff like def foo; @array.do { |x| yield x }; end is pretty handy
<apeiros> s/do/each/, but yes
maattdd has joined #ruby
<vktec> Uh, yeah. That
<vktec> Thanks for the help apeiros
<apeiros> yw
nofxxxx has joined #ruby
jgt2 has joined #ruby
pankaj has quit [Ping timeout: 255 seconds]
SCHAPiE has quit [Read error: Connection reset by peer]
dcluna has quit [Ping timeout: 240 seconds]
otherj has joined #ruby
cjhowe7 has joined #ruby
SCHAPiE has joined #ruby
otherj has quit [Client Quit]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
jenrzzz has quit [Ping timeout: 246 seconds]
dcluna has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
[Butch] has quit [Quit: I'm out . . .]
[reed] has quit [Ping timeout: 260 seconds]
[reed] has joined #ruby
[reed] has joined #ruby
[reed] has quit [Changing host]
iomotoko has quit [Quit: WeeChat 1.5]
tomphp has joined #ruby
mahlon has quit [Ping timeout: 240 seconds]
petruff has quit [Ping timeout: 255 seconds]
iomotoko has joined #ruby
mahlon has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
jane_booty_doe has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hobodave_ has quit [Quit: Computer has gone to sleep.]
KeyJoo has joined #ruby
iomotoko has quit [Quit: WeeChat 1.5]
sepp2k has joined #ruby
zapata has joined #ruby
pen has quit []
kies has quit [Ping timeout: 268 seconds]
Bocaneri is now known as PhillySteen
PhillySteen is now known as Bocaneri
jenrzzz has joined #ruby
Eiam_ has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
t-recx has quit [Quit: t-recx]
tomphp has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
tomphp has quit [Read error: Connection reset by peer]
hobodave has joined #ruby
ivanskie--work has joined #ruby
<ivanskie--work> hi
<ivanskie--work> how's it going every1
<havenwood> ivanskie--work: hi
<ivanskie--work> so.. i'm trying to download a file. using open-uri or the net/http.. it looked like it was basic auth, but i get response saying its anauthorized.
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<ivanskie--work> when a popup comes up asking for username/password... what else could it be? javascript based?
<ivanskie--work> it looks to be a standard dialog as if its basic auth. and i am certain the username/password i'm providing is correct.
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
patarr has joined #ruby
ecuanaso has joined #ruby
<centrx> ivanskie--work: Does that look like a window in your Windows?
<ivanskie--work> open-uri just saves empty files.. thats why i'm trying this net/http way to see what the problem is.
<centrx> or window manager
<ivanskie--work> yes
<centrx> ivanskie--work: So you are running Windows with the old-style theme?
<ivanskie--work> no its just old firefox
<ivanskie--work> lol
<ivanskie--work> i have to download 5 files from 22 devices..
patarr has quit [Ping timeout: 240 seconds]
<centrx> but like Windows 7 or Windows 10, by default they look different than that dialog box
<ivanskie--work> i'd say windows 7. its windows server 2008
dviola has quit [Quit: WeeChat 1.8]
dionysus69 has quit [Ping timeout: 260 seconds]
Otti has joined #ruby
pankaj has joined #ruby
pankaj_ has joined #ruby
mlindahl has joined #ruby
<centrx> ivanskie--work: I'm saying that window may not have been created by your OS. It may just be a fake window created by the site?
mim1k has joined #ruby
Renich has quit [Quit: Renich]
webopsx has joined #ruby
tomphp has joined #ruby
pankaj has quit [Client Quit]
webopsx has quit [Max SendQ exceeded]
konsolebox has quit [Ping timeout: 246 seconds]
<ivanskie--work> possible. I do think it's basic auth, because there is no other content on the page loading that i see in dev tools, until I put in credentials
Cohedrin has quit [Read error: Connection reset by peer]
<ivanskie--work> better question i guess would be how can I test this
Cohedrin has joined #ruby
<elomatreb> Look at the request/response headers in your browser
jenrzzz has quit [Ping timeout: 255 seconds]
mlindahl has quit [Ping timeout: 260 seconds]
konsolebox has joined #ruby
dcluna has quit [Ping timeout: 260 seconds]
<ivanskie--work> will try that
blackwind_123 has quit [Quit: Say What?]
HoierM has quit [Ping timeout: 246 seconds]
dcluna has joined #ruby
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oivanrodrigues has joined #ruby
<oivanrodrigues> #join #rails
oivanrodrigues has left #ruby [#ruby]
vktec has left #ruby ["So long and thanks for all the fish"]
<ivanskie--work> WWW-Authenticate
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kneecaps_ has joined #ruby
<ivanskie--work> ok i guess its not basic auth exactly
z64 has quit [Quit: WeeChat 1.7]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kneecaps has quit [Ping timeout: 255 seconds]
BSAlb has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
BSaboia has quit [Ping timeout: 260 seconds]
pankaj_ has quit [Quit: Leaving]
pankaj has joined #ruby
dionysus69 has joined #ruby
pankaj has quit [Client Quit]
BSAlb has quit [Ping timeout: 255 seconds]
jane_booty_doe has quit [Quit: Leaving]
taurgal has joined #ruby
<al2o3-cr> ivanskie--work: i think you want digest auth
<ivanskie--work> indeed
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
<ivanskie--work> i'm guessing this gem should help http://docs.seattlerb.org/net-http-digest_auth/Net/HTTP/DigestAuth.html
<al2o3-cr> ivanskie--work: thats stdlib
<ivanskie--work> net/http is
<ivanskie--work> but this says otherwise https://github.com/drbrain/net-http-digest_auth ?
Cohedrin has quit [Read error: Connection reset by peer]
<al2o3-cr> ivanskie--work: require 'net/http/digest_auth'
dionysus69 has quit [Ping timeout: 260 seconds]
romank has quit [Read error: Connection reset by peer]
flying has joined #ruby
Cohedrin has joined #ruby
Otti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb__ has joined #ruby
romank has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
<al2o3-cr> holy shit, what was i thinking. derp.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Xakotu has joined #ruby
<zenspider> rawr
<zenspider> al2o3-cr: clearly you were remembering webrick/httpauth/digestauth.rb :P
morfin has quit []
<al2o3-cr> most probably
* al2o3-cr is not with it today
nesoi has joined #ruby
ldnunes has quit [Ping timeout: 260 seconds]
plujon has joined #ruby
<zenspider> can be fixed with coffee :P
<al2o3-cr> aye
Xakotu has quit [Quit: Mutter: www.mutterirc.com]
rgr_ has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Otti has joined #ruby
xenops has quit [Quit: Textual IRC Client: www.textualapp.com]
jgt2 has quit [Ping timeout: 240 seconds]
centrx has quit [Remote host closed the connection]
<ivanskie--work> looks like that's working. weeee
flying has quit []
dionysus69 has joined #ruby
belmoussaoui has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
nankyokusei has quit [Ping timeout: 255 seconds]
contradictioned has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
Axy has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
belmoussaoui has quit [Client Quit]
ldnunes has joined #ruby
belmoussaoui has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
ecuanaso has joined #ruby
BSaboia has joined #ruby
Myk267 has left #ruby ["Leaving"]
marxarelli has joined #ruby
mim1k has quit [Ping timeout: 258 seconds]
iomotoko has joined #ruby
iomotoko has quit [Client Quit]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
iomotoko has joined #ruby
hobodave_ has joined #ruby
nertzy has quit [Quit: Leaving]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ecuanaso has joined #ruby
hobodave has quit [Ping timeout: 258 seconds]
romank has quit [Read error: Connection reset by peer]
kies has joined #ruby
<plujon> [].include? # <- is the performance for this defined? E.g. O(n), O(log n), O(1) ?
Cohedrin has quit [Read error: Connection reset by peer]
iomotoko has quit [Quit: leaving]
agent_white has joined #ruby
iomotoko has joined #ruby
synthroid has quit []
Cohedrin has joined #ruby
<elomatreb> plujon: I don't know about Array, but if you're worried about that performance you could try a Set instead, which uses as a Hash to lookup members in nearly (?) constant time
Kug3lis has quit [Ping timeout: 255 seconds]
<zenspider> plujon: that should be O(0) since it is empty
<plujon> har har
<zenspider> confirmed
<plujon> elomatreb: Thanks; I was going to convert array to a hash for guaranteed O(1). But I didn't think (or know) about Set.
<canton7> I'd be very surprised if Array#include? wasn't O(n), and Set#include? wasn't O(1)
<zenspider> I'm still surprised that people worry about speed these days
ur5us has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
nahra has quit [Ping timeout: 240 seconds]
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* plujon confirmed [].include? has O(n) performance using my ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iomotoko has quit [Quit: leaving]
<zenspider> yup yup. it's just a for loop
iomotoko has joined #ruby
kies has quit [Ping timeout: 255 seconds]
iomotoko has quit [Client Quit]
iomotoko has joined #ruby
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
iomotoko has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
jgnagy has joined #ruby
dcluna has quit [Ping timeout: 260 seconds]
ruurd has quit [Ping timeout: 240 seconds]
patr0clus has joined #ruby
biberu has quit []
KeyJoo has quit [Ping timeout: 240 seconds]
contradictioned has joined #ruby
Kug3lis has joined #ruby
ldnunes has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
iomotoko has joined #ruby
<zenspider> I'm guarding on all bang methods, []=, concat, and replace. Cwhat sneaky mutators are there in Array?
dcluna has joined #ruby
<elomatreb> shift?
<elomatreb> (and friends)
psychicist__ has quit [Ping timeout: 260 seconds]
<ljarvis> there's loads :(
ooc has joined #ruby
ooc has left #ruby [#ruby]
mtkd has quit [Ping timeout: 240 seconds]
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ascarter has joined #ruby
jgt2 has joined #ruby
mtkd has joined #ruby
tomphp has joined #ruby
synbit has joined #ruby
<zenspider> oooh. shift I already guard... I need to wrap up unshift/pop/push
<zenspider> thanks
synbit has quit [Client Quit]
impi0us has joined #ruby
impi0us has left #ruby [#ruby]
ecuanaso has joined #ruby
jgt2 has quit [Ping timeout: 240 seconds]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
mathys has quit [Quit: Leaving]
pupsicle has quit [Quit: Leaving]
kies has joined #ruby
Mia has quit [Ping timeout: 255 seconds]
marxarelli has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyphase has joined #ruby
minimalism has quit [Quit: minimalism]
mim1k has joined #ruby
enterprisey has joined #ruby
HoierM has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 260 seconds]
sepp2k has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
jgnagy has quit [Remote host closed the connection]
Cohedrin has quit [Read error: Connection reset by peer]
hobodave_ has quit [Quit: Computer has gone to sleep.]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ecuanaso has joined #ruby
cdg has quit [Ping timeout: 268 seconds]
Cohedrin has joined #ruby
marr has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz_ has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
theunraveler has quit []
marr has joined #ruby
cjhowe7 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cjhowe7 has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maattdd has quit [Ping timeout: 260 seconds]
Kneecaps_ has quit [Ping timeout: 268 seconds]
ascarter has joined #ruby
cschneid_ has quit [Remote host closed the connection]
bkxd has joined #ruby
davidmichaelkarr has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jgt2 has joined #ruby
bungoman has quit [Quit: Leaving]
nankyokusei has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
jgt2 has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
centrx has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
Otti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
taurgal has quit [Ping timeout: 246 seconds]
nettoweb__ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
dviola has joined #ruby
snath has left #ruby ["Leaving"]
al2o3-cr_ has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
al2o3-cr_ has quit [Ping timeout: 255 seconds]
Kug3lis has quit [Quit: Textual IRC Client: www.textualapp.com]
al2o3-cr has joined #ruby
haylon has quit [Remote host closed the connection]
nesoi has quit [Quit: Leaving.]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
enterprisey has quit [Remote host closed the connection]
ivanskie--work has quit [Ping timeout: 260 seconds]
omab has quit [Ping timeout: 246 seconds]
bkxd has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
t-recx has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
Kug3lis has joined #ruby
t-recx has quit [Quit: t-recx]
mikecmpbll has quit [Quit: inabit. zz.]
jgt2 has joined #ruby
zipace has quit [Ping timeout: 268 seconds]
chopin has joined #ruby
centrx has quit [Remote host closed the connection]
[H|E|X] has quit [Quit: -a- ...]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
dcluna has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
JoshS has quit [Ping timeout: 255 seconds]
duderonomy has quit [Ping timeout: 255 seconds]
centrx has quit [Remote host closed the connection]
ziyangtian has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
stormbytes has quit [Ping timeout: 255 seconds]
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
nettoweb__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alveric2 has joined #ruby
alveric1 has quit [Ping timeout: 268 seconds]
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]