<havenwood>
devp__: If you need a portable, self-contained Ruby packaged with gems that you can copy to an offline box consider Traveling Ruby: https://phusion.github.io/traveling-ruby/
<havenwood>
devp__: If you tell us more about what you're doing and why we might be able to give better suggestions.
<havenwood>
leitz: Module.const_get(career).new
<havenwood>
leitz: or with ActiveSupport you can: career.constantize.new
<SeepingN>
can't rvm also help you set up ruby(ies) without root?
tolerablyjake has joined #ruby
<leitz>
havenwood, using Ruby 2.4.0, lemme go look. Thanks!
<havenwood>
SeepingN: yeah, you can install Rubies and gems without root with rvm or ruby-install
<devp__>
compiled successfully and run on a remote machine
<devp__>
working fine
<devp__>
when transfer this to vps ruby -v shows correct version
<devp__>
gem -v show error:
<devp__>
-bash /home/bs/.localpacks/bin/gem: /home/user/.localpacks/bin/ruby: bad interpreter: No such file or directory
benlieb has quit [Quit: benlieb]
<havenwood>
devp__: You can allow a movable build with the flag I showed you, but it typically doesn't work very well to move a dynamically linked build onto another box.
<havenwood>
devp__: For that you'll want a statically linked build.
<devp__>
which shows it still pointing to previous location of installed ruby which has user name "user"
<devp__>
new location has username "bs"
bman013 has quit [Remote host closed the connection]
<havenwood>
devp__: Both RVM and Travis produce precompiled, statically linked Rubies for your distro version.
<devp__>
--enable-shared does not workes either
<devp__>
same error
bman013 has joined #ruby
<havenwood>
devp__: It works for moving from one place to another on the same box.
cyphase has joined #ruby
<havenwood>
devp__: Like I said, you'll want a statically linked build if you want to move it onto another box.
<havenwood>
You can do you own, but there are already precompiled ones available for your os/distro/version.
<devp__>
just one thing here
<devp__>
manually alter location of finding ruby installation for gem
<devp__>
so gem will be able to find new ruby location
<havenwood>
devp__: Unless you want to do it solely for the exercise, use a precompiled, statically linked binary or a Brightbox package.
LuckyABA has joined #ruby
<havenwood>
devp__: The `gem` command ships with Ruby.
<devp__>
thats true
<devp__>
when i compiled it from source gem hardcoded itself to that ruby location
<devp__>
thats create issue
<havenwood>
devp__: If you can, use the Brightbox package. If you can't, use the RVM or Travis precompiled binary (I'd be happy to point you to either). Or if you don't like those options, use Traveling Ruby.
<devp__>
going for travelling ruby
<devp__>
hang on
<havenwood>
Traveling Ruby has a very nice statically linked build.
_sfiguser has quit [Ping timeout: 240 seconds]
<devp__>
travelling ruby looks like it uses docker
cyphase has quit [Ping timeout: 268 seconds]
cyphase has joined #ruby
devp___ has joined #ruby
devp__ has quit [Ping timeout: 260 seconds]
_sfiguser has joined #ruby
cyphase has quit [Ping timeout: 256 seconds]
willardg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whathappens has quit [Remote host closed the connection]
zipace has quit [Ping timeout: 240 seconds]
<devp___>
heavenwood: thanks
<devp___>
still giving a final try on install from source.
<devp___>
if it does not works will go for brightbox
cyphase has joined #ruby
postmodern has joined #ruby
jhack has joined #ruby
jhack has quit [Changing host]
jhack has joined #ruby
Channel6 has joined #ruby
marcdel has joined #ruby
bmurt has quit [Remote host closed the connection]
marcdel_ has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
<devp___>
heavenwood: it workes this time
rakm has joined #ruby
marr has quit [Ping timeout: 240 seconds]
marcdel has quit [Ping timeout: 246 seconds]
<devp___>
havenwood: compiled from source works. just created a user with same name "bs" on remote machine and then compiled it
ecksit has quit [Ping timeout: 256 seconds]
<devp___>
transfered that bin to other remote
<devp___>
havenwood: thanks for your support
<havenwood>
devp___: nice, you're welcome
cyphase has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Renich has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
cyphase has quit [Ping timeout: 258 seconds]
__Yiota has joined #ruby
t-recx has quit [Quit: t-recx]
devp___ has quit [Ping timeout: 260 seconds]
cyphase has joined #ruby
houhoulis has joined #ruby
cyphase has quit [Ping timeout: 258 seconds]
Renich has quit [Quit: Renich]
mim1k has joined #ruby
cfec0b8d has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 240 seconds]
Snickers has quit [Quit: Snickers]
gnufied has quit [Quit: Leaving]
nowhere_man has quit [Ping timeout: 246 seconds]
Tempesta has quit [Quit: See ya!]
mikecmpbll has quit [Quit: inabit. zz.]
leitz has quit [Quit: Nappy time]
aryaching has quit [Ping timeout: 240 seconds]
johnzorn has quit [Ping timeout: 264 seconds]
gloscombe_ has quit [Ping timeout: 240 seconds]
rgtk has quit [Ping timeout: 246 seconds]
benlieb has joined #ruby
Tempesta has joined #ruby
d^sh has quit [Ping timeout: 258 seconds]
d^sh has joined #ruby
optiz0r has quit [Ping timeout: 268 seconds]
johnzorn has joined #ruby
libastral has quit [Ping timeout: 268 seconds]
hays has joined #ruby
libastral has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
benlieb has quit [Client Quit]
benlieb has joined #ruby
benlieb has quit [Client Quit]
benlieb has joined #ruby
benlieb has quit [Client Quit]
benlieb has joined #ruby
benlieb has quit [Client Quit]
benlieb has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has quit [Client Quit]
skweek has quit [Ping timeout: 256 seconds]
genpaku has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 246 seconds]
genpaku has joined #ruby
madsa has joined #ruby
madsa is now known as Guest30808
optiz0r has joined #ruby
mazeinmaze_ has joined #ruby
duckpupp1 has joined #ruby
singalaut has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
Guest30808 has quit [Read error: Connection reset by peer]
madsa_ has joined #ruby
madsa_ is now known as Guest32742
enterprisey has joined #ruby
jameser has joined #ruby
Rodya_ has quit [Quit: Leaving...]
aryaching has joined #ruby
duderonomy has joined #ruby
HoierM has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
willardg has joined #ruby
__Yiota has joined #ruby
rakm has joined #ruby
__Yiota has quit [Client Quit]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
__Yiota has quit [Client Quit]
KnownSyntax has quit [Remote host closed the connection]
gix has quit [Ping timeout: 260 seconds]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
Jayson_Virissimo has quit []
CloCkWeRX has joined #ruby
Arpanet69 has joined #ruby
Bock has quit [Max SendQ exceeded]
Bock has joined #ruby
houhoulis has quit [Remote host closed the connection]
mim1k has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
enterprisey has quit [Read error: Connection reset by peer]
Nilium has quit [Ping timeout: 264 seconds]
aryaching has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 260 seconds]
aryaching has joined #ruby
duckpupp1 has joined #ruby
batmaan has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
<batmaan>
hello. I'm trying to consume an api, but I haven't seen documentation like this before. I'd like to use restclient or httparty to build a client, but, I don't have much experience with this type of api. my end goal is to import a csv, then post each row to the api. anyone with api experience interested in helping out? I just need a point in the right direction or a good resource to read.
CloCkWeRX has joined #ruby
amclain has quit [Quit: Leaving]
<batmaan>
bueller?
Arpanet69 has quit [Ping timeout: 258 seconds]
<adam12>
batmaan: I'd go look at a library already written
<adam12>
Especially if they use one of those libraries you mentioned
<adam12>
The twitter one perhaps.
<adam12>
batmaan: but realistically, you're looking at very little code. Ruby ships with a CSV parsing library, and you could use _anything_ to post to a single URL - even net/http which comes with Ruby.
<adam12>
Anyways, late here. Night.
shinnya has joined #ruby
<batmaan>
Thanks @adam12
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Arpanet69 has joined #ruby
<batmaan>
adam12: I'm ok with writing the client. It's this api documentation that I'm not familiar with.
jackjackdripper has joined #ruby
DTZUZO has quit [Ping timeout: 260 seconds]
cfec0b8d has joined #ruby
robmuh has joined #ruby
<batmaan>
it's late indeed. 'night all. zzz.
batmaan has left #ruby [#ruby]
jackjackdripper has quit [Ping timeout: 240 seconds]
hndk has joined #ruby
willardg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
willardg has joined #ruby
willardg has quit [Client Quit]
robmuh has quit [Quit: BitchX: try our low-fat flavor too!]
willardg has joined #ruby
willardg has quit [Client Quit]
willardg has joined #ruby
willardg has quit [Client Quit]
willardg has joined #ruby
willardg has quit [Client Quit]
willardg has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
willardg has quit [Client Quit]
willardg has joined #ruby
willardg has quit [Client Quit]
Silthias has joined #ruby
Channel6 has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
DTZUZO has joined #ruby
sniffer has quit [Remote host closed the connection]
preyalone has quit [Quit: Connection closed for inactivity]
NightMonkey has quit [Ping timeout: 240 seconds]
NightMonkey has joined #ruby
sniffer has joined #ruby
hndk has quit [Read error: Connection reset by peer]
DTZUZO has quit [Ping timeout: 260 seconds]
sniffer has quit [Client Quit]
_whitelogger has joined #ruby
Ariadeno has quit [Read error: No route to host]
DTZUZO has joined #ruby
jamesaxl has joined #ruby
sniffer has joined #ruby
jdm has joined #ruby
meshsmith has quit [Remote host closed the connection]
renchan has joined #ruby
rippa has joined #ruby
duckpupp1 has joined #ruby
duckpupp1 has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
bkxd has joined #ruby
minimalism has joined #ruby
nofxxxx has joined #ruby
jameser_ has joined #ruby
Xiti has quit [Quit: Xiti]
nofxxx has quit [Ping timeout: 260 seconds]
jameser has quit [Ping timeout: 260 seconds]
migge has quit [Quit: migge]
ainchk has joined #ruby
thatsnotjack has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
spectrum has joined #ruby
jgnagy has quit [Remote host closed the connection]
nertzy has quit [Read error: Connection reset by peer]
nertzy has joined #ruby
Verity has joined #ruby
<Verity>
how do I learn to use classes
<Verity>
these tutorials really dont help
<Verity>
its all syntax
<Verity>
here is how you create a class, here are some things
<AndroUser123>
thanks
<Verity>
but not... here is how to structure classes, break your pgoram down, when to use classes
<Verity>
this sort of thing
<Verity>
just seeing how to write a class class Person end is really not helpful
<Verity>
ok I have a person object now and it says hello... this seems quite useless out of a real context relating to my program
<Verity>
do I just put everything in class? some things?
<Verity>
my whole program started to break when I tried
<Verity>
should I have started with the class from the beginning? it felt almost like rewriting it now without it being clear this time what to do
HoierM has joined #ruby
renchan has quit [Remote host closed the connection]
HoierM has quit [Max SendQ exceeded]
<matthewd>
It sounds like you might be reading "how to create a class in ruby (syntax)" when you want some sort of "intro to classes and objects (concepts)" -- likely not based on ruby
HoierM has joined #ruby
Yotolo has quit [Remote host closed the connection]
duckpupp1 has joined #ruby
Yotolo has joined #ruby
jameser has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
<apeiros>
Verity: IMO understanding what to represent by a class and how to structure your object graph is something which takes quite a bit of experience. so don't be afraid of "doing it wrong". just try and try again.
<leitz>
What's the bot's syntax for PODR?
<apeiros>
feel free to ask here how people would structure a problem you have at hand (make sure you show your own approach along the question!)
<apeiros>
leitz: ?factoid and !command
<leitz>
?factoid podr
<ruby[bot]>
leitz: I don't see no podr, whom should I tell about factoid?
<leitz>
Hmm...
<apeiros>
sorry, ?<factoid> and !<command> <arg> …
<apeiros>
?podr
<ruby[bot]>
apeiros: I don't know anything about podr
<Verity-Away>
I've triede 16 hours ripping clumps of hair out now smashing my head on kb
<Verity-Away>
line 64 I've tried everything possible
<Verity-Away>
there are no methods left to try
xall has quit [Ping timeout: 240 seconds]
<Verity-Away>
I need to get each BYTE but ruby is putting each byte integer turning each number in it to a str/char then spitting thta on wire and WTF is going on
<Verity-Away>
so confused
<Verity-Away>
driving my insane
<Verity-Away>
to pure insanity
<matthewd>
Verity-Away: If I try to talk to you, will you pay attention, or disappear for an hour?
<Verity-Away>
I'll be here for a bit, I lost power a moment ago
<matthewd>
Why are you doing this bytes / chr thing?
<Verity-Away>
?
<Verity-Away>
I'm trying to write each byte to the wire
boombox_ has quit [Remote host closed the connection]
<Verity-Away>
from each packet in the array
GodFather has joined #ruby
<Verity-Away>
later I will add flow control
<Verity-Away>
this is supposed to be the basic write a byte get a byte
<Verity-Away>
took me 5 minutes in c#
<Verity-Away>
what on earth is going on here
<Verity-Away>
its killing my soul
foxxx0 has joined #ruby
<Verity-Away>
literally 16 hours
<Verity-Away>
I just cant get it.
<matthewd>
The colour isn't interesting or helpful
<matthewd>
Does write not expect a string?
<Verity-Away>
is my text colored?
<Verity-Away>
hiuh???
<Verity-Away>
ABOUT TO crash again
<Verity-Away>
wine is opening 10000 windows for some reason in an infinite loop
<Verity-Away>
what color????
<matthewd>
I mean the commentary. To be curt, I don't care how long you've spent on it, nor what it's doing to your soul.
tau has quit [Remote host closed the connection]
<Verity-Away>
but I do
<Verity-Away>
ok it stopped crashing
<Verity-Away>
should be good now
<matthewd>
Do you have a link to the documentation for the Serial#write method you're using here?
<Verity-Away>
the sourceis there though, but it wasnt helping me much
<matthewd>
Okay, so as expected, write takes a string
<matthewd>
packet_array is an array of strings at the start of this method
<matthewd>
So again I ask, why are you doing the bytes/chr thing? You have a string, it wants a string.
<Verity-Away>
I dont know how to answer your question, I dont know what I'm doing is the answer you probably want to hear
<Verity-Away>
and I can't figure out whats wrong
<Verity-Away>
I've tried MANY things, with no luck, so I came here
<Verity-Away>
I tried using p .inspect
slackR has joined #ruby
<Verity-Away>
I tried using irb carefully to see what was what
<Verity-Away>
I just cant even get to a basic state of writing one byte reading one byte
<Verity-Away>
(this isnt supposed to be the challenging part of the lab)
<Verity-Away>
this is freebie code in the C# version
<matthewd>
I'm trying to understand why it didn't just work here too
<matthewd>
You have added code compared to the simplest thing that could possibly work, and I'm trying to understand why -- what problem you were trying to solve by adding it
<Verity-Away>
because it wasnt working right before, so I kept going deeper into that path of trying to make it work
<Verity-Away>
nesting more and more things, trying different forms of the packets
<Verity-Away>
different ways of readinf them
<Verity-Away>
ord vs chr vs s vs i
<Verity-Away>
different things
<Verity-Away>
but it was like no combination yielded a byte out a byte in
<matthewd>
Stop trying to write a byte
<matthewd>
Write a string
sspreitz has quit [Ping timeout: 268 seconds]
sspreitz has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 264 seconds]
truenito has joined #ruby
Emmanuel_Chanel has joined #ruby
ddffg has joined #ruby
GodFather has quit [Remote host closed the connection]
Verity-Away has quit []
GodFather has joined #ruby
yurikoles has joined #ruby
am55 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
Verity: adding to what matthewd said, if you want to write in hex: "\xff".b
<apeiros>
that's 0xff as a string with binary encoding
Simplicity has joined #ruby
am55 has joined #ruby
jusa has quit [Ping timeout: 258 seconds]
jusa has joined #ruby
cfec0b8d has joined #ruby
SiliconDon has joined #ruby
hndk has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
ahrs has quit [Remote host closed the connection]
djbkd has quit [Client Quit]
ahrs has joined #ruby
rgtk has joined #ruby
<allisio>
matthewd: You're a curmudgeon and saint all in one.
tildes has joined #ruby
slackR has quit [Ping timeout: 240 seconds]
allisio has quit [Quit: WeeChat 1.8-dev]
allisio has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
statelesscode has joined #ruby
skweek has joined #ruby
statelesscode has quit [Client Quit]
marcdel has joined #ruby
statelesscode has joined #ruby
statelesscode has quit [Client Quit]
synthroid has quit []
SiliconDon has quit [Quit: SiliconDon]
statelesscode has joined #ruby
marcdel has quit [Ping timeout: 268 seconds]
<apeiros>
TIL the word curmudgeon
<Zarthus>
sounds a lot like something else
<apeiros>
and IRC without join/part messages is weird.
<Pierreb|home>
im trying to match a regexp any way to expand on \d?
<Pierreb|home>
i want to match any number 1-1m
duderonomy has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
tildes_ has joined #ruby
dlitvak has joined #ruby
marcdel has joined #ruby
tildes has quit [Ping timeout: 268 seconds]
<Zarthus>
\d{1,6}
<apeiros>
that won't match 1m
Guest32742 has quit [Remote host closed the connection]
Lord_of_Life has joined #ruby
<apeiros>
and \d{1,7} would match 1m, but it'd also match 9,999,999
madsa has joined #ruby
madsa is now known as Guest86528
<apeiros>
so Pierreb|home - you sure you want 1-1m and not 1...10000000 (1 to 10m, excluding 10m)
<allisio>
Pierreb|home: You sure you want regex?
<apeiros>
because if you really want 1-1m, I'd ask what allisio just asked :D
meshsmith has joined #ruby
govg has quit [Ping timeout: 258 seconds]
<apeiros>
ytf doesn't github have an option to only search my own gists?
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #ruby
Lord_of_Life has joined #ruby
<elomatreb>
apeiros: user:something seems to work in the gist search
<apeiros>
grmpf, I'm pretty sure I have code to convert Int..Int ranges to regex, but seems it's not on gist. but ads in the tv show are over. will be back later… :D
Robtop__ has joined #ruby
<Verity>
ty apeiros
<Verity>
ty leitz
houhoulis has quit [Remote host closed the connection]
<apeiros>
(and not sure whether that's a correct implementation)
marcdel has quit [Ping timeout: 260 seconds]
duderonomy has joined #ruby
Xiti has quit [Quit: Xiti]
migge has joined #ruby
duderonomy has quit [Client Quit]
cdg has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
youmu has joined #ruby
jdm has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
<apeiros>
elomatreb: thanks (sorry, was at another computer and still haven't set up my znc properly to get the backlog for each device individually)
amine has joined #ruby
Suslov has joined #ruby
marcdel has joined #ruby
amine is now known as Guest26628
azwieg103 has joined #ruby
marcdel has quit [Ping timeout: 260 seconds]
<Verity>
ty, I'll study that: apeiros
<apeiros>
Verity: not sure you should :D
<apeiros>
verifying a number is in a range is better done by verifying it is a number, convert it to one and then use numeric tools, like (from..to).cover?(value)
<apeiros>
or actually I prefer: value.between?(from, to)
banisterfiend has joined #ruby
<Verity>
ok
Guest26628 has quit [Remote host closed the connection]
<Verity>
I['ll block out what I read so far
<apeiros>
hm, seems github's syntax highlighter fails at that code :D
Jackneill has quit [Remote host closed the connection]
Nilium has quit [Quit: <kristin> Cower is like... I dunno. sometimes he seems senile and other times he seems like a middle schooler.]
Guest8500 has quit [Remote host closed the connection]
Nilium has joined #ruby
ddddddd has quit [Ping timeout: 260 seconds]
<apeiros>
nil != bytes
<apeiros>
usually an IO returning nil on read means end of transmission
<Mon_Ouie>
I'm not sure what lines 15 through 18 (especially 15-16) are meant to do, but they look like they belong in initialize
<apeiros>
but the docs of SerialPort should tell you the meaning
<apeiros>
or rather, the docs of rubyserial
<Verity>
those are my member variables
<Verity>
of the cless
<Verity>
a
<elomatreb>
That's not how instance variables in Ruby work
<apeiros>
Verity: note that the class is a separate object from any of its instances
<elomatreb>
You A) don't need to declare them beforehand B) if you set them there, you set them on the class object instead of the instance
Cork has quit [Quit: .]
<apeiros>
and instance variables belong to one object only, the one object in whose scope you are at the time of using them. and class body means class object's scope (not its instances)
<Verity>
I'm only goijng to use one object
<Verity>
of this class
<apeiros>
that's immaterial
<apeiros>
ruby's syntax rules don't change depending on your intention
<Mon_Ouie>
That one instance's instance variables won't be affected by these lines
<Mon_Ouie>
>> class A; @my_variable = []; end; A.new.instance_variables
<Verity>
I have several errors, so I['m trying to work one at a time
naprimer_2 has joined #ruby
<Verity>
there is a space
<Mon_Ouie>
There ought not to be
<adam12>
Verity: The ? is a part of the eof method. It's called a predicate.
<adam12>
(eof eh)
<Verity>
oh
<Verity>
I thought it was part of the until syntax
<adam12>
Nope.
doublemalt__ has quit [Ping timeout: 260 seconds]
ptx0 has quit [Ping timeout: 268 seconds]
grzegorzz has quit [Ping timeout: 260 seconds]
priodev has quit [Ping timeout: 246 seconds]
ltp has quit [Ping timeout: 264 seconds]
<Verity>
Uncaught exception: no implicit conversion of nil into String File.open(FILE_NAME) do |file| I'm staring at this line tryingf to undersand what the rror is telling me
<Verity>
it cant see FILE_NAME?
jamesaxl has quit [Quit: WeeChat 1.6]
kirun has quit [Quit: Konversation terminated!]
ddddddd has quit [Quit: Leaving]
BackEndCoder has quit [Excess Flood]
<adam12>
Verity: Right.
bkxd has quit [Ping timeout: 240 seconds]
bkxd_ has joined #ruby
nofxxxx has quit [Ping timeout: 260 seconds]
ptx0 has joined #ruby
<Verity>
I tried to makre it global and it said dont make globals
<Verity>
I dont understand my errrors, I'm just trying to learn ruby and use of classes. this should be tbe basics. the real challenge is working with th e packets protocol
<Verity>
or it should be, instead these small stumbling blocks, this one especially perplexing
<Verity>
still an Uncaught exception: no implicit conversion of nil into String
Coldblackice has quit [Read error: Connection reset by peer]
bkxd_ has quit [Ping timeout: 240 seconds]
duckpupp1 has joined #ruby
<Verity>
maybe matthewd has some insight on this
duckpupp1 has quit [Ping timeout: 240 seconds]
Coldblackice has joined #ruby
jameser has joined #ruby
mustmodify has left #ruby [#ruby]
marr has quit [Ping timeout: 258 seconds]
lxsameer has quit [Quit: WeeChat 1.7]
<allisio>
Verity: What's the error with the code you most recently posted?
cfec0b8d has quit [Ping timeout: 264 seconds]
<allisio>
Anyway, if it's still "no implicit conversion...", it's because you're not passing at least three arguments on the command line.