sepp2k has quit [Read error: Connection reset by peer]
millerti has joined #ruby
<toretore>
pedropt: ok, now look on line 137 again
<pedropt>
ok
<pedropt>
ok i think it misses an }
aryaching has quit [Ping timeout: 260 seconds]
<pedropt>
i try File.open("output/path.temp","r"){|out1|}
<pedropt>
and now i get another error
<pedropt>
138:in `<main>': undefined local variable or method `out1' for main:Object (NameError)
Puffball_ has quit [Read error: Connection reset by peer]
<baweaver>
Disavowed: VCR
<baweaver>
pedropt: data = File.read("path/to/file")
<baweaver>
Line 137 is unnecessary, you're doing the same thing.
<baweaver>
you're also mixing a lot of indentation styles
Puffball has joined #ruby
<pedropt>
ok let me test here
toretore has quit [Ping timeout: 255 seconds]
<Radar>
hm where are the tests for this code
* Radar
runs
<baweaver>
Also it's exceptionally rare that someone uses for ... in in Ruby.
<baweaver>
Metasploit module
<pedropt>
yup
<baweaver>
they have some context on their end to run it in that'd be a pain to get here.
<pedropt>
i removed the metasploit generation of code
<pedropt>
the metasploit payload will be done externally
<baweaver>
Y'might want to read over a Ruby book as well like Eloquent Ruby.
<Disavowed>
baweaver: This looks amazing! Thank you!
tristanp has joined #ruby
<baweaver>
Not a problem
<pedropt>
and then the script will merge both , the payload already generated and the original file
<baweaver>
I mention it because you have some of the gist of Ruby but you're doing it in a really odd style that'll hurt later.
jtdoncas has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jellymann has joined #ruby
ddffg has quit [Quit: Leaving]
go|dfish has quit [Quit: SIGQUIT]
Kero has joined #ruby
<baweaver>
there's a lot that's going to break in this script.
tristanp has quit [Ping timeout: 264 seconds]
go|dfish has joined #ruby
<pedropt>
what do you mean
<baweaver>
First function
<baweaver>
is it supposed to break out and return only one value?
<baweaver>
The return there will break out of the function with the first match against android.intent.category.LAUNCHER or android.intent.action.MAIN
jellymann has quit [Ping timeout: 260 seconds]
<baweaver>
Reading through it there's just a lot of broken code paths
cdg has quit [Remote host closed the connection]
<pedropt>
if you want to give an help on it then fell free to participate in one othe the projects i am collaborating in github that will use this script
<baweaver>
Not enough knowledge of Metasploit or Android.
<Radar>
I think this was the standard until ~2010/2011.
<baweaver>
TIL
<matthewd>
Wow, I stand corrected
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd>
I didn't realise I was so rogue :P
<Radar>
;)
<Radar>
DaniG2k: greetings
tildes has joined #ruby
nettoweb has joined #ruby
[ohjn] has joined #ruby
<DaniG2k>
anyone here takig the Udacity course on AI besides me? '-
tildes has quit [Ping timeout: 260 seconds]
cschnei__ has quit [Remote host closed the connection]
aryaching has joined #ruby
[ohjn] has quit [Remote host closed the connection]
<DaniG2k>
guess that's a no
<jtdoncas>
no, why? :D
jellymann has joined #ruby
ResidentBiscuit has joined #ruby
<DaniG2k>
just looking for others who are taking the course to discuss :)
jellymann has quit [Ping timeout: 255 seconds]
EckT has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
ResidentBiscuit has quit [Ping timeout: 260 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
jtdoncas has quit [Ping timeout: 240 seconds]
EckT has joined #ruby
pedropt has quit [Quit: Leaving]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
akkad has quit [Excess Flood]
akkad has joined #ruby
jgnagy has joined #ruby
marr has quit [Ping timeout: 260 seconds]
jgnagy has quit [Ping timeout: 268 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has joined #ruby
rakm has joined #ruby
jellymann has joined #ruby
DaniG2k has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 255 seconds]
CloCkWeRX has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
jellymann has quit [Ping timeout: 260 seconds]
DaniG2k has joined #ruby
blackmesa has joined #ruby
EV3RYDAYPR0GRESS has quit [Read error: Connection reset by peer]
<Radar>
DaniG2k: Probably a topic better suited to #ruby-offtopic
charliesome has joined #ruby
enterprisey has quit [Remote host closed the connection]
EV3RYDAYPR0GRESS has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
herbmillerjr has quit [Quit: Konversation terminated!]
aryaching has joined #ruby
CloCkWeRX has joined #ruby
mim1k has joined #ruby
agent_white has quit [Quit: leaving]
Azure|dc has quit [Quit: Oops.]
pawnbox has joined #ruby
brent__ has joined #ruby
zxvcd has joined #ruby
green_hat has joined #ruby
agent_white has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
tristanp has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
astrobunny has joined #ruby
jphase has quit [Read error: No route to host]
tristanp has quit [Ping timeout: 260 seconds]
jphase has joined #ruby
brent__ has quit [Remote host closed the connection]
Mahpoul22 has joined #ruby
cschneid_ has joined #ruby
triangles has quit [Quit: Leaving]
pilne has quit [Quit: Quitting!]
d^sh has quit [Ping timeout: 268 seconds]
d^sh has joined #ruby
Cohedrin has joined #ruby
DaniG2k has quit [Quit: leaving]
Irishluck83 has quit [Quit: WeeChat 1.4]
Asher has quit [Quit: Leaving.]
chenli has joined #ruby
EckT has quit [Quit: -a- IRC for Android 2.1.32]
ResidentBiscuit has joined #ruby
Asher has joined #ruby
jellymann has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
jellymann has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
sspreitz has quit [Ping timeout: 255 seconds]
CloCkWeRX has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
akkad has quit [Excess Flood]
govg has quit [Ping timeout: 260 seconds]
sspreitz has joined #ruby
hutch34 has joined #ruby
akkad has joined #ruby
mayfield has joined #ruby
gheegh has quit [Ping timeout: 255 seconds]
akkad has quit [Excess Flood]
akkad has joined #ruby
JeanCarloMachado has quit [Ping timeout: 255 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
JoshS has joined #ruby
CloCkWeRX has joined #ruby
toretore has joined #ruby
KicStart has joined #ruby
__Yiota has joined #ruby
green_hat has quit [Remote host closed the connection]
cschneid_ has quit [Remote host closed the connection]
aupadhye has joined #ruby
DaniG2k has joined #ruby
enterprisey has joined #ruby
howdoi has joined #ruby
DaniG2k has quit [Ping timeout: 240 seconds]
DaniG2k has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
t-recx has quit [Quit: t-recx]
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
cschneid_ has joined #ruby
Mahpoul22 has quit [Quit: Leaving]
ResidentBiscuit has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
nothingnew has joined #ruby
govg has joined #ruby
Zequal has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
EV3RYDAYPR0GRESS has quit [Ping timeout: 240 seconds]
<Zequal>
Hey guys, I am looking at a ruby project and I am seeing a lot of terms used as directory names. spec, factories - I see these two mentioned a lot, what is it conveying?
<anekant>
overengineering
<Zequal>
Besides that, do you know the underlying purpose these terms are suppose to convey?
<anekant>
spec is testing i think
<Zequal>
Hmm, confusing - I see spec and test in the same project. That's frusterating.
<anekant>
better not rely on me though
* anekant
shuts up :)
<Zequal>
It looks like factories are just an abstraction - an object that is used in other objects.
<matthewd>
spec and test likely both contain tests, written using different tools (minitest and rspec)
<matthewd>
Yes, factories are ~ template object instances, generally used by tests
nothingnew has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
gix has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
vikas027 has joined #ruby
gix has joined #ruby
arescorpio has quit [Quit: Leaving.]
<vikas027>
Hey All, I have an eval line in a bash script to capture output from a terraform code. Please help me out to capture the same output in ruby as well. https://dpaste.de/8J8i I will be able to play around if I can capture the variables passed by terraform
hahuang65 has joined #ruby
jshjsh has joined #ruby
JoshS has quit [Ping timeout: 260 seconds]
braincrash has joined #ruby
last_staff has joined #ruby
jgnagy has joined #ruby
zxvcd has quit [Quit: Konversation terminated!]
raspado has joined #ruby
anisha has joined #ruby
anisha has quit [Client Quit]
ngpestelos has quit [Ping timeout: 252 seconds]
anisha has joined #ruby
montanonic has joined #ruby
KicStart has quit [Quit: Leaving.]
jenrzzz has joined #ruby
username_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
username_ has quit [Ping timeout: 255 seconds]
pwnd_nsfw has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
naprimer_3 has joined #ruby
CloCkWeRX has quit [Ping timeout: 252 seconds]
Dimik has joined #ruby
naprimer_2 has quit [Read error: Connection reset by peer]
marcdel has quit [Ping timeout: 240 seconds]
<vikas027>
hey guys... what is the ruby equivalent of exec &> >(tee -a "$log_file") in a bash script ?
Runix has joined #ruby
ledestin has joined #ruby
green_hat has quit [Remote host closed the connection]
green_hat has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renchan has joined #ruby
CloCkWeRX has joined #ruby
heckler has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
djellemah has joined #ruby
rakm has joined #ruby
CloCkWeRX has quit [Ping timeout: 264 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
raspado has quit [Quit: Leaving...]
squ has joined #ruby
vikas027 has quit [Quit: Page closed]
jameser has quit [Ping timeout: 260 seconds]
astrobunny has quit [Remote host closed the connection]
FastJack has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
fnord_ has quit [Ping timeout: 260 seconds]
Zequal has quit [Quit: Lost terminal]
montanonic has quit [Ping timeout: 240 seconds]
green_hat has quit []
astrobunny has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
CloCkWeRX has joined #ruby
FastJack has joined #ruby
fnord_ has joined #ruby
pawnbox has joined #ruby
nowhereman has joined #ruby
montanonic has joined #ruby
<chenli>
hi, any one here can help me ? I want to install sensu from source code. So I download the code from github, Then I run: gem build sensu.gemspec, I get error: Invalid gemspec in [sensu.gemspec]: can't modify frozen String
<chenli>
I just want to build sensu from the source code.
<allisio>
chenli: That's really weird. I can't reproduce the error here, and there's no in-place string modification in that gemspec. Would you mind posting the full error output?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<allisio>
Use `gem build -V` for maximum spew, but don't paste it directly into the channel. :)
<allisio>
chenli: Sure, I see that they're defining Sensu::VERSION and freezing it in lib/sensu/constants.rb; I just don't see where the attempt to modify it is being made.
<allisio>
It's certainly not happening in the gemspec itself.
<dminuoso>
chenli: Almost all Ruby gems are maintained on github. You can usually find a link in your gem description. There you can create so-called "issues" for the maintainer to see and fix.
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso>
But in this case an upgrade of your oj gem will suffice.
last_staff has quit [Quit: last_staff]
last_staff has joined #ruby
<chenli>
dminuoso: o! I just download code https://github.com/sensu/sensu, and try to run it from source code... I know very little about ruby. :(
<chenli>
dminuoso: I guess "gem install oj" should be enough to upgrade oj, right ?
ins64 has quit [Read error: Connection reset by peer]
<dminuoso>
chenli: No.
xall has joined #ruby
<dminuoso>
chenli: The issue lies with sensu actually, they need to either constrain their project to ruby 2.3 or update the oj dependency. You can do two things: a) file a simple bug with the sensu gem and b) downgrade your Ruby version to 2.3.3 while they fix it.
aupadhye has quit [Ping timeout: 240 seconds]
<chenli>
dminuoso: so I upgrade the system oj do not work ?
<dminuoso>
chenli: That's correct, and incidentally that is a good thing.
<chenli>
dminuoso: yes, all I can get from the doc is install from deb package... But eventually I want to do some changes in the code. So, not enough from doc... :(
xall has joined #ruby
pawnbox has quit [Remote host closed the connection]
<dminuoso>
chenli: Well I can't help you beyond this point other than recommending a good book.
<dminuoso>
There's a few libraries like Shoes that are fine for really rudimentary and simplistic things though.
<dminuoso>
Don't look at the qt bindings, they are grossly outdated.
DaniG2k has quit [Quit: leaving]
<allisio>
polyzium: WebKit.
<dminuoso>
Wut?
<dminuoso>
I dont think you meant that, allisio..
<allisio>
I did, though.
<allisio>
JS is much more "standalone" than Ruby now that I have polyzium's definition.
<dminuoso>
How exactly does webkit equate to a native windows gui framework?
saggittarius has quit [Quit: Page closed]
<dminuoso>
Because you know, it's not.
ejnryu has joined #ruby
charliesome has joined #ruby
pawnbox has joined #ruby
<allisio>
I confess that I was being somewhat facetious, but the point remains: if you're gonna stand on the shoulders of giants, might as well choose the tallest in the room.
<dminuoso>
Except it's as much as a gui framework as libjpeg.
<dminuoso>
Sure it's somehow got to do with producing images, but it still is not a GUI framework.
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<allisio>
"WebKit" was just my way of saying "HTML + CSS + JS" without so many initialisms and hard-to-type symbols.
igniting has joined #ruby
naprimer_3 has quit [Remote host closed the connection]
<dminuoso>
polyzium: The 3 ways to get something like a graphical interface is a) a web interface like allisio mentioned, b) embed Ruby (MRuby) into an existing application using say Qt, or c) decouple it and use some broker (0mq, rabbitmq, corba, whatever) to connect the components.
djellemah has quit [Disconnected by services]
djellemah_ is now known as djellemah
ins64 has quit [Read error: Connection reset by peer]
ins64 has joined #ruby
naprimer has joined #ruby
djellemah_ has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
TomyWork has joined #ruby
esObe has joined #ruby
ejnryu has quit [Remote host closed the connection]
chenli has quit [Quit: ChatZilla 0.9.93 [Firefox 45.7.0/20170118123525]]
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
hutch34 has quit [Ping timeout: 268 seconds]
montanonic has quit [Ping timeout: 268 seconds]
Dimik has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Ping timeout: 252 seconds]
antgel_ has quit [Ping timeout: 260 seconds]
teclator has joined #ruby
mikecmpbll has joined #ruby
unshadow has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
astrobunny has quit [Remote host closed the connection]
jgnagy has joined #ruby
astrobunny has joined #ruby
certainty has quit [Ping timeout: 240 seconds]
astrobunny has quit [Remote host closed the connection]
biberu has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sysvalve has joined #ruby
xen0fon has quit [Quit: xen0fon]
aglorei has quit [Ping timeout: 240 seconds]
Prira has quit [Ping timeout: 240 seconds]
jgnagy has quit [Ping timeout: 240 seconds]
certainty has joined #ruby
quiqua has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quiqua has joined #ruby
CloCkWeRX has joined #ruby
enterprisey has quit [Remote host closed the connection]
uranellus has quit [Quit: ZNC 1.6.1 - http://znc.in]
<djellemah>
dminuoso: I somewhat disagree with what you said about qtbindings. Yes, it's old. But it works (I have a personal app that I use on linux, ruby-2.4), there's no good alternative for windows afaik, and a decent OS will allow qt-4.8 libs and qt-5.6 libs to coexist. That said, getting it working on windows was tricky when I last tried it several years ago.
skolman_ has joined #ruby
<polyzium>
allisio oh rly? i dont want JS to take up RAM filled up with webpages using electron and stuff like that. also the gui is laggy as fuck.
<polyzium>
so i shud use native windows user interface apu.
<polyzium>
*api
<dminuoso>
djellemah: Oh it works absolutely. The fact that Qt 5 has been released 5 years ago just does not speak for the bindings library though.
antgel_ has joined #ruby
mim1k has joined #ruby
<polyzium>
qt is not free dminuoso
elaptics has joined #ruby
<dminuoso>
polyzium: Qt has a dual license model, giving you either a commercial or an open source license.
stoffus has joined #ruby
<polyzium>
but... kde.
<polyzium>
it made me think that qt is nonfree
uranellus has joined #ruby
uranellus has joined #ruby
uranellus has quit [Changing host]
<polyzium>
anyways i think theres no need to use qt with ruby at all
aglorei has joined #ruby
mtkd has quit [Ping timeout: 255 seconds]
mtkd has joined #ruby
doublemalt_ has quit [Read error: No route to host]
DoubleMalt has joined #ruby
__Yiota has joined #ruby
Snickers has joined #ruby
Beams has joined #ruby
leitz has joined #ruby
senayar has quit []
pawnbox has joined #ruby
udiudi7 has joined #ruby
govg has quit [Quit: leaving]
nettoweb has joined #ruby
ineb has joined #ruby
<manveru>
there's always tk :)
leitz has left #ruby ["Nappy Time"]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
habitullence has joined #ruby
<djellemah>
dminuoso: last commit was November last year. So 4.8 is up to date. I'm guessing the work required to update for 5.x is more than the maintainer is willing to take on.
<habitullence>
Hi, how would I search an array of hashes for a hash with a specific key value pair?
<dminuoso>
It starts with a rough introduction into Ruby assuming that syntax is not your main problem.
<dminuoso>
It's suited to newcomers that have previous experience.
<dminuoso>
And is probably one of the two most recommended books in here.
<vicks>
Hi Guys, I've got a question. I'm writing a ruby extension in C, and one of my methods sets the time on a bit of proprietary hw. Fairly simple stuff, but when I pass it Unix time, the value is doubled by the time it makes it to the C. Anyone got a clue as to why it's doing this? I'll post an example just to give an idea:
<dminuoso>
vicks: Yes.
blackmesa has quit [Ping timeout: 255 seconds]
<FMan>
dminuoso: thank you, I'll check that out
<vicks>
what's happening?
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
<vicks>
Pry dump: [11] pry(main)> time = Time.now.to_i => 1488195059 [12] pry(main)> igc.show_datetime Unix time value 1488195064 Time is currently Mon Feb 27 11:31:04 2017 => 1488195064 [13] pry(main)> igc.set_datetime(time) Unix time value 2976390119 Time is currently Sat Apr 26 00:01:59 2064 => 0 [14] pry(main)>
<dminuoso>
vicks: You need to wrap and unwrap using the INT2FIX and FIX2INT macros
<vicks>
aha, thanks
<dminuoso>
That is because the whole thing gets bitshifted to make room for "stuff"
<ruby[bot]>
supsup: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
hurricanehrndz has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
Ishido has joined #ruby
sspreitz has joined #ruby
rwb has joined #ruby
kassav_ has joined #ruby
kassav_ has quit [Client Quit]
kassav__ has joined #ruby
kassav__ is now known as kassav_
kassav_ is now known as kassav__
byte512 has joined #ruby
dlitvak has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
jaruga______ has quit [Quit: jaruga______]
matthewd has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cibs has joined #ruby
last_staff has quit [Quit: last_staff]
squ has quit [Remote host closed the connection]
Bish has quit [Ping timeout: 240 seconds]
Bish has joined #ruby
brent__ has joined #ruby
gnufied has joined #ruby
catbusters has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
malconis has joined #ruby
mim1k has joined #ruby
<herwin>
supsup: why the assumption about multiple passes and ordering? it works just as well if it would replace "%{author}" with "%{authorFirst} %{authorLast}" instead of having to change author first
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
kies has quit [Ping timeout: 252 seconds]
cibs has quit [Ping timeout: 255 seconds]
jameser has quit [Client Quit]
cibs has joined #ruby
nowhereman has quit [Ping timeout: 260 seconds]
braincrash has joined #ruby
jameser has joined #ruby
ferr1 has quit [Quit: WeeChat 1.6]
shinnya has joined #ruby
bmurt has joined #ruby
bkxd has joined #ruby
kies has joined #ruby
jaruga______ has joined #ruby
Lord_of_Life has quit [Excess Flood]
troter__________ has quit [Ping timeout: 240 seconds]
aurelien has quit [Remote host closed the connection]
<supsup>
i think that works Burgestrand but assumes you use the values in order. If you try to access something that has not been translated yet it fails. Investigating more
<Burgestrand>
supsup it shouldn't
<Burgestrand>
supsup it's recursive, the first time you look a key up it will look up all other referenced keys… and so on
chouhoul_ has joined #ruby
<supsup>
hurm ok looking at the error log
elaptics has quit [Ping timeout: 260 seconds]
<supsup>
will try to make an example on that site you linked...cool site
chouhoulis has quit [Ping timeout: 260 seconds]
_aeris_ has quit [Remote host closed the connection]
heckler has left #ruby ["WeeChat 1.4"]
AlexRussia has joined #ruby
<mikecmpbll>
silly ruby question of the day: is there a better way to count the number of equal elements in two arrays `a` and `b` than: `a.map.with_index{ |x, i| x == b[i] }.count(&:itself)`
<mikecmpbll>
equal at the same index, i should say
Silthias has joined #ruby
__Yiota has joined #ruby
<supsup>
must be something with my version, i get this error: key{author} not found...i used your exact code block
<scrooloose>
Burgestrand: dayumn son! Didnt know about that %{} interpolation thing. Gotta file that away
<baweaver>
That being said, anything beyond that is outside my knowledge range of EC2 profiles and it'd likely be faster to ask on their gitter channel: https://gitter.im/aws/aws-sdk-ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
jaruga______ has left #ruby [#ruby]
egis has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<egis>
Hello. Anyone using FreeBSD + jails? I'm having problems doing `gem install` inside jail. Getting 'Protocol not supported - socket(2) - udp' error.
<ruby[bot]>
egis: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
jdm has joined #ruby
<egis>
thanks, bot!
polyzium has joined #ruby
DaveTaboola has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has quit [Ping timeout: 260 seconds]
tlr has joined #ruby
User458764 has joined #ruby
brent__ has joined #ruby
amclain has joined #ruby
<matthewd>
So, AIUI, jails allow you to restrict what the process can do. And it kinda sounds like it's just not allowed to open a UDP socket.
polyzium has quit [Remote host closed the connection]
<egis>
matthewd, I did `nc -vzu 8.8.8.8 53`, got output 'Connection to 8.8.8.8 53 port [udp/domain] succeeded!', but I'm not entirely sure that proves anything.
chouhoulis has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
DroidBurgundy has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 260 seconds]
senayar has quit []
itarato has quit [Ping timeout: 260 seconds]
AckZ has quit []
TomyLobo has joined #ruby
gusrub has joined #ruby
milardovich has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ruby
sneakerhax has quit [Ping timeout: 240 seconds]
catbusters has quit [Quit: Connection closed for inactivity]
yottanami has joined #ruby
DroidBurgundy has joined #ruby
itarato has joined #ruby
skolman_ has joined #ruby
<yottanami>
I have this array `special_params = [:prm2, :prm2]` how can I use it as method parameter like this `my_method(prm1: params[:prm1], prm2: params[:prm2])`
<dminuoso>
yottanami: First, let's make that hash.
<dminuoso>
allisio: Note that Array#to_h is essentially the same as Array.[]
<dminuoso>
Err, Hash.[] :)
<allisio>
Sure.
<dminuoso>
And I meant yottanami. :S
* baweaver
chuckles
<dminuoso>
baweaver.
<baweaver>
Monday hits hard
<dminuoso>
I need an opinion
<dminuoso>
begin; code_that_throws; ensure; more_code_that_throws; end
<dminuoso>
Would you want code_that_throws in the backtrace?
<dminuoso>
Because honestly fuck Ruby for not calling exit() on this.
[Butch] has joined #ruby
<baweaver>
I'd want whatever in that backtrace that'd help me isolate what just happened.
<dminuoso>
What do you need in that case?
<dminuoso>
Maybe a big fat warning in STDERR?
<baweaver>
any code that caused the error, yeah
tfitts has joined #ruby
ins64 has quit [Ping timeout: 260 seconds]
elementaru has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
polishdub has joined #ruby
anotherpi has joined #ruby
<yottanami>
dminuoso, I created my hash like this `x = Hash[filter_params.map{|key| [key, params[key]]}]` now how should I send it as method argument should I write my_method(**x) ?
<ruby[bot]>
dminuoso: # => /tmp/execpad-c31cccda5df6/source-c31cccda5df6:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/744118)
dionysus69 has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
<bonhoeffer>
is there a lightweight ruby app that can upload a file over https?
<bonhoeffer>
just a site with a simple upload form?
last_staff has quit [Ping timeout: 260 seconds]
Bish has quit [Ping timeout: 240 seconds]
<bonhoeffer>
i was looking at webftp
Guest80035 has quit [Remote host closed the connection]
whathappens has joined #ruby
whathappens is now known as Guest11548
<nofxx>
A124, use redis
<nofxx>
bonhoeffer, use sinatra or padrino and carrierwave
<bonhoeffer>
yeah -- i was going to use sinatra + carrierwave
<bonhoeffer>
know if that is already bundled with an upload form?
<A124>
nofxx But that would require me to serialize and deserialize, no? Or is there any Lua or similar for lookups on parts of the data?
teclator has quit [Remote host closed the connection]
<nofxx>
A124, you mean you need a key val with full text search?
<nofxx>
try mongo, riak or maybe rethinkdb
pwnd_nsfw` has joined #ruby
kristofferR has quit [Ping timeout: 260 seconds]
<nofxx>
bonhoeffer, it's pretty easy you'll see.. just regular form and carriewave does it all
<bonhoeffer>
got it --
Guest11548 has quit [Ping timeout: 260 seconds]
Irishluck83 has quit [Quit: WeeChat 1.4]
dionysus69 has joined #ruby
tomphp has joined #ruby
kristofferR has joined #ruby
pwnd_nsfw has quit [Ping timeout: 268 seconds]
last_staff has joined #ruby
gloscombe_ has joined #ruby
jtdoncas has joined #ruby
bonhoeffer has quit [Quit: Page closed]
ruby663 has joined #ruby
<ruby663>
Hello Guys
<ruby663>
I need a bit help
<ruby663>
it "should set winner to zero" do winner = 0 @game.clearwinner @game.winner.should eql 0 end
<ruby663>
what kind of Method should I write here?
<ruby663>
I tried with : def clearwinner
<ruby663>
winner == 0
<ruby663>
end
tau has quit [Remote host closed the connection]
<allisio>
ruby663: Frankly, there's probably no good reason for that method to exist.
braincrash has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.7]
gusrub has quit [Remote host closed the connection]
t-recx has quit [Read error: Connection reset by peer]
<ruby663>
I just want to make the test in rspec, the test is already written
<ruby663>
and I want to pass it with writing the methods
tau has joined #ruby
<ruby663>
I wrote: def clearwinner
<ruby663>
winner = 0 end
<ruby663>
but this is not the whole solution
<ruby663>
any ideas?
t-recx has joined #ruby
<havenwood>
ruby663: Separate words in barewords with spaces, like `clear_winner` -- snake_case.
jtdoncas has quit [Ping timeout: 268 seconds]
<havenwood>
ruby663: Are you wanting to set `winner` to `0`?
<ruby663>
yes
supsup has quit [Quit: Page closed]
<ruby663>
I want to set winner to 0
<havenwood>
ruby663: Set the local variable winner? Or do you have a #winner= method?
<ruby663>
but with " winner = 0" said we are waiting 0 and we got nil
<allisio>
ruby663: You missed your learning material's treatise on instance variables.
<havenwood>
ruby663: Is `winner` a local variable? Or is #winner= a method?
<havenwood>
ruby663: `@winner =` is not the same as `winner =`
<ruby663>
it is instance variable inside of method
tau has left #ruby [#ruby]
<ruby663>
there is no point to make it @ variable because I will call the result via the name of the method
<havenwood>
ruby663: `winner =` sets a local variable. You can't access your local variable outside the method in which its defined.
<havenwood>
it's*
<ruby663>
Ok thanks it works now
<allisio>
What worked?
<ruby663>
I am new in rspec and I do not know it I just started
<ruby663>
thanks a lot
<ruby663>
yeah with @ it works
<havenwood>
ruby663: Happy coding!
<ruby663>
10x
<allisio>
Instance variables aren't RSpec-specific. You really ought to go back and ensure you've absorbed the material, or you're just going to wind up further and further into the weeds.
skolman_ has joined #ruby
montanonic has quit [Ping timeout: 252 seconds]
<A124>
nofxx Well I meant column like search.
jaruga______ has quit [Quit: jaruga______]
tildes has joined #ruby
ins64 has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tau has joined #ruby
<ruby663>
If I have this rspec code:
<ruby663>
it "should valiate secret contains four accepted uppercase characters" do @game.secret = "XXXX" secret = "RRRR" valid1 = @game.checksecret(secret) valid2 = check_valid(secret) valid1.should == valid2 && @game.secret.should == secret && valid1.should == 0 end
<ruby663>
what kind of method should I write?
xall has quit [Ping timeout: 268 seconds]
al2o3-cr has joined #ruby
blackmes1 has joined #ruby
ins64 has joined #ruby
cpruitt has joined #ruby
montanonic has joined #ruby
<cpruitt>
I’m working in a gem that is similar to the rails asset pipeline (uses sprockets but not via rack request). If I bundle binstub my gem in a test gemfile, and try to run the executable, I get “`block in replace_bin_path': can't find executable cyder (Gem::Exception)” but only every other time I try bin/cyder (e.g works / error / works / error / works / error).
jaruga______ has joined #ruby
<cpruitt>
I’ve also narrowed it down to only happening when I include uglify as a dependency in my gemspec.
<cpruitt>
Anyone have any advice on how to troubleshoot? I’m a little stuck.
<cpruitt>
(Happy to provide more info but not sure what’s relevant)
Disavowed has left #ruby [#ruby]
voker57_ has joined #ruby
jaruga______ has quit [Remote host closed the connection]
enterprisey has joined #ruby
jaruga______ has joined #ruby
patarr has joined #ruby
<A124>
How does one ruby to return unused memory back to system?
mim1k has joined #ruby
<SeepingN>
exit
<SeepingN>
like that ;)
<Papierkorb>
A124: the garbage collector will do it when it feels like doing so
<allisio>
You can say `GC.start` if you really want to force a collection.
jaruga______ has quit [Quit: jaruga______]
<A124>
Thanks. Then I got a leak.
ddffg has joined #ruby
Rodya_ has joined #ruby
yusrideb has joined #ruby
<ruby663>
it "should valiate secret contains four accepted uppercase characters" do @game.secret = "XXXX" secret = "RRRR" valid1 = @game.checksecret(secret) valid2 = check_valid(secret) valid1.should == valid2 && @game.secret.should == secret && valid1.should == 0 end
babblebre has quit [Quit: Connection closed for inactivity]
<dminuoso>
ruby663: you overuse your tab way too hard.
Suslov has quit [Ping timeout: 240 seconds]
<dminuoso>
ruby663: Do you want an honest opinion?
izaac_ has joined #ruby
<apeiros>
that's usually when you should say "no" :-p
<ruby663>
yes
djbkd has quit [Ping timeout: 255 seconds]
<dminuoso>
ruby663: Keep your fingers from rspec until you have a rudimentary Ruby understanding. While I admire your desire to start with testing this early, and I ask you to keep this attitude up, I think you would be better suited doing your first steps.
Rodya_ has joined #ruby
marxarelli|afk is now known as marxarelli
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<ruby663>
Ok but I have assignment.... man and it is not my choice.. it is mandatory to do this in University
<ruby663>
this system is shit.. I know we pass very fast to the material
<ruby663>
and we do not have time to learn very good the things...
<ruby663>
I started 1 month ago studying RUby...
Volsus_ has quit [Ping timeout: 240 seconds]
<dminuoso>
ruby663: Let me guess, the course is test-driven development?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ruby663>
no it is Ruby...
jtdoncas has joined #ruby
<dminuoso>
ruby663: Have you done any kind of unit testing in other languages beore?
<ruby663>
we did 1 web site with sinatra and now we have to make one game and also test for it
<ruby663>
No I have not
ins64 has joined #ruby
<ruby663>
I did Advanced in JS but... did not try to do many tests...
<ruby663>
10 days but I have to do a lot of stuff to integrate the game to create other code in it.... for ex: this code the test is given from the lecturer
<dminuoso>
apeiros: That was the highest praise in my book.
<ruby663>
we do have something to help us but not everything
<dminuoso>
ruby663: Shoot your lecturer for giving you what seems like grossly outdated and horrible rspec code.
jaruga______ has left #ruby [#ruby]
<dminuoso>
And then congratulate him for making you do TDD.
<havenwood>
Minitest \o/
<dminuoso>
Then shoot him again for not explaining how this works.
<dminuoso>
ruby663: But fear not, I can help you.
<dminuoso>
Let me show you
<dminuoso>
havenwood: help ruby663 please.
<dminuoso>
bye
<ruby663>
Ok I am waiting for help
<dminuoso>
Heh.
<havenwood>
ruby663: Want to use Minitest or is RSpec a requirement? ;-)
ins64 has quit [Read error: Connection reset by peer]
<ruby663>
def setturnsleft(goes) @turnsleft = 12 goes = @turnsleft end
<ruby663>
this
<havenwood>
ruby663: No underscores in CamelCase.
JohnnyR030T has joined #ruby
<havenwood>
ruby663: What does that last line do?
<ruby663>
it pass the test
<havenwood>
ruby663: goes = @turnsleft
<havenwood>
ruby663: ^ that line
dionysus69 has quit [Ping timeout: 255 seconds]
nettoweb1 has quit [Ping timeout: 252 seconds]
ins64 has quit [Read error: Connection reset by peer]
<havenwood>
ruby663: Where is the `goes` local variable subsequently used?
<ruby663>
I tried other ways and only this way pass the test and I left it like this
<ruby663>
about goes
<ruby663>
see the Rspec test
<havenwood>
ruby663: Try removing the line.
<ruby663>
ok
<ruby663>
goes = @turnsleft
<ruby663>
this line?
<havenwood>
yes
<ruby663>
to run the code without it?
<ruby663>
ok
nettoweb has joined #ruby
rgs_ is now known as rgs
<havenwood>
ruby663: Assigning a local variable on the last line of a method is a code smell. You're not using that local variable. No reason to assign your return value to a local variable.
<ruby663>
yeah it works good
<ruby663>
should I remove this line too : turn = @turn
<ruby663>
?
<havenwood>
yes
<ruby663>
Yeah it works
<ruby663>
Sorry man, maybe I look very stupid but I started just 3 hours ago to try to understand
<ruby663>
how this code works..
<ruby663>
and the lecturer is not really good and the code sometimes confuse me...
<ruby663>
What do u think about the last one DEF which does not work
<havenwood>
baweaver: haven't used that one - i'll take a look
* havenwood
is distracted by a reuben sammich
mim1k has quit [Ping timeout: 260 seconds]
tyang has quit [Ping timeout: 268 seconds]
last_staff has quit [Quit: last_staff]
<ruby663>
havenwood: I put attr_accessor as u said for attr_reader :table, :input, :output, :turn, :turnsleft, :winner, :secret, :score, :resulta, :resultb, :guess attr_writer :table, :input, :output, :turn, :turnsleft, :winner, :secret, :score, :resulta, :resultb, :guess
<ruby663>
and it works perfect
tildes has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
Snickers has quit [Quit: Snickers]
<dminuoso>
"[...] and what is a class invariant now?"
ins64 has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
tildes has joined #ruby
tolerablyjake has quit [Read error: Connection reset by peer]
<ruby663>
dminuoso: is that question for me?
<dminuoso>
Oh no. It has absolutely nothing to do with you, of course. :-)
<ruby663>
ok :)
<anotherpi>
do someone have arguments for implicit returns?
blackmes1 has quit [Ping timeout: 240 seconds]
<dminuoso>
anotherpi: Yes.
<ruby663>
please can you help me with the last method I want to understand how is correct, in order to do the other becuase they are similar
<dminuoso>
anotherpi: nil.
[Butch] has quit [Quit: I'm out . . .]
<dminuoso>
anotherpi: Ruby programmers are lazy fucks, that's why.
<anotherpi>
my brain is lazy (implicit is more brain expensive), not my fingers
<dminuoso>
anotherpi: In the end it does not really matter as long as your code base remains consistent. However contributors might be pissed off somewhat because implicit returns have become the standard way to do it.
<ruby663>
havenwood: I do not want to push you, but did u see the last method that I was asking for help?
rwb has quit [Ping timeout: 260 seconds]
<anotherpi>
dminuoso: that's why i wanna be conviced :(
whathappens has joined #ruby
<dminuoso>
anotherpi: I have started refactoring a while ago to have explicit returns *everywhere* in my production cde.
whathappens is now known as Guest93277
<dminuoso>
Well, except inside blocks of course. :-)
tildes has quit [Ping timeout: 240 seconds]
<anotherpi>
LOL
<anotherpi>
damn me
ins64 has joined #ruby
<anotherpi>
*`return` is an ruby def internal DSL*, but not for blocks
<havenwood>
anotherpi: Implicit returns are the norm.
<anotherpi>
yep, i know, but i'm not so conviced yet
TomyLobo has quit [Ping timeout: 255 seconds]
<anotherpi>
and i want to follow the community guidelines
<SeepingN>
unexpected "(" because you're calling a method that doesn't exist
<anotherpi>
it's not a Game#secret method call, it's Game#secret=, and it's already defined
enterprisey has joined #ruby
<ruby663>
but is the right way to do it with that method?
<anotherpi>
with `attr_accessor :secret`
<ruby663>
I mean is the method that I wrote correct?
<ruby663>
ok I will add secret to attr_accessor
<anotherpi>
you don't need to define secret method
Rodya_ has quit [Remote host closed the connection]
gusrub has joined #ruby
<anotherpi>
ruby663: it's already done
<ruby663>
a yeah I saw it
<anotherpi>
so you don't have to :)
<ruby663>
yeah
<ruby663>
it is done
<ruby663>
but then in your opinion
<anotherpi>
but you need to define Game#checksecret
<SeepingN>
but where is checksecret
<ruby663>
I have not create
<anotherpi>
and you can explain what the method do
<ruby663>
I have to create method checksecret?
<SeepingN>
if you're going to call it, yes
jdm has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
<anotherpi>
because its name is kinda explicite, and the specs explain it
<ruby663>
But I am not sure if the code of the method secret is correct as a whole because I wrote it
<anotherpi>
do you have notions of object oriented programming?
<ruby663>
I am still learning about that
<ruby663>
I will have 30 min internet and then the router will stop working..
<SeepingN>
well secret takes no input, for one thing. and then it tests to see if different values are the same, which can never be true, so it alwasy returns false
<brent__>
How could i change a rails 5 api app to serve up the assets folder?
<anotherpi>
the secret method is a kinda copy paste of the spec, soooo… you can delete it
nowhereman has joined #ruby
<anotherpi>
brent: /join #rails, or may be /join #rubyonrails, dunno
nicoulaj has quit [Read error: Connection reset by peer]
montanonic has joined #ruby
<anotherpi>
ruby663: do a Ruby tutorial, we can see that you do not understand it very well for the moment
Rodya_ has joined #ruby
nicoulaj has joined #ruby
<anotherpi>
talk about all of that with your mates at school
d0nn1e has quit [Ping timeout: 264 seconds]
<anotherpi>
have to go
<anotherpi>
good night, it's late for me
<ruby663>
anotherpi: can u give me the code that will work
<ruby663>
to understand it
d0nn1e has joined #ruby
<anotherpi>
ruby663: i don't have it
ruby663 has quit [Quit: Page closed]
<anotherpi>
we are not wizards on #ruby
ruby895 has joined #ruby
<anotherpi>
have to go, good luck!
Rodya_ has quit [Remote host closed the connection]
<havenwood>
we can neither confirm nor deny that we are wizards on #ruby
Rodya_ has joined #ruby
ruby706 has joined #ruby
Xiti has quit [Quit: Xiti]
jshjsh has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso>
23:40 < havenwood> we can neither confirm nor deny that we are wizards on #ruby
<dminuoso>
That's only because Ruby is far too easy to read.
<dminuoso>
Go to #haskell, freaking wizards everywhere.
<dminuoso>
And they seem to be tripping on acid.
ishahnaz has quit []
<SeepingN>
you'd have to
milardovich has quit [Ping timeout: 268 seconds]
montanonic has quit [Ping timeout: 255 seconds]
jdm has quit [Remote host closed the connection]
cschneid_ has joined #ruby
Ruby has joined #ruby
<Ruby>
Hello
emilford has joined #ruby
<Ruby>
Can anyone help me with some problems
<baweaver>
ask
<Ruby>
# Define a method that returns the longest word in its argument. def longest_word(str) words = str.split longest_word = "" words.each do |word| if word.length > longest_word.length longest_word = word end end longest_word end
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
<baweaver>
?gist
<ruby[bot]>
https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<baweaver>
that'll help for next time
<baweaver>
what's wrong with it?
patarr has quit [Ping timeout: 255 seconds]
<Ruby>
Sorry I was trying to send another question, let me use that github link to paste it
<baweaver>
On that one: str.split.max(&:size)
<Ruby>
Write a method named crazy_sum(numbers) that takes an array of numbers. crazy_sum should multiply each number in the array by its position in the array, and return the sum. crazy_sum([2]) == 0 # (2*0) crazy_sum([2, 3]) == 3 # (2*0) + (3*1) crazy_sum([2, 3, 5]) == 13 # (2*0) + (3*1) + (5*2) crazy_sum([2, 3, 5, 2]) == 19 # (2*0) + (3*1) + (5*2) + (2*3) Make sure your code works for arrays with repeats of the same number (like [2, 3, 5, 2])
<baweaver>
shorter
<Ruby>
This is my question
<Ruby>
Oh youre right
charliesome has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
<baweaver>
they are, but what is your method doing
<baweaver>
tell me from the start what it does
mtkd has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
<Ruby>
I only have 5 minutes to finish this
<Ruby>
Im on a timer for my assignment
<vikas027>
Hey All, I have a JSON file https://dpaste.de/tAH8 which I have converted into a hash which has 'AWS' in it https://dpaste.de/MsV2. How can I modify (say replace ${account_id} with some value) and push it back to hash.
<baweaver>
(1..3).each_with_index.reduce(0) { |a, (x, i)| p a, x, i }
<baweaver>
then understanding that fast is your best bet
<baweaver>
but I won't give you a straight answer on it. That'd be cheating and you wouldn't learn much
<baweaver>
If you replace that range with your array and use the accumulator, item, and index you have in that block you can get it.
tau has quit [Remote host closed the connection]
KicStart has left #ruby [#ruby]
<Ruby>
Okay im stumped
jdm has joined #ruby
<baweaver>
>> [1,2,3].reduce(0) { |a, x| puts "Accumulator: #{a}\nValue: #{x}"; a + x }
<baweaver>
>> [1,2,3].each_with_index.reduce(0) { |a, (x, i)| puts "Accumulator: #{a}\nValue: #{x}\nIndex: #{i}"; a + x }
<Taoki>
Hello.
Rodya_ has quit [Quit: Leaving...]
<baweaver>
the rest is up to you, but it's a danged bad idea to get 5m left on the clock and then ask questions
<Taoki>
I installed a ruby gem using "gem install mygem". It installed successfully, but how do I run it? It is supposed to work by me typing the name of the gem in bash
blackmes1 has joined #ruby
<baweaver>
vikas027: regex. hash['AWS'].each { |v| v.sub(...fill this in...) }
<Taoki>
It does have a bin directory btw, with a script in it
<Taoki>
Linux
<baweaver>
run: gem list rvpacker
<baweaver>
see if it was installed
marxarelli has joined #ruby
<Ruby>
What about this crazy_nums Write a method crazy_nums that takes a number, max, and returns an array of the integers that ARE less than max AND ARE divisible by either three or five BUT ARE NOT divisible by _both_ three and five You should return the result in increasing order. You may wish to use the modulo operation: 5 % 2 returns the remainder when dividing 5 by 2: 1. If num is divisible by i, then num % i == 0. crazy_nums(3) == []
<baweaver>
then try: rvpacker --help
Lord_of_Life has joined #ruby
<Taoki>
Local gems: rvpacker (1.2.0)
<baweaver>
Ruby: ....are you just asking us to help you solve quiz problems?
<baweaver>
you really need to learn how to do this yourself and it's rather unethical to have us solve things like that.
<Ruby>
and yea
<Ruby>
timed hw
<Ruby>
ill pay you
<baweaver>
write the questions down and hope you get a retry on it.
<Ruby>
Im really desperate
<baweaver>
No
jdm has quit [Remote host closed the connection]
<baweaver>
and I would suggest against asking that in channel. You need to be able to pass your classes on your own skills
skweek has joined #ruby
<baweaver>
We can help you learn Ruby but we will not outright solve homework for you.
jdm has joined #ruby
* Taoki
would help, but probably doesn't know
<baweaver>
Taoki: rvpacker --help
<Taoki>
baweaver: Any more thoughts on what to try next?
<Radar>
?homework
<ruby[bot]>
Radar: I don't know anything about homework
<baweaver>
does that run?
<Taoki>
ok
<Radar>
ruby[bot]: lies
<Taoki>
1 sec
<Radar>
Ruby: My rate is $200/answer.
chouhoulis has quit [Ping timeout: 240 seconds]
<Radar>
Ruby: SUD
<Radar>
USD*
<Radar>
Paypal is radarlistener@gmail.com
<Taoki>
baweaver: rvpacker: command not found
<Radar>
Send half now then half after you get the answer.
<Ruby>
Okay deal
gloscombe_ has quit [Quit: gloscombe_]
pawnbox has quit [Ping timeout: 240 seconds]
<Radar>
Ruby: let me know when it's sent and I'll log in and check.
Ruby has quit [Quit: Page closed]
* baweaver
sighs
<Radar>
baweaver: ir
<Radar>
baweaver: ikr
<baweaver>
I'd bet money they scam on that
<baweaver>
and I have more than half a mind to ban them
<baweaver>
Taoki: hrm.
<Radar>
baweaver: wow cynical
jenrzzz_ has joined #ruby
<baweaver>
Radar: tis my middle name
<Taoki>
baweaver: I have the file /usr/lib64/ruby/gems/2.2.0/gems/rvpacker-1.2.0/bin/rvpacker
<baweaver>
Radar wrote it to get a solid Ruby install down that developers tend to use. The prepackaged / system versions tend to be old or do odd things
bkxd has joined #ruby
michaeltsmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
Anything in the Rails section and below you can ignore safely