DerisiveLogic has quit [Ping timeout: 264 seconds]
Deele has joined #ruby
<Hijiri>
diegoviola: /
<Hijiri>
sorry, typop
P1RATEZ has joined #ruby
cajone has joined #ruby
Ellis has joined #ruby
endash has quit [Quit: endash]
Spami has quit [Quit: This computer has gone to sleep]
arescorpio has quit [Read error: Connection reset by peer]
Guest123456666 has joined #ruby
juanpablo__ has joined #ruby
_blizzy_ has joined #ruby
nobitanobi has quit [Remote host closed the connection]
wallerdev has joined #ruby
Ellis has left #ruby [#ruby]
Bira has joined #ruby
msmith has quit []
Guest51681 has quit [Ping timeout: 276 seconds]
mrmargolis has joined #ruby
sshao has quit [Remote host closed the connection]
jerius has quit [Quit: /quit]
_blizzy_ has quit [Ping timeout: 240 seconds]
juanpablo__ has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
x1337807x has joined #ruby
cajone has quit [Ping timeout: 250 seconds]
bricker has quit [Quit: leaving]
milesmatthias has joined #ruby
Filete has joined #ruby
<rbo>
Does anyone here blog about their code? I wanted to know if there is an easy way to setup syntax (or code) highlighting with Github Flavored Markdown, trying to implement it into my blog posts.
<rbo>
or if RoR the only way to achieve it easily?
<rbo>
is*
sinkensabe has quit [Ping timeout: 264 seconds]
<sevenseacat>
i have code in my blog, i use jekyll for publishing
lidenskap has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_2_Vendetta has joined #ruby
<_2_Vendetta>
Hey
<pontiki>
hi
<_2_Vendetta>
wassup
beneggett has joined #ruby
<pontiki>
notmuch
icebourg has joined #ruby
<_2_Vendetta>
Ima New To This Shxt !
mjuszczak has joined #ruby
Brozo has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
mjuszcza_ has joined #ruby
_honning_ has quit [Ping timeout: 256 seconds]
_2_Vendetta has quit [Quit: WhatsChat IRC Android APP]
ebbflowgo has joined #ruby
yfeldblum has joined #ruby
mjuszczak has quit [Ping timeout: 256 seconds]
spicerack has joined #ruby
mocha has quit [Quit: Leaving]
mjuszcza_ has quit []
<Radar>
YO WHAT UP MY HOMIE
Technodrome has quit [Quit: Technodrome]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
yo Radar
<Radar>
shevy: MY DAWG WHAT IS *UP* FOOL?
<sevenseacat>
lol
<shevy>
just woke up!
<shevy>
now I have to feed the cat first... she is staring at me from a corner again... it's psychic warfare, until I get to feed her, she just continues to stare...
Brozo has joined #ruby
<havenwood>
shevy: do what the cat says
lidenskap has quit [Remote host closed the connection]
beneggett has joined #ruby
<agent_white>
shevy: Lucky. My cat pees on the wall or takes over my sleep spot.
<agent_white>
Though if I turn on the space-heater she turns into a banana in front of it.
Lissie has quit [Read error: Connection reset by peer]
slackbotgz has quit [Remote host closed the connection]
Lissie has joined #ruby
lidenskap has joined #ruby
oo_ has quit [Remote host closed the connection]
<peteyg>
Does calling Thread.new { GC.start() }.join behave as expected (namely, trigger the global GC in a separate thread--though I understand the benefits are limited due to Ruby's GIL)?
Eiam_ has joined #ruby
oo_ has joined #ruby
MyGreenPickle has joined #ruby
Zamerick has quit [Read error: Connection reset by peer]
tearan has joined #ruby
tearan has quit [Client Quit]
fred1807 has quit [Quit: fred1807]
Brozo has quit [Remote host closed the connection]
Cloudhand has joined #ruby
Brozo has joined #ruby
Lissie has quit [Quit: My computer has gone to sleep. ZZZzzz…]
a5i has quit [Quit: Connection closed for inactivity]
Spami has joined #ruby
bricker has joined #ruby
_blizzy_ has quit [Ping timeout: 245 seconds]
Technodrome has joined #ruby
rshetty has joined #ruby
jenrzzz has joined #ruby
roger_rabbit has quit [Read error: Connection reset by peer]
<zenojis>
I would guess so, why not test it? shouldn't be hard to make a little test script
Rickmasta has joined #ruby
<Eiam_>
my hosting service passes in $RACK_ENV for my procfile, web: bundle exec thin -R config.ru start -p $PORT -e $RACK_ENV
<Eiam_>
but when I use foreman start, $RACK_ENV isn't set. Would the appropriate place to set that be in like.. environments.rb for sinatra? something like ENV['RACK_ENV'] = :development ?
MyGreenPickle has quit [Ping timeout: 264 seconds]
tcrypt has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
Morkel has joined #ruby
djbkd has joined #ruby
freerobby has quit [Quit: Leaving.]
Morkel has quit [Client Quit]
dudedudeman has quit [Ping timeout: 252 seconds]
Morkel has joined #ruby
dudedudeman has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Dreamer3_ has joined #ruby
Contigi777 has joined #ruby
jud^ has joined #ruby
<bricker>
Eiam_: If it's Foreman, put it in .env
mgberlin has quit [Remote host closed the connection]
greenbagels_ has joined #ruby
Anthony__ has joined #ruby
<Eiam_>
hmm, lemme go read foreman docs to see where is reading that
Dreamer3 has quit [Read error: Connection reset by peer]
<Eiam_>
for posterity, configure :development do
<Eiam_>
set :database, 'sqlite:///dev.db'
<Eiam_>
set :show_exceptions, true
<Eiam_>
ENV['RACK_ENV'] = "development" did not work =)
<Eiam_>
damnit stupid multiline
<Eiam_>
sry
balazs has joined #ruby
mgberlin has joined #ruby
<bricker>
Eiam_: well, it makes sense right, but the time it gets to that line it's too late
<bricker>
that's why it's passed in as a command line argument :)
<Eiam_>
right
<Eiam_>
=)
<Eiam_>
curse you and your logic
A205B064 has quit [Ping timeout: 264 seconds]
mgberlin has quit [Remote host closed the connection]
Guest62726 has quit [Ping timeout: 252 seconds]
mgberlin has joined #ruby
<Radar>
Yeah, what bricker said. Put it in .env
Contigi has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
greenbagels has quit [Ping timeout: 240 seconds]
VBlizzard has quit [Ping timeout: 240 seconds]
<Eiam_>
hmm. yeah
jud has quit [Ping timeout: 245 seconds]
<Eiam_>
I don't want to drop it in my bash profile
<Eiam_>
gonna see if it will take a local .env file
tubuliferous_ has quit [Ping timeout: 264 seconds]
mjuszczak has joined #ruby
pdoherty has quit [Quit: Leaving]
oo_ has quit [Remote host closed the connection]
plutonic has quit [Quit: plutonic]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ylluminarious has quit [Quit: Leaving...]
rbo has joined #ruby
<Eiam_>
man I feel so productive again
<Eiam_>
surreal to write code without struggling
rshetty has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
duncannz has joined #ruby
pontiki has quit [Quit: good night]
beneggett has joined #ruby
<sevenseacat>
the thing that amazes me about ruby is how much you can do with how little code, whenever i use languages that dont have nice things like map, or select, etc. i go nuts
<Eiam_>
oh haskell for sure has those..
<Radar>
Really Haskell is simple too
<sevenseacat>
you mean i have to write my own loops and do counts? ffs
Lubbed has joined #ruby
<Brozo>
lol
<Radar>
a :: a -> b() x monad something
<Lubbed>
Hey.
<Eiam_>
Radar: once you know something, i agree that its simple. =)
<sevenseacat>
true. i havent done haskell for a long time
<Brozo>
i feel like ruby is the devils fruit for high schoolers learning code
yfeldblum has quit [Remote host closed the connection]
<Lubbed>
How long does it take to become really good at Ruby and RoR? (Consider previous programming skills)
<Radar>
Eiam_: I tried to learn Haskell and it wasn't explained well so I gave up. True story.
<Brozo>
then again its still used
<bricker>
Lubbed: 15 minutes
<Radar>
Lubbed: I'll let you know when I get there. It's taken me 10 years to get this far.
<Eiam_>
Radar: I have spent about 6 weeks on haskell..
<sevenseacat>
depends on said previous programming skills
rshetty has quit [Client Quit]
<Eiam_>
i can mostly read & follow it now but.. siting down from scratch and doing stuff takes me a long time
<sevenseacat>
Radar: and i think nearly everyone would call you 'really good at them' :P
yfeldblum has joined #ruby
<Brozo>
Lubbed: how much experience are we talking here
agent_white has joined #ruby
<Radar>
sevenseacat: In certain areas.
<Eiam_>
Lubbed: I think Ruby and RoR are two different skill sets
<Radar>
One does not simply become a master of everything
mjuszczak has quit []
<Lubbed>
Radar, 10 years?
<sevenseacat>
true.
<bricker>
I'm on the Go train now, choo choo all aboard
<Radar>
Lubbed: Round about.
<Eiam_>
I'm happy to know very little RoR
<sevenseacat>
just when i think i'm getting good, i get foiled by stupid little issues
<Radar>
Lubbed: It's very easy to learn Ruby + Rails. I would say a couple of months of good study would get you familiar with most of the concepts.
mleung has quit [Quit: mleung]
<Lubbed>
Brozo, C, C++, x86 asm, phd in pure math. Round it to 12 years.
<Radar>
Lubbed: But it's the practice of running into issues after issues after issues that really gives you the skill.
<sevenseacat>
like 'lets apply and display validations to a has_many relationship'
<sevenseacat>
grr
rbo has quit [Ping timeout: 256 seconds]
<Radar>
LOL no
<sevenseacat>
-_-
ylluminarious has joined #ruby
iotouch has joined #ruby
<Lubbed>
Radar, I think you have rounded the numbers too high up.
<bricker>
Radar: yes that's why I hang out here, people run into issues for me and I solve them and steal the knowledge gains
nahtnam has quit [Quit: Connection closed for inactivity]
x1337807x has joined #ruby
<sevenseacat>
user can upload many documents. have to upload at least one of type A and one of type B
<Radar>
Lubbed: Have I?
mjuszczak has joined #ruby
beneggett has quit [Client Quit]
<Radar>
bricker: +1
<Lubbed>
Radar, You would still say 10 years? I told you my previous experience.
<Radar>
bricker: Similar to group questing in RPGs ;)
<bricker>
:D
<sevenseacat>
true, i've learnt so much just by seeing other people answering stuff
<sevenseacat>
i hate group questing in RPGs.
<Radar>
Lubbed: 10 years was a joke. I did qualify that it was a couple of months probably that you could use to get a proper hang of most things
* sevenseacat
plays MMOs solo
<Brozo>
isn't that why employers nowadays ask for stackoverflow usernames
<Radar>
sevenseacat: when it's a good group it's good
<Radar>
sevenseacat: PUGs are shit and I avoid them if I can
<Lubbed>
Radar, I'm talking about being really good. Proper is not enough :(
<Eiam_>
damn, leave for a year and it all changes =/ does pry suck now too?
<Radar>
Pry is still amazing.
<Eiam_>
okay whew
<Radar>
Eiam_: Well, I would like it to fall out of favour completely mainly because I have a vendetta against 37 Signals and anyone who works for them.
<Brozo>
what makes pry better than rbenv?
<sevenseacat>
haha
<Radar>
pry doesn't do the same thing as rbenv
<Eiam_>
they are totally different things
<AlecTaylor>
Wasn't pry an irb thing?
<Radar>
I want them to have less influence on our tooling because they have a terrible (as of recent) record of releasing terrible software.
<Eiam_>
pry is a debugger
<Radar>
Turbolinks, rbenv, Sprockets, etc.
<sevenseacat>
good thing 37 signals doesnt exist anymore!
<AlecTaylor>
ah
tubuliferous has joined #ruby
<Radar>
sevenseacat: oh true, they renamed.
<sevenseacat>
indeed
<Eiam_>
hiding from radar no doubt
<sevenseacat>
theyre all about that base...camp now
bluOxigen has joined #ruby
<bricker>
Radar: is pry developed by 37s?
<Radar>
bricker: no
<Eiam_>
no
<Eiam_>
banister
<Radar>
sevenseacat: See what you did there, I did.
<bricker>
Radar: oh, I missed the context of your messages
<Radar>
bricker: tl;dr: burn rbenv at the stake, use ruby-install+chruby instead. pry is heavenly. Basecamp sucks at software that isn't Basecamp.
<Radar>
There were three things I was talking about, really.
<sevenseacat>
basecamp is kinda sucky too, tbh. i didn't enjoy using it.
<bricker>
Radar: agree, agree, agree, agree
<bricker>
Basecamp be like, "Remove functionality that's not core to Rails! 100% of Rails users don't need it? Remove it!"
<bricker>
HERE'S SOME WEBSOCKETS ENJOY
<bricker>
HERE'S SOME JAVASCRIPT PJAX THING THAT DOESN'T WORK ENJOY
<bricker>
(I know turbolinks is not part of rails core)
psy_ has quit [Ping timeout: 250 seconds]
<sevenseacat>
we heard you like debugging asset problems so we made you a pipeline so we can forcefeed you with them
towski_ has quit [Remote host closed the connection]
blueOxigen has joined #ruby
<Radar>
bricker: it's enabled by default and that's bad enough
<bricker>
agreed
<bricker>
sevenseacat: shhhh, the asset pipeline is the reason rails devs still make a lot of money
<bricker>
if it was easy, anybody could do it
<Radar>
Also hilarious that when sprockets came out it *was* baked into Rails quite heavily. I submitted a PR to extract it out into a gem called sprockets-rails, which got rejected.
<Radar>
Two years later, they created a gem called sprockets-rails.
<Radar>
WHOOPS
<sevenseacat>
Radar: you're a man ahead of your time
michael_mbp has quit [Excess Flood]
bluOxigen has quit [Ping timeout: 255 seconds]
<bricker>
Sounds like they owe you some OSS bucks
tubuliferous has quit [Ping timeout: 245 seconds]
<bricker>
which you can spend on free OSS
<Radar>
bricker: So many Fake Internet Points owed.
<AlecTaylor>
Radar: Okay, so installing Ruby with ruby-install, which flags should I use?
<AlecTaylor>
sevenseacat, Radar : I ran `$ ruby-install ruby`
<sevenseacat>
you missed the version number
<sevenseacat>
which version do you want to install?
<AlecTaylor>
latest
<AlecTaylor>
this got 2.2.1
Technodrome has quit [Quit: Technodrome]
<rbo>
evening again sevenseacat :)
* rbo
had to install linux...
<AlecTaylor>
Do I just manually augment my PATH, is there a flag, or should I install it system wide? `- >>> Successfully installed ruby 2.2.1 into /home/at/.rubies/ruby-2.2.1`
oo_ has joined #ruby
<sevenseacat>
rbo: howdy
<sevenseacat>
AlecTaylor: thats what chruby is for
<Radar>
AlecTaylor: Install chruby as well and the follow the autoswitching instructions further down in the readme
<AlecTaylor>
kk
<Eiam_>
hmm. auto reloader/watcher for foreman? i would have kind of expected it to do so on its own, bu it does not appear that way
<sevenseacat>
even asciidoctor, i found out, though its not complete
<bricker>
:O
iotouch has quit [Quit: This computer has gone to sleep]
<bricker>
Eiam_: you don't really need to restart your server in dev though
<Radar>
You do it if it's a Sinatra app
<bricker>
indeed
<Eiam_>
^
www-BUKOLAY-com has joined #ruby
<Eiam_>
it is sinatra
<Eiam_>
i am, sadly enough, dicking with favicons
Brozo has left #ruby ["Leaving..."]
towski_ has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
<Eiam_>
for some reason its not looking in public for "GET /apple-touch-icon.png HTTP/1.1" 404
<Eiam_>
I hate 404s =)
Feyn has joined #ruby
icebourg has quit []
michael_mbp has joined #ruby
jeromelanteri has joined #ruby
philip1 has quit [Ping timeout: 256 seconds]
<AlecTaylor>
sevenseacat, Radar: It's not working :( - put the auto.sh and chruby.sh in my .bashrc, but it can't find my ruby ( ~/.rubies/ruby-2.2.1/bin/ruby )
<AlecTaylor>
ruby --version still fails to find ruby in a new shell window :(
iotouch has joined #ruby
<sevenseacat>
are you using bash?
<Radar>
AlecTaylor: wat
<Radar>
AlecTaylor: what happens when you run `which ruby`
<AlecTaylor>
Radar: error code 1
<Radar>
AlecTaylor: which gives you an error code?
<AlecTaylor>
No
<Radar>
AlecTaylor: Or you mean that it exits?
<AlecTaylor>
No
<AlecTaylor>
Wait, I mean the which command returns 1
<AlecTaylor>
echo $?
<Radar>
right
<Radar>
how about chruby ruby 2.2.1
<AlecTaylor>
$ chruby-exec ruby 2.2.1
<AlecTaylor>
chruby-exec: COMMAND required
<AlecTaylor>
chruby not found in PATH :(
<Radar>
yay
<Eiam_>
spent 2 hours today trying to wedge my procfile into docker
<Radar>
I don't know how that happened.
<Eiam_>
so I wouldn't have to run services locally
<Eiam_>
gave up, just ended up using foreman (obviously)
<Radar>
AlecTaylor: What commands did you use to install chruby? Per the README or what?
<ruboto>
AlecTaylor, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<Radar>
AlecTaylor: Start a new terminal. Is it present there?
<Radar>
That output looks good to me
<AlecTaylor>
$ chruby
<AlecTaylor>
chruby: command not found
<Radar>
wow.
<Radar>
I have no idea how this is happening :(
ohaibbq has joined #ruby
<AlecTaylor>
:(
<AlecTaylor>
So I'll manually augment my PATH and hope that grunt then works?
RegulationD has quit [Ping timeout: 256 seconds]
astrobunny has joined #ruby
<Radar>
seems_bad.jpg
<Radar>
I would investigate why chruby isn't working for you.
tagrudev has joined #ruby
Contigi has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
greenbagels__ has joined #ruby
Olipro- has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
Cloudhand has quit [Ping timeout: 256 seconds]
MatthewsFace has quit [Remote host closed the connection]
<Radar>
AlecTaylor: Consider filing a bug report with the details from script/bug_report.sh in the chruby dir
<Radar>
interesting that the last line in the install script only copies documentation
<Radar>
It's like it's not copying the script at all
greenbagels__ has quit [Client Quit]
greenbagels_ has quit [Ping timeout: 246 seconds]
Channel6 has quit [Quit: Leaving]
jud^ has quit [Ping timeout: 255 seconds]
Contigi777 has quit [Ping timeout: 255 seconds]
jamto11 has quit [Ping timeout: 246 seconds]
gmas has quit [Ping timeout: 252 seconds]
Anthony__ has quit [Ping timeout: 264 seconds]
jaequery has quit [Ping timeout: 250 seconds]
Dreamer3_ has quit [Ping timeout: 256 seconds]
dopie has joined #ruby
TinkerTyper has quit [Ping timeout: 264 seconds]
doppler has joined #ruby
<doppler>
o/
dparker1 has quit [Quit: Leaving.]
shock_one has joined #ruby
bricker has joined #ruby
blueOxigen has quit [Ping timeout: 255 seconds]
<Eiam_>
hmm. so when using pry with foreman, It hits the "client received, starting remote session" then it mmediately terminates the session too. https://gist.github.com/anonymous/4a97e1c1270ce4967bb4 ? documentation seems to indicate that remote debugger should work with foreman
<AlecTaylor>
Radar: rarr, I don't want to code/improve ruby and its toolsets, all I want is for my static file generator to work with my javascript toolset
djbkd has joined #ruby
jud has joined #ruby
jud has quit [Changing host]
jud has joined #ruby
TinkerTyper has joined #ruby
Dreamer3 has joined #ruby
OnBrokenWings has joined #ruby
Olipro- has joined #ruby
<Radar>
AlecTaylor: Sorry I couldn't hear you over the sound of that delicious irony. Please try again.
<Radar>
"I want to benefit from OSS, but I don't want to contribute back to it."
<shevy>
AlecTaylor I usually compile ruby from source, it was much simpler for me than having to learn some tool. Latest source is at: ftp://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.xz
mwlang has joined #ruby
gmas has joined #ruby
psy_ has joined #ruby
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ruby
aganov has joined #ruby
dopie has quit [Remote host closed the connection]
sigurding has joined #ruby
sinequanon has joined #ruby
SOLDIERz has joined #ruby
AlecTaylor has quit [Quit: Leaving]
dopie has joined #ruby
mjuszczak has quit []
A205B064 has joined #ruby
agent_white has quit [Quit: goodnight]
djbkd has quit [Quit: Leaving...]
f3lp has quit [Ping timeout: 272 seconds]
BradPitt has joined #ruby
droidburgundy has joined #ruby
iamninja_ has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby
djellemah has joined #ruby
mistermocha has quit [Remote host closed the connection]
<Eiam_>
where are all the settings for sinatra stored? setings.inspect has effectively nothing in it. where are all the values that "set :" sets ?
Spami has quit [Quit: This computer has gone to sleep]
OnBrokenWings has quit [Ping timeout: 244 seconds]
OnBrokenWings has joined #ruby
icarus has joined #ruby
iasoon has quit [Ping timeout: 276 seconds]
linoespinoza has joined #ruby
icarus has quit [Ping timeout: 256 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<certainty>
moin
icarus has joined #ruby
lkba has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
linoespinoza has quit [Remote host closed the connection]
<Eiam_>
you pased :source as an option for the gem 'my_test_gem', but it is invalid. Valid options are: group, groups, git, path, name, branch, ref, tag, require,
<Eiam_>
submodules, platform, platforms, type
<Radar>
What version of bundler are you using?
<Radar>
bundler -v
<Eiam_>
1.6.2
<Eiam_>
hm that maybe old
<sevenseacat>
and youre looking at the docs for 1.7
Igorshp has joined #ruby
<Eiam_>
looks like its on 1.9 =0
workmad3 has joined #ruby
* Eiam_
updates
<Eiam_>
indeed =)
<Eiam_>
gosh its late, im going to blame the time =)
<Eiam_>
haha thanks
<Eiam_>
and now it works as expected
astrobunny has joined #ruby
<Radar>
MAGIC
<Eiam_>
MAGIC!
<Eiam_>
honestly that was just me being dumb
<Eiam_>
but its a sign I should sleep so, im off for the evening. thank you fine folks have a good morning/day/night wherever you are
rodferso1 has quit [Ping timeout: 256 seconds]
<Radar>
Eiam_: gnight
workmad3 has quit [Ping timeout: 250 seconds]
Lissie has quit [Read error: Connection reset by peer]
Lissie has joined #ruby
rkazak has joined #ruby
postmodern has joined #ruby
kevinhh has joined #ruby
Nahra has joined #ruby
rkazak has left #ruby [#ruby]
yfeldblum has quit [Remote host closed the connection]
jheg has joined #ruby
kevinhh has quit [Client Quit]
kevinhh has joined #ruby
vasilakisfil has joined #ruby
Igorshp has quit [Remote host closed the connection]
allenn has joined #ruby
_blizzy_ has joined #ruby
vire has joined #ruby
scripore has joined #ruby
<shevy>
bugs bugs bugs
ohaibbq has quit [Quit: Leaving...]
juanpablo__ has joined #ruby
kyrylo_ has joined #ruby
wldcordeiro has joined #ruby
* wasamasa
bugs shevy
<shevy>
ruby has gotten pretty big
<shevy>
ruby-2.2.2.tar.xz 10M
wldcordeiro has quit [Max SendQ exceeded]
_blizzy_ has quit [Ping timeout: 252 seconds]
<shevy>
still smaller than python3
<shevy>
python-3.4.3.tar.xz 14M
<shevy>
even perl
codecop has joined #ruby
<shevy>
perl-5.20.2.tar.xz 11M
wldcordeiro has joined #ruby
jheg has quit [Quit: jheg]
wldcordeiro has quit [Max SendQ exceeded]
juanpablo__ has quit [Ping timeout: 240 seconds]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kq_away>
Is there a mnemonic or something to remember the difference between .. and ...?
Igorshp has quit [Remote host closed the connection]
<kq_away>
Checking it in pry/irb all the time is tedious
<pipework>
inclusive vs. not
rikai has quit [Ping timeout: 245 seconds]
Macaveli has joined #ruby
<kq_away>
pipework: I just can't seem to remember which is which
<pipework>
kq_away: That inclusive is ..?
<sevenseacat>
I generally remember it as 0...5 being 0 to 5 ...but not 5
RegulationD has quit [Ping timeout: 256 seconds]
w0lf has joined #ruby
bal has quit [Quit: bal]
simonewestphal has left #ruby [#ruby]
<pipework>
I generally use inclusive more, so .. being shorter is all I need.
Lissie has quit [Read error: Connection reset by peer]
bal has joined #ruby
Hobogrammer_ has joined #ruby
Lissie has joined #ruby
<kq_away>
uh uh
<kq_away>
I know there are .. and ..., and one is inclusive and one is not, my problem is that in half an hour I won't know which is which again and I'll have to fire up pry again
<kq_away>
I was looking for something like right hand rule or something
Hobogrammer has quit [Ping timeout: 246 seconds]
<pipework>
kq_away: Either stop smoking while you work, or smoke some more.
<sevenseacat>
well i told you how i remember it, so
<shevy>
is ARGV[0] the same as ARGV.first? I would assume so but right now I stare at old code I wrote and my old code confuses me
<Radar>
shevy: yes
scripore has quit [Quit: This computer has gone to sleep]
<Radar>
ARGV is an Array
justin_pdx has joined #ruby
<shevy>
okies
<Radar>
unless someone overrode #[] or #first, they will return the same values
<kq_away>
oh, right, sevenseacat
<shevy>
kq_away I remember the .. vs. ... with as the "extra dot", which "adds something extra" (the element itself) aka more dots, more data
<avril14th>
I see a lot of gems to limit / filter received api requests ( rack_defense, etc.), but it there a gem to SEND request so they won't get filtered away by a server using such limits?
ta_ has joined #ruby
sinequanon has quit []
livathinos has quit [Ping timeout: 250 seconds]
psy_ has quit [Ping timeout: 264 seconds]
_djbkd has quit [Ping timeout: 256 seconds]
djbkd_ has joined #ruby
Lissie has quit [Quit: My computer has gone to sleep. ZZZzzz…]
chthon has joined #ruby
<adaedra>
grml, Hash#slice is only in ActiveSupport
balazs has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
vtunka has joined #ruby
granthatcher has joined #ruby
IronKoopa has quit [Quit: Leaving]
<sevenseacat>
see, activesupport is useful!
piotrj has joined #ruby
colorisco has joined #ruby
Hirzu_ has quit [Remote host closed the connection]
plutonic has quit [Quit: plutonic]
Hirzu has joined #ruby
balazs has quit [Ping timeout: 264 seconds]
codecop has quit [Remote host closed the connection]
<ytti>
pry is on of the few programs i donated for
<ytti>
it saves so much time for me
iasoon has quit [Ping timeout: 256 seconds]
quimrstorres has joined #ruby
<izzol>
adaedra: looks nice
<adaedra>
it is
astrobunny has quit [Remote host closed the connection]
<adaedra>
helped me find a bug rather quickly
zenojis has quit [Ping timeout: 246 seconds]
<izzol>
I will need to spend some time to undertand how to use it efficiently.
<izzol>
but it looks like it can help ;-)
<djellemah>
izzol: binding.pry is unbelievably useful
astrobun_ has joined #ruby
postmodern has quit [Quit: Leaving]
hectortrope has joined #ruby
Morkel has quit [Quit: Morkel]
yqt has quit [Ping timeout: 272 seconds]
Cust0sL1men has joined #ruby
ZYPP has quit [Remote host closed the connection]
Brozo has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
panga has joined #ruby
krisquigley has joined #ruby
jsaak has quit [Ping timeout: 244 seconds]
n008f4g_ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
krisquig_ has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
hectortrope is now known as noobQ
teddyp1cker has joined #ruby
ZYPP has joined #ruby
Brozo has quit [Ping timeout: 264 seconds]
ponga has quit [Ping timeout: 256 seconds]
dumdedum has joined #ruby
musashi1 has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 272 seconds]
krisquigley has joined #ruby
lolmaus has quit [Ping timeout: 256 seconds]
djdb has joined #ruby
timonv has joined #ruby
lidenskap has joined #ruby
mengu has joined #ruby
jasabella has quit [Ping timeout: 256 seconds]
terlar has quit [Read error: No route to host]
lidenskap has quit [Ping timeout: 272 seconds]
stef204 has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Oreolek has joined #ruby
musashi1 has joined #ruby
<Oreolek>
hi! can anyone help me with mysql2 gem? it hangs on UPDATE queries
<Oreolek>
and the regular mysql has problems with Unicode
<musashi1>
anyone have an idea as to what this error means : /home/yogamixer/.rvm/gems/ruby-2.2.1/gems/sequel-4.20.0/lib/sequel/extensions/pg_array.rb:206:in `block in extended': undefined method `copy_conversion_procs' for #<Sequel::SQLite::Database: "sqlite://development.db"> (NoMethodError)
<izzol>
undefined method sounds like the undefined method
<izzol>
Are you sure copy_conversion_procs is defined?
edwinvdgraaf has joined #ruby
<okdas>
:D
<adaedra>
Oreolek: With that much information, we can't see many things…
<musashi1>
I suppose it must not be but.. how does one define it? I feel like that is a function that should be installed by something else
<adaedra>
wait
kyrylo_ is now known as kyrylo
<adaedra>
pg_array sounds like something that could act on Postgre databases
iasoon has joined #ruby
<adaedra>
anyway, I suggest that you ask this on #sequel channel. It's not very active, but Sequel's author is there and may help you reliably
<canton7>
^ correct
<canton7>
sounds like you're trying to use a postgres-specific data type on an sqlite database
<vulix>
So I do some data mining for work. Noticed ruby lacks tools in this space but Im new to the language and like it. Is it wasted effort to recreate the wheel a bit here? Think anyone will use some data\web mining tools?
<musashi1>
@adaedra will do thank you
<canton7>
musashi1, why are you using pg_array?
<musashi1>
@canton7 i'll look into this thank you for giving me some hints
<adaedra>
some context (code *hint* *hint*) may help
DanKnox has joined #ruby
<canton7>
what code are you running that produces that problem?
<izzol>
the best will be to show some part of the code ;-)
<musashi1>
why is it looking for pg_array.rb in that sequel subdirectory
DaniG2k has joined #ruby
<musashi1>
I'm happy to show some code :D
<canton7>
please do
<adaedra>
and don't use pastebin
<musashi1>
there's just a number of files let me see if i can pick through the right one
<canton7>
(top tip: posting code is the *first* thing you should do)
<musashi1>
i see. pardon me, then
nfk has joined #ruby
matcouto has joined #ruby
krz has joined #ruby
<musashi1>
so the issue here is that there are like 15 files in this project and i'm trying to figure out which one is calling it
ta_ has joined #ruby
<adaedra>
I suppose it's not on GitHub/BitBucket/whatever?
fgo has quit [Ping timeout: 250 seconds]
<musashi1>
no it's all custom
lolmaus has joined #ruby
<adaedra>
vulix: never be afraid of writing code even if it already exists, and even more if it's for training/fun purpose.
sevenseacat has quit [Quit: Me dun like you no more.]
<canton7>
musashi1, your code should be in the call stack from that exception
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
<musashi1>
ok, i'm googling how to trace that.. the program gives that error when i run foreman start on a sinatra app
iotouch has quit [Quit: This computer has gone to sleep]
allcentury has joined #ruby
iotouch has joined #ruby
panga has quit [Remote host closed the connection]
bruno- has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
bruno- is now known as Guest74468
terlar has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
riotjones has joined #ruby
jenrzzz has joined #ruby
codecop has joined #ruby
psmolen has quit [Ping timeout: 245 seconds]
Guest74468 has quit [Ping timeout: 245 seconds]
Renich has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
avgerinos has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
tubuliferous has joined #ruby
jenrzzz has joined #ruby
tubuliferous has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
niKeITA has quit [Ping timeout: 252 seconds]
balazs has joined #ruby
giuseppesolinas has joined #ruby
edwinvdgraaf has joined #ruby
doodlehaus has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
balazs has quit [Ping timeout: 246 seconds]
doodlehaus has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 245 seconds]
chthon has quit [Ping timeout: 244 seconds]
Soda has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
piotrj has quit [Read error: Connection reset by peer]
msgodf has joined #ruby
piotrj has joined #ruby
Zai00 has quit [Quit: Zai00]
nettoweb has joined #ruby
_blizzy_ has joined #ruby
psy_ has quit [Ping timeout: 256 seconds]
ta_ has quit [Remote host closed the connection]
startupality has joined #ruby
juanpablo__ has joined #ruby
psmolen has joined #ruby
sdothum has joined #ruby
doertedev has quit [Quit: Lost terminal]
mostlybadfly has joined #ruby
AlphaAtom has joined #ruby
joonty has quit [Quit: joonty]
chthon has joined #ruby
riotjones has joined #ruby
juanpablo__ has quit [Ping timeout: 272 seconds]
User458764 has joined #ruby
psmolen has quit [Ping timeout: 245 seconds]
RegulationD has joined #ruby
plutonic has joined #ruby
piotrj has quit [Read error: Connection reset by peer]
piotrj_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 250 seconds]
fgo has joined #ruby
ndrei has joined #ruby
Morkel has joined #ruby
niKeITA has joined #ruby
sigurding has quit [Quit: sigurding]
Renich has quit [Quit: leaving]
Skelz0r has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
gfawcettpq has joined #ruby
w1xz has joined #ruby
Skelz0r has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ruby
Narzew has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 245 seconds]
Narzew has joined #ruby
rodfersou has joined #ruby
Lap64 has quit [Quit: Leaving]
bruno- has joined #ruby
piotrj_ has quit [Remote host closed the connection]
bruno- is now known as Guest43111
simonewestphal has joined #ruby
r3dk1ng has joined #ruby
piotrj has joined #ruby
vasilakisfil_ has joined #ruby
lolmaus has quit [Ping timeout: 256 seconds]
vasilakisfil has quit [Ping timeout: 265 seconds]
Guest43111 has quit [Ping timeout: 276 seconds]
riotingpacifist has joined #ruby
Brozo has joined #ruby
rocknrollmarc has joined #ruby
Squarepy has joined #ruby
ponga has joined #ruby
metalic has joined #ruby
doertedev has joined #ruby
mdw has joined #ruby
Brozo has quit [Ping timeout: 276 seconds]
philip1 has joined #ruby
platzhirsch has joined #ruby
duncannz has quit [Ping timeout: 255 seconds]
piotrj_ has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
jgoyon has joined #ruby
platzhirsch has left #ruby [#ruby]
yqt has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
piotrj has quit [Ping timeout: 256 seconds]
scripore has joined #ruby
lolmaus has joined #ruby
Narzew has quit [Quit: Leaving]
lidenskap has joined #ruby
vdamewood has joined #ruby
niKeITA has quit [Quit: ZZZzzz…]
scripore has quit [Client Quit]
barkerd427 is now known as zz_barkerd427
Lloyd is now known as lloyd
scripore has joined #ruby
segfalt has joined #ruby
<riotingpacifist>
is there a good guide on how ruby scripts output, e.g not just the code itself but how it interacts with readline,etc
oo_ has quit [Remote host closed the connection]
marius has joined #ruby
<riotingpacifist>
my issue is when i run code locally I get output immediatly, but when i run it on the build system the output all gets cached and output at once, however other scripts on the buildbox output immediatly, so this only seems to affect ruby
<apeiros>
what's wrong with me? for a second I pondered writing a short ascii animation and pasting the code here…
piotrj has joined #ruby
* havenwood
tries to resist the urge to ascii animate
icarus has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 256 seconds]
User458764 has joined #ruby
dumdedum has quit [Read error: Connection reset by peer]
pwattste has joined #ruby
piotrj has quit [Remote host closed the connection]
Narzew has joined #ruby
last_staff has quit [Quit: last_staff]
Zai00 has joined #ruby
davedev24_ has quit [Remote host closed the connection]
<Igorshp>
Hi guys, i'm having fun time trying to fix 'Assignment Branch Condition' check in rubocop. Looking for some help identifying exactly what triggers it
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mengu has quit [Remote host closed the connection]
ndrei has joined #ruby
niKeITA has quit [Quit: ZZZzzz…]
RegulationD has joined #ruby
wottam has joined #ruby
tubuliferous has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
NodeBoy has joined #ruby
<NodeBoy>
hello all
b4tm4n has joined #ruby
<b4tm4n>
any rbenv users around?
rocknrollmarc has quit [Quit: BitchX-1.2.1 -- just do it.]
AlphaAtom has quit [Ping timeout: 272 seconds]
<jhass>
?anyone
<ruboto>
Just ask your question, if anyone has, they will respond.
jenrzzz has joined #ruby
n008f4g_ has quit [Ping timeout: 245 seconds]
yqt has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
<apeiros>
slava_dp: and you're welcome to the free help. glad you enjoy the answer…
tubuliferous has quit [Ping timeout: 240 seconds]
fred1807 has joined #ruby
<b4tm4n>
I'm having issues using rbenv with an init script (/etc/init.d). I believe it's a sudo issue as my start command works fine when executed without sudo. However, to start a service I need sudo.
musashi1 has quit [Ping timeout: 265 seconds]
<b4tm4n>
I think it's a path issue as I get an error with certain gems not being found when i use sudo. Any thoughts?
<toretore>
just use the full path
<NodeBoy>
yo guys
<NodeBoy>
what would happen if you died because of a java program?
<NodeBoy>
you'd die a slow and painful death
fred1807 has quit [Client Quit]
<NodeBoy>
get it?
<b4tm4n>
toretore, that seems like a hack and not a fix
<apeiros>
!kick NodeBoy you're still banned
NodeBoy was kicked from #ruby by ruboto [you're still banned]
NodeBoy has joined #ruby
<NodeBoy>
wait what?
<jhass>
!mute NodeBoy
<NodeBoy>
i'm not the old troll
jenrzzz has quit [Ping timeout: 244 seconds]
<hanmac1>
Igorshp: yeah i had the same problem with rubocop ... imo its a whiny little girl ;P ... you might try pass = options[:passfile] ? File.open(options[:passfile]).readline : options[:password] to make it shorter
<apeiros>
behold, it's not the old troll, it's a new one…
<jhass>
!unmute NodeBoy
krz has quit [Ping timeout: 248 seconds]
<jhass>
no need to clutter up the list...
<apeiros>
and it now even returns after a kick, how annoying…
workmad3 has joined #ruby
<toretore>
b4tm4n: no, it's quite the opposite
pacMakaveli has joined #ruby
MyGreenPickle has joined #ruby
<wasamasa>
lol, "i'm not the old troll"
<b4tm4n>
toretore, keep in mind i'm a noob, but trying to learn - none of the guide I see use the full path. They set the path in the script and then expect something like bin/unicorn (using binstubs) to work.
iotouch has quit [Quit: This computer has gone to sleep]
<wasamasa>
"It wasn't me, it was the one-armed man!"
<toretore>
b4tm4n: deploying on production shouldn't depend on having its state set first
<toretore>
b4tm4n: you shouldn't be using rbenv on the server in the first place
zz_barkerd427 is now known as barkerd427
<b4tm4n>
really?
<toretore>
no, i'm joking
krz has joined #ruby
<b4tm4n>
ok, now i'm confused
pika_pika has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
philip1 is now known as phutchins
kblake has joined #ruby
<Igorshp>
hanmac1: thanks, will give it a try,but according to the docs, the 'else' does not get counted towards branch complecity as it is not a decision making point
<Igorshp>
if,unless (and &&,|| etc) are 1 point
workmad3 has quit [Ping timeout: 265 seconds]
<Igorshp>
function calls should be 1 point
<hanmac1>
imo i hate rupocop ... good thing is that it cant parse my bindings ;P
<Igorshp>
i'm writing it out on paper, i can't figure out how it gets the value
<b4tm4n>
toretore, so what is your recommendation to fix this issue?
<havenwood>
b4tm4n: Maybe give the BrightBox instructions a try for setting up 2.0 and see how you like it.
revoohc has joined #ruby
<jhass>
b4tm4n: that guide is simply outdated
<jhass>
they simply didn't update it for -p645
<jhass>
and rbenv is too stupid to allow for writing future proof guides and demands a specific version there too, I guess
<b4tm4n>
jhass, they seemed deliberate in their installation of a very particular version of ruby
<jhass>
no, they simply didn't update after -p645 was released
spyderman4g63 has joined #ruby
<b4tm4n>
jhass, i have the app running, the issue is with a unicorn startup script (/etc/init.d/unicorn) and rbenv
<b4tm4n>
jhass, it sounds like the solution is to not use rbenv?
<jhass>
yes
<jhass>
use the latest 2.0 brightbox package and bundle install --deployment
TheHodge has joined #ruby
<shevy>
for webpages, when you have both small images, but also large images (like wallpapers, or backgrounds; right now I am looking at backgrounds for "hardware"), which format would be best? .jpg, .png or .gif? according to your opinion
endash has joined #ruby
<havenwood>
b4tm4n: rbenv devs recommend not using it production. the non-rbenv devs recommend not using it in development. :P
<b4tm4n>
jhass, so wht is the preferred method to install ruby, if i search for that I get a 100 different answers
<jhass>
shevy: .jpg if it's a photograph, .png for anything with huge blocks of the same color
<shevy>
hmm and no .gif?
granthatcher has quit [Ping timeout: 245 seconds]
<jhass>
.gif shouldn't give you any win these days
endash has quit [Client Quit]
<havenwood>
b4tm4n: A nice package manager package, install to /usr/local, ruby-install/chruby or RVM.
ndrei has quit [Quit: Lost terminal]
<jhass>
b4tm4n: it depends on the situation, I already said what I recommend in your situation
rodferso1 has quit [Quit: leaving]
rodfersou has joined #ruby
<b4tm4n>
yes you did, sorry, it wasn't red so i missed it
endash has joined #ruby
Feyn has quit [Quit: Leaving]
<hanmac1>
shevy and svg for anything other possible ;P
oo_ has quit [Remote host closed the connection]
granthatcher has joined #ruby
decoponio has joined #ruby
<jhass>
svg if you need the scaling, rendering it is more expensive I think
allcentury has joined #ruby
scripore has joined #ruby
puppeh has joined #ruby
<puppeh>
on ruby 1.9, isn't doing a `$ RUBY_HEAP_MIN_SLOTS=1000 time bundle exec rspec spec/` a valid way of tuning the GC?
<puppeh>
I mean the way I'm passing the ENV variable
<jhass>
spend the time porting to 2.2 instead of trying to tune the GC
<havenwood>
puppeh: Very nice GC improvements in 2.0, 2.1 and 2.2.
dstarh has joined #ruby
<jhass>
yes, upgrading will give you a better gain than tuning the GC on 1.9
<puppeh>
oh my
<puppeh>
I know
<havenwood>
We've gotten spoiled with GC improvements every MINOR release lately!
<puppeh>
can someone please answer my question?
<jhass>
I'd only have a GC tuning reference for 2.1+ at hand
psy__ has joined #ruby
johnsmith has joined #ruby
<johnsmith>
hey guys I'm using ubuntu, and I have ruby 1.8.7 as default. I tried getting 1.9, and it seems to work, but as I check it still says I'm using 1.8.7.
Akuma has joined #ruby
<johnsmith>
I check by typing ruby --version, any help?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
icebourg has joined #ruby
<doppler>
ive just started to learn about lambda and could need some input on the code. the challenge was to generate the alphabet in a random order, and then sort a couple of names in that alphabetical order. so at last i learned that you could make a customized sort. are there any other ways to do this? maybe simpler ways?
<apeiros>
since you only have A-Z in chars, that will always return nil
<apeiros>
I'm surprised this doesn't raise…
fryguy9 has joined #ruby
jimms has quit [Remote host closed the connection]
<doppler>
mm ok
michaeldeol has joined #ruby
Guest90783 has quit [Read error: No route to host]
<apeiros>
doppler: also a tip for asking questions - provide code which the helpers can run themselves
<apeiros>
your current gist can't be run, since we're missing that names.txt file.
realname_ has joined #ruby
mistermo_ has joined #ruby
stef204 has joined #ruby
realname_ is now known as Guest61734
<doppler>
aperios yes, should have thought about that sorry
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
and another pro-tip: use tab completion for nicks.
<apeiros>
aperios isn't mine.
<doppler>
apeiros =)
segfalt has quit [Quit: segfalt]
nobitanobi has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 255 seconds]
shredding has joined #ruby
nobitanobi has joined #ruby
_honning_ has quit [Ping timeout: 264 seconds]
fryguy9 has quit [Quit: Leaving.]
predator117 has quit [Ping timeout: 240 seconds]
danzilio has quit [Quit: My computer has fallen asleep!]
chishiki has quit [Quit: WeeChat 1.1.1]
dfinninger has quit [Remote host closed the connection]
<b4tm4n>
can anyone help with an init script? I need to start services with the sudo command, but when using sudo i get the error "Could not locate Gemfile or .bundle/ directory"
mleung has joined #ruby
<apeiros>
b4tm4n: sudo usually drops the env
<shevy>
guess what this may be an abbreviation of: ASN.1
predator117 has joined #ruby
ReK2GnULinuX has quit [Quit: Konversation terminated!]
<b4tm4n>
apeiros, right, so how do i fix that - services must be started with sudo
dfinninger has joined #ruby
danzilio has joined #ruby
<havenwood>
b4tm4n: You said RVM, so use rvmsudo or a wrapper.
scripore has quit [Quit: This computer has gone to sleep]
f0ster has joined #ruby
nobitanobi has quit [Ping timeout: 255 seconds]
<b4tm4n>
I was trying rvmsudo, but getting the same error
scripore has joined #ruby
<b4tm4n>
even then, rvmsudo will only help when manually trying to start/stop the service, not on boot, correct?
allenn has quit [Remote host closed the connection]
<havenwood>
b4tm4n: conference call - back in 10 if I'm lucky but others know how to setup wrappers or ask in #rvm
stef204 has quit [Ping timeout: 240 seconds]
bricker has joined #ruby
Channel6 has joined #ruby
mistermo_ has quit [Remote host closed the connection]
tonyhb has joined #ruby
<vickleton>
Hi guys, am I going down the right path of installing Apache on my Ubuntu system if I want to see how an app works from files from GitHub, or am I going down completely the wrong path?
<b4tm4n>
do i even need to use rvm if i just need one version of ruby?
devlop has joined #ruby
<avril14th>
b4tm4n: you will soon need more, so better install it now
paulcsmith has quit [Quit: Be back later ...]
<thatslifeson>
You don't need RVM if you are using just one version of ruby, but that is likely not the case if you are going to use other projects in the future, in which case you should learn RVM
mistermocha has joined #ruby
Mohan has joined #ruby
<thatslifeson>
It's also good to have around even if you assume you are going to use one version of ruby
spyderma_ has joined #ruby
hiyosi has joined #ruby
<GaryOak_>
vickleton: #rubyonrails should be able to help you get that setup :)
<vickleton>
Thanks GaryOak
<vickleton>
Thanks GaryOak_ **
devlop has quit [Quit: Leaving]
_honning_ has joined #ruby
ReK2WiLdS has joined #ruby
ramfjord has joined #ruby
vire has quit [Ping timeout: 276 seconds]
spyderman4g63 has quit [Ping timeout: 246 seconds]
scripore has quit [Quit: This computer has gone to sleep]
kedare has quit [Remote host closed the connection]
Caius has quit [Quit: ""]
sinkensabe has quit [Remote host closed the connection]
workmad3 has joined #ruby
josephleon has joined #ruby
Caius has joined #ruby
xmaddness has joined #ruby
jottr_ has joined #ruby
<xmaddness>
When changing a database, do I need to update the schema.rb for activeRecord to work correctly?
<xmaddness>
We added three columns to an existing field
shredding has quit [Remote host closed the connection]
Filete has joined #ruby
<izzol>
b4tm4n: you can always use rbenv instead of the RVM if you don't like it ;-)
<xmaddness>
erm rto an existing table
<havenwood>
izzol: then when shims bite you switch to chruby. then just install to /usr/local/. then use a distro with a modern Ruby package.
chipotle has joined #ruby
<adaedra>
I'm happy with rbenv.
iamninja_ has quit [Read error: Connection reset by peer]
sibchcoder has joined #ruby
iamninja_ has joined #ruby
sinkensabe has joined #ruby
fryguy9 has quit [Quit: Leaving.]
metalic has quit [Ping timeout: 255 seconds]
alex88 has quit []
AlphaAtom has joined #ruby
sinkensabe has quit [Remote host closed the connection]
kblake has quit [Remote host closed the connection]
<havenwood>
I'm not happy with how they introduced the project. These days though my biggest objection would be ruby-build shipping it's own openssl instead of using the package managers and how few people realize that. I've seen folk unwittingly compiling against old openssl because of it.
ramfjord has quit [Ping timeout: 252 seconds]
A205B064 has joined #ruby
BigRonnieRon has joined #ruby
metalic has joined #ruby
<havenwood>
adaedra: Though you don't have to use ruby-build with rbenv at least. ;)
Technodrome has quit [Quit: Technodrome]
<adaedra>
I actually do that :|
nettoweb has joined #ruby
plribeiro3000 has joined #ruby
<havenwood>
especially when folk install ruby-build through a package manager they tend to expect that it will use the package manager openssl
mary5030 has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
rejerson69 has joined #ruby
Stalkr_ has joined #ruby
metalic has quit [Ping timeout: 264 seconds]
<havenwood>
i guess it'd be easy enough to pull request rbenv to use ruby-install instead of ruby-build or fork it for an option that direction
avril14th has quit [Remote host closed the connection]
hollywood has joined #ruby
<mwlang>
xmaddness: if you added the columns using an activerecord migration script, the schema.rb file should be updated automatically, esp. if this is a Rails project you’re referring to.
<adaedra>
ah, I never remember if it's ruby-install or ruby-build that I use
<havenwood>
or some flag to swap the installer backend
<havenwood>
adaedra: yeah, the naming is.. unfortunate
moted has joined #ruby
ag4ve_ has quit [Ping timeout: 245 seconds]
<mwlang>
havenwood: ruby via package managers? :-o Is there even one distro out there that’s staying relatively current with Ruby?
<centrx>
Debian unstable!
<adaedra>
no
robbyoconnor has joined #ruby
<adaedra>
arch and gentoo, maybe
DaniG2k has quit [Quit: leaving]
josephleon has quit [Quit: Leaving...]
sinkensabe has joined #ruby
<mwlang>
I could see arch or gentoo tracking since they build from source…but then I don’t use those distros any more.
<adaedra>
er
<adaedra>
gentoo, you build yourself from sources, but not arch
<adaedra>
FreeBSD has a 2.1.6
dvlwrk has joined #ruby
cocotton has joined #ruby
Matachines has quit [Ping timeout: 250 seconds]
<mwlang>
hmmm…I should go check out arch again…I must not be remembering what it is.
<centrx>
Debian unstable has 2.2.1
<adaedra>
Oh
<adaedra>
My rbenv provided ruby is older than the system provided one :x
<havenwood>
jhass: Aren't you the Arch package maintainer for Ruby? Anyways, Arch stays up to date. Fedora doesn't lag much these days. Brightbox packages for Ubuntu.
<havenwood>
mwlang: ^
<shevy>
jhass owns Arch these days
fryguy9 has joined #ruby
<adaedra>
and Arch owns you
<shevy>
better than opensuse!!!
CloCkWeRX has left #ruby [#ruby]
<adaedra>
NOT DIFFICULT.
<mwlang>
havenwood: better than the last time I surveyed…which was probably ~2009ish
<havenwood>
adaedra: from any version of ruby-install that'd install Ruby 2.2.2, checking against the manually provided checksum in case there's none known
doritostains has quit [Ping timeout: 265 seconds]
josephleon has joined #ruby
<adaedra>
I won't install a new ruby right now
<adaedra>
I leave in 10' and am already on something else
<havenwood>
adaedra: in an upcoming version of ruby-install the checksums will be autosynced from a common metadata repository so you just specify the Ruby and it'll fetch the correct MD5, SHA1, SHA256 and SHA512 and check them all.
<adaedra>
k
Technodrome has quit [Quit: Technodrome]
_honning_ has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Remote host closed the connection]
<havenwood>
shevy: i always hear good things about opensuse
Cust0sL1men has quit [Ping timeout: 256 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jerryberry>
Hey, I'm installing Ruby 2.1.2 on a fedora core 3 system (yes, I know it's old, no I can't upgrade) and rubygems 2.2.2. They install just fine. However when I try to install gem it fails because the gem packages are signed with SHA512. The openssl version I have available to me doesn't support SHA2 or higher. Is there a way to tell the gem installation process to install a gem using an unsigned source? Or an sha1 signed source?
<havenwood>
jhass: nice, dig the gist
Contigi has joined #ruby
<jhass>
havenwood: I realized you can do pretty much the same thing with the brightbox stuff on ubuntu
<momomomomo>
jerryberry: you have more issues than installing ruby if you’re stuck with an old openssl version
<jerryberry>
Ruby installs file, the problem is with gem installation.
MatthewsFace has joined #ruby
thumpba has joined #ruby
<jerryberry>
For example: gem install bundler fails
thumpba_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
quimrstorres has joined #ruby
cocotton has joined #ruby
orionstein has joined #ruby
Akuma has quit [Quit: So long sukkas!]
towski_ has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
Mohan has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
lidenskap has quit [Remote host closed the connection]
metalic has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
Mohan has joined #ruby
mrmargol_ has joined #ruby
Mohan is now known as Guest19518
davedev2_ has joined #ruby
noobQ has quit [Quit: WeeChat 0.4.2]
freerobby has quit [Quit: Leaving.]
davedev24_ has quit [Ping timeout: 276 seconds]
piotrj has joined #ruby
m3t4l1c_s0ul has joined #ruby
StephenOTT has joined #ruby
joonty has quit [Quit: joonty]
freerobby has joined #ruby
digitalextremist has quit [Ping timeout: 264 seconds]
zachrab has quit [Remote host closed the connection]
zachrab has joined #ruby
icarus has joined #ruby
mrmargolis has quit [Ping timeout: 256 seconds]
zz_Outlastsheep is now known as Outlastsheep
metalic has quit [Ping timeout: 252 seconds]
teddyp1cker has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 250 seconds]
rajeshchawla has joined #ruby
superscott[8] has joined #ruby
rajeshchawla has quit [Client Quit]
juanpablo__ has joined #ruby
yqt has joined #ruby
fryguy9 has quit [Quit: Leaving.]
morholt has left #ruby [#ruby]
Guest19518 has quit [Ping timeout: 250 seconds]
a346 has quit [Quit: a346]
nobitanobi has quit [Remote host closed the connection]
lidenskap has joined #ruby
nobitanobi has joined #ruby
Mohan_ has joined #ruby
iamninja_ has quit [Read error: Connection reset by peer]
Eiam_ has joined #ruby
Technodrome has joined #ruby
iamninja_ has joined #ruby
Cloudhand has joined #ruby
lidenskap has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
lidenskap has joined #ruby
digitalextremist has joined #ruby
fryguy9 has joined #ruby
simonewestphal has joined #ruby
fryguy9 has quit [Read error: Connection reset by peer]
fryguy91 has joined #ruby
icarus has quit [Ping timeout: 256 seconds]
vsh_ has quit [Read error: Connection reset by peer]
rajeshchawla has joined #ruby
freerobby has quit [Quit: Leaving.]
rhllor has quit [Quit: rhllor]
nobitanobi has quit [Ping timeout: 250 seconds]
segfalt has quit [Quit: segfalt]
dfinninger has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
mary5030 has joined #ruby
badhatter has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
rbennacer has joined #ruby
dseitz has joined #ruby
sankaber has joined #ruby
Nahra has quit [Remote host closed the connection]
icarus has joined #ruby
yqt has quit [Ping timeout: 244 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simonewestphal has left #ruby [#ruby]
AxonetBE has joined #ruby
<AxonetBE>
I have a hstore object in my postgresql database but when saving the hash he stores it as {"voltage"=>"{\"voltage_alim_2\"=>0, \"voltage_alim_1\"=>27.11016, \"battery_alim_1\"=>118, \"battery_alim_2\"=>-333}"}
jenrzzz has quit [Ping timeout: 256 seconds]
<AxonetBE>
why he is escaping the " ?
momomomomo has quit [Quit: momomomomo]
Mon_Ouie has joined #ruby
jeffreylevesque has joined #ruby
mjuszczak has joined #ruby
<jeffreylevesque>
which do you guys prefer: chef vs puppet?
<shellfu>
that is all opinion. As a unix engineer, speaking only for myself. I prefer puppet, but I am bias as I have been using since version 0.23
mrmargolis has joined #ruby
<shellfu>
chef is good so is ansible and salt. just a means to manage your machines
<shellfu>
think less about the tools and what YOU need to accomplish
nobitanobi has joined #ruby
<jeffreylevesque>
i like python, and use lots of linux, but want it to b e deployable on windows
<shellfu>
in my home lab I use salt, and ansible. @ work I use puppet.
<jeffreylevesque>
i am using vagrant
<jeffreylevesque>
both are compatible with vagrant
<shellfu>
if you want windows support. My personal opinion is to use puppet as it now fully supports windows. However, I have zero experience with it as I am not a windows admin.
<jeffreylevesque>
yea, i like to spin up primarily linux machines
<jeffreylevesque>
i guess i will just choose puppet for now. It seems like more support (even on IRC)
mrmargol_ has quit [Ping timeout: 250 seconds]
<shellfu>
If its a small scale environment you wouldnt even need a master.
lolmaus has quit [Ping timeout: 256 seconds]
<havenwood>
jeffreylevesque: like you're deploying to a windows server?
nobitanobi has quit [Remote host closed the connection]
<shellfu>
You can hit me up in #puppet for puppet help. This room is for ruby
<jeffreylevesque>
right now just ubuntu
segfalt has joined #ruby
<superscott[8]>
You might want to look at ansible as well if you're not doing anything too crazy.
Technodrome has quit [Ping timeout: 246 seconds]
<shellfu>
These fine gentlemen do not care to be bothered with such trivial topics :)
jheg has joined #ruby
icarus has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
icarus has joined #ruby
baweaver has joined #ruby
djbkd has joined #ruby
ghostmoth has joined #ruby
josephleon has joined #ruby
Mohan_ has quit [Ping timeout: 250 seconds]
shoutsid has joined #ruby
tonyhb has quit [Quit: peace]
edwinvdgraaf has quit [Remote host closed the connection]
freerobby has joined #ruby
quimrstorres has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
Mohan_ has joined #ruby
Eiam_ has quit [Read error: Connection reset by peer]
LJT has joined #ruby
baweaver has quit [Remote host closed the connection]
mjuszczak has quit []
mjuszczak has joined #ruby
nux443 has joined #ruby
josephleon has quit [Quit: Leaving...]
aspiers_ has joined #ruby
LJT has quit [Client Quit]
rikai has joined #ruby
<shevy>
bastards
<shevy>
let's kill them
<pipework>
Bastards are great.
relix has joined #ruby
teddyp1cker has joined #ruby
nobitanobi has quit [Remote host closed the connection]
a346 has joined #ruby
nobitanobi has joined #ruby
a346 has quit [Client Quit]
edwinvdg_ has joined #ruby
m8 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
LJT has joined #ruby
x1337807x has joined #ruby
zcreative has joined #ruby
icarus has quit [Ping timeout: 252 seconds]
vim_shimm has joined #ruby
Dopagod has joined #ruby
nobitano_ has joined #ruby
StephenOTT has quit [Quit: StephenOTT]
icarus has joined #ruby
fryguy91 has quit [Quit: Leaving.]
kblake has joined #ruby
StephenOTT has joined #ruby
LJT has quit [Client Quit]
nobitanobi has quit [Read error: Connection reset by peer]
ascarter has quit [Client Quit]
edwinvdgraaf has quit [Ping timeout: 272 seconds]
ascarter has joined #ruby
Mohan_ has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby
LJT has joined #ruby
LJT has quit [Max SendQ exceeded]
fryguy9 has joined #ruby
Mohan_ has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icarus has quit [Ping timeout: 255 seconds]
lavros has quit [Quit: leaving]
balazs_ has joined #ruby
jgoyon has quit [Remote host closed the connection]
Xiti has joined #ruby
baweaver has joined #ruby
centrx has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
kaleido has joined #ruby
yfeldblum has joined #ruby
* shellfu
shut his eyes and is not invisible
<shellfu>
s/not/now
<pipework>
shellfu: Pretty sure you were more correct the first time, but less adorable.
chishiki has quit [Ping timeout: 256 seconds]
Mark-6ma has joined #ruby
<shellfu>
I KNEW i was adorable. My wife is WRONG.... Finally!
<shellfu>
I got her now!
* shellfu
prints page
<wasamasa>
lol
<baweaver>
>> ('a'..'z').each_with_index.zip
<ruboto>
baweaver # => [[["a", 0]], [["b", 1]], [["c", 2]], [["d", 3]], [["e", 4]], [["f", 5]], [["g", 6]], [["h", 7]], [[" ...check link for more (https://eval.in/317828)
<wasamasa>
what have you done
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<baweaver>
go figure. I just kept using each_with_index.
<havenwood>
baweaver: a 1.9 thing it looks like
<baweaver>
yeah, just saw that
<havenwood>
for the offset
<baweaver>
I tend to use reduce instead of with_object.
AlphaAtom has joined #ruby
<baweaver>
then again that's more of using it like inject I suppose.
fryguy9 has quit [Quit: Leaving.]
jottr_ has joined #ruby
Mohan_ has quit [Ping timeout: 245 seconds]
baweaver has quit [Remote host closed the connection]
teddyp1cker has left #ruby [#ruby]
dfinninger has joined #ruby
nobitano_ has joined #ruby
nobitanobi has quit [Ping timeout: 256 seconds]
Brozo has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
Mohan has joined #ruby
Mezjin has quit [Remote host closed the connection]
Mohan is now known as Guest18747
michaeldeol has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
RegulationD has joined #ruby
platzhirsch has left #ruby [#ruby]
nobitano_ has quit [Client Quit]
jobewan has quit [Ping timeout: 250 seconds]
StephenOTT has quit [Quit: StephenOTT]
sibchcoder has quit [Ping timeout: 250 seconds]
lucashungaro has joined #ruby
StephenOTT has joined #ruby
ReK2WiLdS has joined #ruby
kblake has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
Eiam_ has joined #ruby
doertedev has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
sohrab has quit [Ping timeout: 256 seconds]
paulcsmith has quit [Quit: Be back later ...]
kblake has quit [Read error: Connection reset by peer]
kblake_ has joined #ruby
badhatter has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fryguy9 has joined #ruby
paulcsmith has joined #ruby
gaboesquivel has quit []
scripore has quit [Read error: Connection reset by peer]
piotrj has quit [Remote host closed the connection]
evanjs has joined #ruby
StephenOTT has quit [Quit: StephenOTT]
edwinvdg_ has quit [Remote host closed the connection]
Guest18747 has quit [Ping timeout: 252 seconds]
badhatter has joined #ruby
badhatter has quit [Changing host]
badhatter has joined #ruby
xmaddness has quit [Quit: Leaving]
piotrj has joined #ruby
scripore has joined #ruby
Mohan_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
SouL_|_ has quit [Ping timeout: 276 seconds]
SouL_|_ has joined #ruby
fryguy9 has quit [Quit: Leaving.]
<Eiam_>
having some odd issue with my app structure; https://gist.github.com/anonymous/dc3e773bf93b5ddeb17e I forked out my config.ru to load two different Sinatra::Base classes, and it seems my /public/ can no longer be found for any of those Sinatra::Applications which is a bit..confusing
Mark-6ma has quit [Quit: -]
sibchcoder has joined #ruby
kirun has joined #ruby
<Eiam_>
any suggestions on where I should look next?
<havenwood>
Eiam_: What version of Ruby are you on?
Cloudhand has quit [Ping timeout: 272 seconds]
<Eiam_>
2.0
realname_ has joined #ruby
fryguy9 has quit [Quit: Leaving.]
realname_ is now known as Guest93813
chishiki has joined #ruby
willharrison has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
treehug88 has joined #ruby
<havenwood>
Eiam_: Your `File.dirname(__FILE__)` returns a relative path, unlike `File.dirname(File.realpath(__FILE__))` or the shorthand for it `__dir__`'s absolute path.
<treehug88>
What ruby books do people recommend?
<havenwood>
treehug88: For someone just learning a first language or a polyglot looking to pickup Ruby?
<treehug88>
polyglot
failshell has quit [Remote host closed the connection]
<havenwood>
treehug88: The Well-Grounded Rubyist, Second Edition or The Ruby Programming Language are good books.
<Eiam_>
I can cd to /Users/Eiam/Documents/dev/test_proj/app/../public/vendor/bootstrap/css/ and bootstrap.min.css is right there
ta has joined #ruby
tercenya has joined #ruby
paulcsmith has joined #ruby
pullphinger has quit [Client Quit]
lidenskap has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
pullphinger has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
mjuszczak has joined #ruby
kblake_ has quit [Remote host closed the connection]
Mohan_ has quit [Ping timeout: 250 seconds]
lolmaus has joined #ruby
dopie has joined #ruby
Mohan_ has joined #ruby
baroquebobcat_ has joined #ruby
jenrzzz has joined #ruby
c355E3B has joined #ruby
superscott[8] has quit [Remote host closed the connection]
Brozo has quit [Remote host closed the connection]
tonyhb has joined #ruby
MyGreenPickle has joined #ruby
tonyhb_ has joined #ruby
Brozo has joined #ruby
MyGreenPickle has quit [Client Quit]
xploshioon has joined #ruby
mjuszczak has quit []
baroquebobcat_ has quit [Quit: baroquebobcat_]
<havenwood>
Eiam_: same if you prefix a "/" to the :href?
thiagovsk has quit [Quit: Connection closed for inactivity]
tonyhb has quit [Ping timeout: 276 seconds]
c355E3B has quit [Quit: Leaving]
c355E3B has joined #ruby
phutchins has quit [Ping timeout: 246 seconds]
f3lp has quit [Ping timeout: 256 seconds]
nszceta has quit [Remote host closed the connection]
<Eiam_>
heh same (tried that one too already, kind of what brought me here, was at a total loss)
Soda has quit [Ping timeout: 240 seconds]
<Eiam_>
in theory that would give me a public//vendor
xploshioon has quit [Quit: Leaving]
lucashungaro has quit [Quit: lucashungaro]
<havenwood>
Eiam_: set :public, 'public'
gfawcettpq has quit [Ping timeout: 246 seconds]
<Eiam_>
:public_folder or actually :public?
Soda has joined #ruby
baweaver has joined #ruby
ta has quit [Remote host closed the connection]
<Eiam_>
no matter. both stll have th same error as always
tmoor has quit [Quit: Leaving]
rvchangue has joined #ruby
<Eiam>
i just change the code, quit foreman, relaunch foreman, open a new browser window & try it on each iteration
<havenwood>
Eiam_: yeah, my bad - :public is deprecated - i dunno why :public_folder isn't working
plribeiro3000 has quit [Quit: Leaving.]
<havenwood>
says to use :public_folder or :public_dir instead
diegoviola has joined #ruby
ta has joined #ruby
lucashungaro has joined #ruby
jlast has joined #ruby
<Eiam>
when i remove the config.ru stuff
<Eiam>
it works fine
<Eiam>
like if i swap it to just "run Sinatra::Application"
<Eiam>
and no other changes, it all works
<Eiam>
but as soon as I set it back to how its shown, it stops working (can't find the css)
a5i has quit [Quit: Connection closed for inactivity]
lkba has joined #ruby
sinkensabe has joined #ruby
Owuf has joined #ruby
yfeldblum has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danzilio has quit [Quit: Baiii!]
<Owuf>
Hi, I have got an object but at compile time it says undefined method. This is strange because it knows what kind of object it is and my attributes are set with attr_accessor
<havenwood>
should be linked against the proper readline
<Eiam_>
.rvm/rubies/ruby-2.0.0-p481/bin/ruby
vim_shimm has joined #ruby
balazs_ has joined #ruby
Guest93813 has quit [Ping timeout: 250 seconds]
Boondox has quit []
timonv has quit [Ping timeout: 245 seconds]
<Eiam_>
hmm. otool -l says its not
<Eiam_>
guess thats the problem
platzhirsch has joined #ruby
uri has joined #ruby
ruby861 has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
Brozo has quit [Remote host closed the connection]
mjuszczak has quit []
<havenwood>
Eiam_: Does `rvm requirements` work?
<Eiam_>
its doing something now
shazaum has quit [Quit: This computer has gone to sleep]
nateberkopec has joined #ruby
zachrab has quit [Remote host closed the connection]
ghostmoth has quit [Quit: ghostmoth]
jheg has quit [Quit: jheg]
duderonomy has joined #ruby
f3lp has quit [Ping timeout: 240 seconds]
zachrab has joined #ruby
balazs_ has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruby861 has quit [Ping timeout: 246 seconds]
failshell has quit [Remote host closed the connection]
failshell has joined #ruby
Dopagod has quit [Ping timeout: 256 seconds]
quimrstorres has quit [Remote host closed the connection]
jaequery has joined #ruby
longfeet has quit [Ping timeout: 256 seconds]
edwinvdgraaf has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
phutchins has joined #ruby
wallerdev has quit [Quit: wallerdev]
mjuszczak has joined #ruby
devans has joined #ruby
Pupeno_ has joined #ruby
Pupeno has quit [Ping timeout: 256 seconds]
jeffreylevesque has quit [Ping timeout: 256 seconds]
pdoherty has quit [Ping timeout: 255 seconds]
kyrylo has quit [Ping timeout: 256 seconds]
towski_ has joined #ruby
cocotton has joined #ruby
michaeldeol has joined #ruby
fryguy9 has joined #ruby
scripore has joined #ruby
baweaver has quit [Remote host closed the connection]
towski__ has quit [Ping timeout: 245 seconds]
evanjs has joined #ruby
lidenskap has quit [Remote host closed the connection]
f3lp has joined #ruby
Mohan_ has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Mohan has joined #ruby
<lxsameer>
Gem::Specification.find_by_name "ABC" does not work with gems which uses the `path` to specify the source directory
Mohan is now known as Guest39872
ylluminarious has quit [Ping timeout: 265 seconds]
<lxsameer>
any Idea how to fix it
lidenskap has joined #ruby
ylluminarious has joined #ruby
growlove has joined #ruby
blueOxigen has quit [Ping timeout: 265 seconds]
nfk|laptop has joined #ruby
sigurding has joined #ruby
geggam has joined #ruby
<geggam>
`included': undefined method `alias_method_chain' for CGI:Class (NoMethodError) ... anyone ever seen this ?
evanjs has quit [Ping timeout: 244 seconds]
spider-mario has joined #ruby
Owuf has quit [Ping timeout: 246 seconds]
<geggam>
google is less than helpful
Cloudzy has joined #ruby
zcreative has quit [Quit: (null)]
longfeet has joined #ruby
mengu has joined #ruby
Cloudhand has quit [Ping timeout: 245 seconds]
sufyan has joined #ruby
Nahra has joined #ruby
<dudedudeman>
would someone be up for taking a look at my regex? I am trying to restrict a field input to something that looks like, .1234 only. A decimal, followed by 4 digits only, any of 0-9
<dudedudeman>
this is my regex: /\.\d{4}/
<adaedra>
and what is the problem?
<dudedudeman>
in rubulator, it shows that this would restrict it as i expected, but in my code it allows for more than 4 digits
Billias has quit [Read error: Connection reset by peer]
<havenwood>
dudedudeman: /\A\.\d{4}\z/
iasoon has quit [Ping timeout: 256 seconds]
ascarter has joined #ruby
<adaedra>
^
baweaver has joined #ruby
devans has quit [Remote host closed the connection]
<adaedra>
regex can be partial match
<dudedudeman>
ah! i didn't even think of that
<adaedra>
rubular should have shown the same behavior
allcentury has quit [Ping timeout: 245 seconds]
<dudedudeman>
i typed in something like, .312562266 in to rubulator, with the regex that i originally had, and it displayed what i wanted. only the first four were highlighted
blackmesa has joined #ruby
<adaedra>
yes
<adaedra>
the highlighted part is what matched
banister has joined #ruby
<adaedra>
try the same thing with havenwood’s sample, now
allcentury has joined #ruby
<dudedudeman>
hmm, nothing matches now
<adaedra>
exactly
Billias has joined #ruby
<ytti>
my crystal ball says your input contains other data as well
<dudedudeman>
wait, we want nothing to match?
maletor has joined #ruby
<ytti>
and what you really want is to cherry-pick this specific pattern out
scripore has quit [Quit: This computer has gone to sleep]
<adaedra>
what do you want, dudedudeman
<dudedudeman>
ytti: go on
<ytti>
that's all
<adaedra>
to check that your string is exactly .#### ?
<havenwood>
dudedudeman: expected input and desired output!
<dudedudeman>
yes, precisely
<adaedra>
so it’s ok
lolmaus has quit [Ping timeout: 256 seconds]
cocotton has quit [Remote host closed the connection]
<adaedra>
.1234 matches, .12345 doesn't
<dudedudeman>
i did just throw it in my code and it works like a charm
<adaedra>
if rubular highlights something, it means =~ will return true
<adaedra>
if it says ”No match”, it means =~ will return false
<dudedudeman>
i must have been typing like an idiot in rubulator... because i just tried it again without changing anything and it passes
<adaedra>
happens
rajeshchawla has quit []
<dudedudeman>
havenwood: expected verses desired?
juanpaucar has joined #ruby
sigurding has quit [Quit: sigurding]
Igorshp has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
yfeldblu_ has joined #ruby
Cloudzy has quit [Ping timeout: 240 seconds]
<riceandbeans>
is this valid ruby?
<riceandbeans>
raise Exception("Unable to handle object of type <%s>" % obj.class.to_s)
dopiee has joined #ruby
<adaedra>
you may want a RuntimeError
<adaedra>
Why don’t you just use interpolation?
<riceandbeans>
what?
<adaedra>
raise Excaption(”Unable to ... of type #{obj.class}”)
<riceandbeans>
"Unable to handle object of type <#{obj.class.to_s}>"
<riceandbeans>
is that right?
<adaedra>
remove the .to_s, interpolation does that automatically
rdark has quit [Quit: leaving]
m8 has quit [Quit: Sto andando via]
jottr_ has joined #ruby
juanpaucar has quit [Ping timeout: 245 seconds]
<dudedudeman>
adaedra: to piggy back off of that, interpolation does that with to_s because it inherits from Object class?
<adaedra>
dunno
greenbagels has joined #ruby
dopie has quit [Ping timeout: 256 seconds]
<dudedudeman>
:(
<dudedudeman>
lol
xnr is now known as RealJesusChrist
benegget_ has joined #ruby
Cust0sL1men has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
toretore has quit [Quit: Leaving]
<havenwood>
Ellis: Why might you not include an argument in the code and instead be passed it by the caller?
<apeiros>
Ellis: take e.g. sort
<apeiros>
you can sort using different strategies
<apeiros>
always using the same method
ldnunes has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 244 seconds]
<Ellis>
huh?
<apeiros>
if you couldn't pass a block to it, you'd have to write a sort for every different way to sort
codecop has quit [Remote host closed the connection]
<Ellis>
ahhh
RealJesusChrist is now known as xnr
<Ellis>
so sort yeilds to a block?
<adaedra>
if one is passed, yes
baroquebobcat_ has joined #ruby
shoutsid has quit [Remote host closed the connection]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beneggett has joined #ruby
dvlwrk has quit [Ping timeout: 255 seconds]
failshell has quit [Remote host closed the connection]
<Ellis>
oh shit i just got it!!!
Spleeze has joined #ruby
benegget_ has quit [Read error: Connection reset by peer]
Filete has joined #ruby
<Ellis>
thanks havenwood, apeiros, and adaedra
Pupeno_ has joined #ruby
baweaver has quit [Remote host closed the connection]
postmodern has joined #ruby
Cap has joined #ruby
<Cap>
hey guys
<Cap>
started using ruby this week
<Cap>
I have a question
<havenwood>
Cap: welcome!
<Cap>
is it a pratical language to use for physical simulations?
Pupeno has quit [Disconnected by services]
Pupeno_ is now known as Pupeno
Pupeno has quit [Changing host]
Pupeno has joined #ruby
<Cap>
as in, statistical models and such
<pipework>
Cap: Not as practical as R.
B1n4r10 has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
tonyhb_ has quit [Quit: peace]
QualityAddict has quit []
Cap has quit [Client Quit]
mjuszczak has quit []
SouL_|_ has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
shoutsid has joined #ruby
aridere_ has joined #ruby
aridere has joined #ruby
acarpe has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
maciejczyzewski has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rafalski has joined #ruby
<Rafalski>
hey guys, how can i get 65 out of 65-resource-twenty with regex?
jlast has quit [Remote host closed the connection]
<adaedra>
\A(\d+)
djmittens has joined #ruby
<Rafalski>
thanks adaedra
<Rafalski>
what about getting resource-twenty?
<djmittens>
hi guys i was wondering if anyone could explain to me what the new items line doing at the end of this function http://pastebin.com/7WRbKRYB
<adaedra>
Senjai: split has two arguments, you know?
<Senjai>
I didn't
<adaedra>
:)
<Senjai>
Still, should point teach him how to use regex's, not just provide them on demand
<Senjai>
Even though this can be solved without regex's
<pipework>
adaedra: well done.
<Senjai>
Otherwise we're going to get all sorts of people demanding solutions without trying to learn.
<adaedra>
And I prefer to show a working example and explain if not clear or let him search by himself if he prefers
aridere has quit [Quit: Leaving]
aridere_ has quit [Quit: Leaving]
<adaedra>
I don’t think the #split example is /too/ complex
<Senjai>
No, its not
<djmittens>
i want to learn! thats why i was asking for explanation ....
vudew has joined #ruby
Pupeno has quit [Ping timeout: 245 seconds]
<pipework>
adaedra: My solution was a bit complicated and I didn't think about the second argument at all to split. :D
<Rafalski>
adaedra: thanks didn’t know you could do that :)
<adaedra>
pipework: your solution was ok for this sample, so I guess it’s ok :)
<adaedra>
Rafalski: yw
<pipework>
I was getting the index of the first dash and then just getting [0..(index - 1)] and then [(index + 1)..-1] for the rest.
nfk|laptop has joined #ruby
<adaedra>
djmittens: i’ll take a look
MasterPiece has joined #ruby
<adaedra>
pipework: and it would have worked
wallerdev has joined #ruby
<pipework>
adaedra: But not have been as pretty!
Pupeno_ is now known as Pupeno
Pupeno has quit [Changing host]
Pupeno has joined #ruby
Hijiri has joined #ruby
RegulationD has joined #ruby
<adaedra>
pipework: you know, first time I tried Ruby, I recoded String#* because I didn’t know it existed.
<adaedra>
everyone learns.
badhatter has quit [Ping timeout: 265 seconds]
<pipework>
Sometimes I just forget to peruse docs a bit more and I just solve it with the tools I have. I've read about the limit option before, it just didn't occur to me to use it. :s
paulcsmith has quit [Quit: Be back later ...]
Brozo has joined #ruby
<adaedra>
It’s not always easy, if you don’t know what to look for
kirun has quit [Remote host closed the connection]
AlphaAtom has quit [Ping timeout: 246 seconds]
<adaedra>
Senjai: anyway, regexes are a complex domain not only tied to ruby, I prefer not trying to expand too much on it in there.
jerius has quit [Quit: /quit]
dvlwrk has joined #ruby
<pipework>
Plus, regex engines aren't always known to be the fastest things.
<Senjai>
adaedra: Thats fine, I just prefer telling them the medium of solving a problem, and have them ask additional questions as required
<adaedra>
Yeah, I usually do that, but not for regexes
<adaedra>
Let’s do it then
<adaedra>
djmittens: you know what new does, right?
<pipework>
Ruby has had a poor history with regular expression engines.
JDiPierro has quit [Remote host closed the connection]
lidenskap has quit [Remote host closed the connection]
<Senjai>
pipework: Its pretty decent now I think.
<Senjai>
I mean, for ruby
Ellis has quit [Quit: Ellis]
<pipework>
djmittens: new is the class method .new, like for that class your code is in.
Guest58359 has quit [Remote host closed the connection]
<pipework>
Senjai: I don't think it supports everything modern regex engines do.
Pupeno_ has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 244 seconds]
<Senjai>
pipework: Possibly, I dont ever have to do serious serious regex's
<Senjai>
And I avoid them at all cost
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Senjai>
Everytime someone tries to use them with html.. UGH
<djmittens>
pipework: ah gotcha so its literally calling the new method on the class
<adaedra>
ahah
<djmittens>
i feel dumb now lol
<pipework>
djmittens: Yup. :D
<adaedra>
djmittens: don’t.
<djmittens>
trying to get used to the syntax
Pupeno_ is now known as Pupeno
<adaedra>
It took me some time, too.
Pupeno has quit [Changing host]
Pupeno has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<pipework>
I wish it was more normal for people to write parsers for things.
pdoherty has joined #ruby
<dudedudeman>
oh... i shouldn't throw in a regex with my html form? :(
beneggett has joined #ruby
m3t4l1c_s0ul has quit [Ping timeout: 245 seconds]
<adaedra>
no, what you’re saying, is that you can’t use regex to parse HTML
<adaedra>
Your form data is OK
<dudedudeman>
ah, so a regex to say, hey, you didn't input the required value
<adaedra>
Depends on what you want to check
<dudedudeman>
verses, a regex to go, hey go look over all this html code and ignore all of the H1s
ebbflowgo has left #ruby [#ruby]
balazs_ has joined #ruby
lidenskap has joined #ruby
toretore has joined #ruby
<adaedra>
A postal code is OK to check though regex
bim has joined #ruby
<adaedra>
Parsing HTML is not, because HTML is complex
bim is now known as Guest46562
<adaedra>
There are some use cases, but it’s simple to put a big NO
<adaedra>
And use Nokogiri for this kind of things
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dudedudeman>
word word
<dudedudeman>
that makes sense
rrichardsr3 has quit [Ping timeout: 250 seconds]
<dudedudeman>
and that means that all the work i've done in the last couple hours isn't wasted lol
gfawcettpq has joined #ruby
ItSANgo__ has joined #ruby
freerobby has quit [Quit: Leaving.]
djbkd has quit [Remote host closed the connection]
<adaedra>
ahah
dopiee has quit [Quit: This computer has gone to sleep]
<Senjai>
pipework: Parsing is both hard, and extremely boring
ItSANg___ has quit [Ping timeout: 256 seconds]
<Senjai>
pipework: Two things 90% of people typically choose to avoid
beneggett has quit [Client Quit]
djbkd has joined #ruby
<pipework>
Senjai: Well, if you have something complex to parse, sure. But SMTP isn't hard, it depends on what you're doing.
<adaedra>
They prefer something hardly boring, you see.
<wallerdev>
is SMTP really that easy to parse?
asmodlol has quit [Ping timeout: 250 seconds]
<wallerdev>
i thought email was one of the worst protocols for parsing and everyone breaks rules with it
<Senjai>
wallerdev: it is
<adaedra>
I’m not even sure I’d use regex to parse SMTP...
<Senjai>
I have a friend that works on groupserver or whatever
<toretore>
parsing smtp doesn't mean parsing emails though
<pipework>
You don't have to, no.
mary5030 has quit [Remote host closed the connection]
<pipework>
Without a lot of experience, my exposure has been that the parser is as hard as the problem, but no more so.
<Senjai>
toretore: Right, but you probably still have to deal with encoding
sevvie has joined #ruby
<toretore>
the smtp protocol could be easily parsed even if the content being sent isn't
<Senjai>
pipework: Eh, text processing on its own is hard, without a problem at all, for some people.
blazes816 has joined #ruby
<Senjai>
I'm terrible at it, I also have no interest in it
<Senjai>
so
<adaedra>
That’s ’90 technology...
<pipework>
Well, an SMTP message includes the body, but it's easy to detect depending on whether there are any boundaries.
jottr_ has joined #ruby
<pipework>
Senjai: I've had to implement really fast message parsing stuff before. It's not a hobby for me, but it was entirely doable.
<toretore>
(i don't actually know much about smtp though tbh)
tcrypt has quit [Ping timeout: 240 seconds]
<pipework>
toretore: It's a plaintext protocol. Simple as can be.
Brozo has quit [Remote host closed the connection]
<adaedra>
EHLO
dopiee has joined #ruby
Brozo has joined #ruby
<toretore>
yeah, i've had tangential experience with it
<Senjai>
pipework: Ive never had to learn it, so I'm not too familiar with it. Once I have to use it, I'll be a pro with the rest of yall, but no sooner
<pipework>
Senjai: What was itneresting about groupserver/
<Senjai>
pipework: Just pointing out the project a friend is working on. You could take a look at all the cases for email encoding
Hijiri has quit [Quit: WeeChat 1.0.1]
<Senjai>
if you were interested
Rickmasta has joined #ruby
Rafalski has quit [Quit: Rafalski]
jordanm has quit [Remote host closed the connection]
<pipework>
Yeah, luckily, as the sender, I only had to handle a couple encodings, but boundaries make it really easy when you're the sender.
gregf has quit [Quit: WeeChat 1.0.1]
blazes816 is now known as tcrypt
<pipework>
But any well-formed smtp message declares the encodings.
FernandoBasso has joined #ruby
Cloudzy has joined #ruby
baweaver has joined #ruby
<Senjai>
Yeah, but the problem is: A lot of clients are bad about following standards
vim_shimm has quit [Ping timeout: 256 seconds]
<Senjai>
Some ignore them completely
metalic has joined #ruby
<Senjai>
There was some sort of Apple email client that was used pretty widespread
<Senjai>
that just said fuck you to the standards
<Senjai>
and people just had to "deal" with it
balazs_ has quit [Remote host closed the connection]
<pipework>
Yeah, fortunately I only had to worry about matching spec, not dealing with shit people (apple, microsoft)
mrmargolis has quit [Remote host closed the connection]
jheg has joined #ruby
<pipework>
We had technical customers though, so that kind of 'fuck you' was acceptable.
jheg has quit [Client Quit]
odin23 has quit [Read error: Connection reset by peer]
AxonetBE has quit [Quit: AxonetBE]
<Eiam_>
Senjai: lol..
Ellis has joined #ruby
<Eiam_>
Senjai: see also "Google's 'fuck you' to IMAP"
<Eiam_>
in fact, most mail servers "fuck you" to IMAP standards. #1 reason people ignore standards? because those standards aren't meeting their needs.
dfinninger has quit [Remote host closed the connection]
<Eiam_>
either real or imagined needs.
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno_ has joined #ruby
Pupeno has quit [Ping timeout: 272 seconds]
metalic has quit [Quit: Leaving]
<Senjai>
Eiam_: Yeah, Im just glad I dont have to deal with it
<Eiam_>
open gl. opengl es, metal, direct x 12, GLNext
<Eiam_>
on and on we go.
<Senjai>
I would charge major moneys to have to touch any of that shit
djbkd has quit [Read error: Connection reset by peer]
<Eiam_>
Senjai: I suggest staying away from Time & timezones then too ;) and dates!
djbkd has joined #ruby
<Senjai>
Yep, fuck all of it
<Senjai>
Dates arent bad
<Senjai>
actually
<Eiam_>
ethnically correct colored emjoi..
<Eiam_>
on and on we go. =)
superscott[8] has joined #ruby
dudedudeman has quit [Quit: Leaving.]
sibchcoder has quit [Remote host closed the connection]
<pipework>
Dates are good for you.
Brozo has quit [Quit: Leaving...]
Naypalm has left #ruby ["WeeChat 1.1.1"]
Brozo has joined #ruby
<sweeper>
keep you regular
Brozo has quit [Client Quit]
Brozo has joined #ruby
x1337807x has joined #ruby
pdoherty has quit [Quit: Leaving]
DavidDudson has joined #ruby
gaboesquivel has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shellfu has quit [Ping timeout: 250 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<Radar>
Senjai: I know where it is, but I want to explain to other people how to find it.
<Senjai>
Oh
plribeiro3000 has joined #ruby
<centrx>
Radar, The rubygems logic for require is actually a Ruby function that calls the native require
<Senjai>
Radar: Given that action pack is a gem, and action_dispatch is defined in that gem, I would expect it to be in GEM_ROOT/lib/action_dispatch.rb
<pipework>
s/function/method/
platzhirsch has left #ruby [#ruby]
<centrx>
s/pipework/pipedouche
<pipework>
I think my way is one of the only ones proposed that doesn't make an assumption about how things are laid out or what the LOAD_PATH will load.
<Senjai>
The only hard part is knowing action_dispatch is part of action_patch
<pipework>
centrx: s/work/douche/ thx
tmoor has joined #ruby
<Senjai>
pipework: I am of course talking about conventions :P
<Radar>
Still not quite the answer I'm looking for.
dvlwrk has quit [Quit: Leaving]
dvlwrk has joined #ruby
<Senjai>
Radar: when I require 'gemname', gemname.rb should be in GEM_ROOT/lib/gemname.rb
<ruboto>
pipework # => ["/execpad/interpreters/ruby-2.2.0/lib/ruby/2.2.0/rubygems/dependency.rb", "/execpad/interpreters/ru ...check link for more (https://eval.in/317987)
<Senjai>
Are you looking for a programmatic way of doing it?
<jeffreylevesque>
or is there a more concise, elegant way?
<pipework>
I'd suggest looking for a vagrant box that ships with puppet.
bricker has quit [Quit: leaving]
griffindy has joined #ruby
acarpe has quit [Client Quit]
doodlehaus has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 246 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
jlast has quit [Remote host closed the connection]
ascarter has quit [Ping timeout: 256 seconds]
bezhermoso has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
startupality has quit [Quit: startupality]
predator217 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has quit [Read error: Connection reset by peer]
thatslifeson has quit [Remote host closed the connection]
Aswebb_ has quit [Remote host closed the connection]
mistermocha has joined #ruby
geggam has quit [Ping timeout: 245 seconds]
<bezhermoso>
Anyone who has experience using Rspec, Capybara, and Saucelabs? Having trouble integrating them together.. I'm getting this error: "[DEPRECATED] Using the #page method is deprecated for RSpec tests without Capybara. Please use the #s or #selenium method instead.". I *am* using Capybara, and including it via RSpec.configure block. What am I missing?
a5i has joined #ruby
nfk|laptop has quit [Remote host closed the connection]
davedev24_ has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 272 seconds]
nfk|laptop has joined #ruby
bricker has joined #ruby
<wallerdev>
do you have the latest version of each
baweaver has quit [Remote host closed the connection]
mistermo_ has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
failshell has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
jerematic has quit [Ping timeout: 256 seconds]
Ellis has joined #ruby
thumpba_ has quit [Ping timeout: 245 seconds]
zachrab has quit [Ping timeout: 256 seconds]
egw has joined #ruby
danman has joined #ruby
nfk|laptop has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 245 seconds]
Zai00 has joined #ruby
rodfersou has joined #ruby
DavidDudson has joined #ruby
DavidDud_ has joined #ruby
DavidDud_ has quit [Max SendQ exceeded]
baweaver has joined #ruby
DavidDud_ has joined #ruby
DavidDudson has quit [Ping timeout: 240 seconds]
DavidDud_ has quit [Max SendQ exceeded]
DavidDudson has joined #ruby
baroquebobcat_ has quit [Quit: baroquebobcat_]
jimms has joined #ruby
plribeiro3000 has quit [Quit: Leaving.]
Pupeno has quit [Ping timeout: 244 seconds]
DavidDudson has quit [Max SendQ exceeded]
jottr_ has quit [Ping timeout: 245 seconds]
<bezhermoso>
wallerdev: That was it >_< Thanks!
RegulationD has joined #ruby
DavidDudson has joined #ruby
Ellis has quit [Quit: Ellis]
<wallerdev>
np
Juanchito has quit [Quit: Connection closed for inactivity]
DavidDudson has quit [Max SendQ exceeded]
davedev24_ has quit [Read error: Connection reset by peer]
jeffreylevesque has quit [Remote host closed the connection]
x1337807x has joined #ruby
davedev24_ has joined #ruby
DavidDudson has joined #ruby
shoutsid has quit [Remote host closed the connection]
jmosco has quit [Read error: Connection reset by peer]
Ellis has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
FernandoBasso has quit [Quit: leaving]
superscott[8] has quit []
zachrab has joined #ruby
hiyosi has joined #ruby
giuseppesolinas has joined #ruby
zachrab has quit [Remote host closed the connection]
sevvie has quit [Remote host closed the connection]
<Radar>
TIL that ActiveSupport overrides require too
_lovehan2le_ has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
jimms has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 276 seconds]
_lovehan1le_ has left #ruby [#ruby]
mengu__ has quit [Remote host closed the connection]
_lovehan2le_ has quit [Client Quit]
_lovehandle_ has joined #ruby
fgo has quit [Ping timeout: 256 seconds]
<Eiam_>
Learned Paifully years ago -> Rails things fuck over my ruby things
davedev24_ has joined #ruby
Dreamer3 has joined #ruby
davedev2_ has quit [Ping timeout: 264 seconds]
MatthewsFace has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
DavidDudson has joined #ruby
zorak8 has quit [Quit: Leaving]
DavidDudson has quit [Client Quit]
Ellis has quit [Quit: Ellis]
doodlehaus has joined #ruby
arescorpio has joined #ruby
jobewan has quit [Quit: Leaving]
sevenseacat has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<pipework>
havenwood: that doesn't show where on disk the file came form though, but maybe I misread his question.
bezhermoso has quit [Ping timeout: 246 seconds]
<havenwood>
pipework: yeah, i'd have done what you did. just thought it was fancy. ;)
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has quit [Read error: Connection reset by peer]
scripore has joined #ruby
_lovehandle_ has quit [Quit: leaving]
Eiam_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo__ has quit [Quit: (null)]
willharrison has joined #ruby
nettoweb has quit [Ping timeout: 264 seconds]
Ellis has joined #ruby
_lovehandle_ has joined #ruby
<havenwood>
pipework: i couldn't remember $LOADED_FEATURES though so i had $". i like the long form just couldn't remember quite what it was and of course could only find the cryptic one.
giuseppesolinas has quit [Quit: Leaving]
<pipework>
havenwood: I did the same thing earlier with String#split.
<pipework>
Forgot the limit second arg.
<pipework>
I know about it, just didn't think about it.
djmittens has joined #ruby
<pipework>
So it was me finding the index of the first instance of - and then using [] with ranges to get everything before that dash and then everything after that dash, not including that dash.