vlad_starkov has quit [Read error: Connection reset by peer]
johnmilton has quit [Read error: Connection reset by peer]
tshine has joined #ruby-lang
kotk1 has quit [Quit: Leaving...]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lewix has joined #ruby-lang
quizzicol1 has quit [Quit: Leaving.]
conquerio has joined #ruby-lang
kitak has joined #ruby-lang
dingus_khan has joined #ruby-lang
<dingus_khan>
was there a way to typecast a numerical datatype to accept a 1000-digit non-float integer in ruby? or am i stuck with the array > split route?
<dingus_khan>
string > split *
<dingus_khan>
can't find das google
<dingus_khan>
whoops, was asking wrong question, nevermind
deens has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deens has quit [Read error: No route to host]
imjacobclark has quit [Remote host closed the connection]
deens_ has joined #ruby-lang
deens_ has quit [Remote host closed the connection]
symm- has quit [Read error: Operation timed out]
deens has joined #ruby-lang
deens has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
patriciomacadden has joined #ruby-lang
daikan has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
faces has joined #ruby-lang
face has quit [Ping timeout: 252 seconds]
mykoweb has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
brushbox has quit [Quit: brushbox]
tkuchiki has joined #ruby-lang
heftig has quit [Quit: Quitting]
bzalasky has joined #ruby-lang
fijimunkii has quit [Ping timeout: 272 seconds]
styped has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cnivolle has quit [Remote host closed the connection]
marr has quit [Ping timeout: 260 seconds]
heavyhorse has joined #ruby-lang
fijimunkii has joined #ruby-lang
haon99 has joined #ruby-lang
jtw has joined #ruby-lang
bcjordan has quit [Ping timeout: 264 seconds]
haon99 has quit [Client Quit]
deens has joined #ruby-lang
zrl has quit [Ping timeout: 276 seconds]
zrl has joined #ruby-lang
deens has quit [Ping timeout: 246 seconds]
avdi has quit [Ping timeout: 276 seconds]
ggherdov has quit [Ping timeout: 276 seconds]
avdi has joined #ruby-lang
imjacobclark has joined #ruby-lang
ggherdov has joined #ruby-lang
imjacobclark has quit [Ping timeout: 272 seconds]
face has joined #ruby-lang
faces has quit [Ping timeout: 252 seconds]
henrikhodne has quit [Ping timeout: 252 seconds]
henrikhodne has joined #ruby-lang
Lewix has quit [Read error: Connection reset by peer]
Lewix has joined #ruby-lang
Cakey has joined #ruby-lang
faces has joined #ruby-lang
face has quit [Ping timeout: 252 seconds]
elia has quit [Quit: Computer has gone to sleep.]
stonerfish has joined #ruby-lang
seanlinsley has quit [Quit: …]
seanlinsley has joined #ruby-lang
rahul_j has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
_mtr has joined #ruby-lang
mehlah_ has joined #ruby-lang
patriciomacadden has quit [Quit: Textual IRC Client: www.textualapp.com]
mehlah has quit [Ping timeout: 260 seconds]
deens has joined #ruby-lang
daikan has joined #ruby-lang
seanlinsley has quit [Ping timeout: 272 seconds]
ledestin has quit [Ping timeout: 252 seconds]
deens has quit [Ping timeout: 265 seconds]
imjacobclark has joined #ruby-lang
daikan has quit [Ping timeout: 252 seconds]
go|dfish has quit [Ping timeout: 252 seconds]
seanlinsley has joined #ruby-lang
ledestin has joined #ruby-lang
jay_m has joined #ruby-lang
jay_m is now known as Xuisce
Cakey has quit [Ping timeout: 252 seconds]
imjacobclark has quit [Ping timeout: 265 seconds]
<Lewix>
Example = Struct.new(:var) { def example_method item ; var << item ; puts var ; end ; end }
<Lewix>
How come the double less than operator is working
<Lewix>
And var is an array
face has joined #ruby-lang
mistym_ is now known as mistym
faces has quit [Ping timeout: 264 seconds]
deens has joined #ruby-lang
deens has quit [Ping timeout: 265 seconds]
ender_ has joined #ruby-lang
rahul_j has left #ruby-lang [#ruby-lang]
ender__ has quit [Ping timeout: 246 seconds]
ender__ has joined #ruby-lang
mdub has joined #ruby-lang
ender_ has quit [Ping timeout: 260 seconds]
bzalasky has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
mykoweb has quit [Remote host closed the connection]
mehlah_ has quit [Quit: Leaving...]
mykoweb has joined #ruby-lang
hahuang61 has joined #ruby-lang
mykoweb has quit [Ping timeout: 264 seconds]
knu has quit [Ping timeout: 252 seconds]
Cakey has joined #ruby-lang
Cakey has joined #ruby-lang
hahuang61 has quit [Ping timeout: 252 seconds]
mdub has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
soba has joined #ruby-lang
mykoweb has joined #ruby-lang
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
go|dfish has joined #ruby-lang
woollyams has joined #ruby-lang
daikan has joined #ruby-lang
styped has joined #ruby-lang
imjacobclark has joined #ruby-lang
daikan has quit [Ping timeout: 264 seconds]
jtw has quit []
jtw has joined #ruby-lang
imjacobclark has quit [Ping timeout: 252 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
fijimunkii has quit [Quit: leaving]
fijimunkii has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
deens has joined #ruby-lang
mykoweb has quit [Ping timeout: 272 seconds]
deens has quit [Ping timeout: 248 seconds]
iliketurtles has quit [Quit: zzzzz…..]
dorei has quit []
bzalasky has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
woollyams has quit [Remote host closed the connection]
Xuisce- has joined #ruby-lang
woollyams has joined #ruby-lang
Xuisce has quit [Quit: Leaving...]
Xuisce- is now known as Xuisce
Lewix has quit [Remote host closed the connection]
caral has quit [Read error: Operation timed out]
Lewix has joined #ruby-lang
caral has joined #ruby-lang
pirozhkov has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
tylersmith has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
pirozhkov has quit [Remote host closed the connection]
bjh13 has joined #ruby-lang
rahul_j has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
<Lewix>
Example = Struct.new(:var) { def example_method item ; var << item ; puts var ; end ; end }
bzalasky has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
<Lewix>
For each member a reader and writer is created similar to attr_accessor, so how come we can use <<
<Lewix>
badeball: you're right line 105 is quite long
deens_ has quit [Ping timeout: 260 seconds]
<Lewix>
badeball: bread returns what follow if the condition is met
<Lewix>
s/bread/break
<Lewix>
centrx: hahaha
<Lewix>
centrx: ok. I get your point
<badeball>
Lewix: I know, but the syntax felt weird to me. I very rarely see it be used like that and it makes the line long
<Lewix>
badeball: what line were you referring to about #{month}
<badeball>
78
<Lewix>
badeball: I refactored, i didn't want 18 lines of code
<pipecloud>
Lewix: Your mixing of abbreviations with long method names is confounding.
<badeball>
I had to scroll horizontally in gist.github.com to get the gist of some of the lines and that is imho a good indication that they're too long
<Lewix>
badeball: they are
<centrx>
Lewix, This is nothing wrong with lines of code if they make the code clearer. Lines of code is a proxy for code complexity. You could make your entire program be 1 line of code, that would not be better.
<centrx>
There is
<Lewix>
pipecloud: true
<Lewix>
centrx: true
<pipecloud>
Have you considered making more objects that better describe the different attributes better?
<pipecloud>
MeterReadings, for instance.
<pipecloud>
Also, the sooner you ditch 'show' in your method names, the better.
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RobertBirnie has joined #ruby-lang
<badeball>
I'd much rather prefer 18 lines of code of they were shorter (horizontally)
woollyams has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
<pipecloud>
I'd prefer 1 line of code if it cleanly and clearly expressed intent and purpose.
vlad_starkov has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
<badeball>
your usage of next within #collect in combination with #compact.. it seems like you want to map an array and filter out some elements and you're trying to do it at the same time
knu has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<Lewix>
badeball: so do you suggest a if else for 107
vlad_starkov has joined #ruby-lang
mistym has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
<badeball>
are we still viewing your previously posted gist? because I only see an end keyword on line 107
sepp2k has quit [Read error: Connection reset by peer]
<Lewix>
badeball: line 40. its just a list of comma separated value. any idea how to store an array of arrays
hahuang61 has quit [Ping timeout: 252 seconds]
diegoviola has joined #ruby-lang
<badeball>
in regards to what I said about using select with next for doing two different things, take a look at this: https://gist.github.com/badeball/8515259. the last two lines produces the same result, but I think the latter is more concise
<badeball>
Lewix: I'm not sure if you can do that with CSV. maybe you're better of with another database?
<Lewix>
badeball: what's your background. math?
<badeball>
Lewix: when I'm done with my masters, I'll be a civil engineer in computer science, so I have some knowledge of slightly-above easy math, but it's not my primary field
<Lewix>
"civil engineer in computer science". I've never heard that before
<centrx>
Sounds made up
<badeball>
probably just me trying to use expressions commonly used in norway, but not so common elsewhere. anyway, here: http://www.ntnu.edu/studies/mtdt
<pipecloud>
I always thought that civil engineer was fancy talk for boardroom inhabitant.
diegovio1 has joined #ruby-lang
diegovio1 has joined #ruby-lang
diegovio1 has quit [Changing host]
rahul_j has quit [Quit: rahul_j]
diegoviola is now known as Guest10369
diegovio1 is now known as diegoviola
<badeball>
in the case of ntnu, the difference between civil engineer and non-civil engineer is basically just the amount of math courses
rahul_j has joined #ruby-lang
Guest10369 has quit [Ping timeout: 260 seconds]
<centrx>
badeball, "civil" engineer is generally engineering of bridges, canals, that sort of thing
<centrx>
In English
woollyams has joined #ruby-lang
<centrx>
badeball, In America, the general distinction between "taking more math" would be Master of Science vs Master of Arts
<Lewix>
lol
<centrx>
So, that's my non-Ruby language lesson for the day
<badeball>
centrx: yeah, I know. I believe the term has some other roots in norway, even though the title is not protected these days. here, it's most often used to describe studies given by ntnu (university previously known as nth)
<badeball>
in comparison, my english report card only says master of science
<badeball>
in retrospect, I guess that would have been the least confusing term
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
daikan has joined #ruby-lang
imjacobclark has joined #ruby-lang
daikan has quit [Ping timeout: 252 seconds]
zlogan has joined #ruby-lang
mistym has joined #ruby-lang
imjacobclark has quit [Read error: Operation timed out]
<Lewix>
badeball: How's the job market in Norway?
<badeball>
quite good. very few leave the university without having signed a full-time contract
ahmedelgabri has quit [Ping timeout: 260 seconds]
jonahR has joined #ruby-lang
toretore has joined #ruby-lang
ahmedelgabri has joined #ruby-lang
<Lewix>
badeball: I see
rahul_j has quit [Quit: rahul_j]
<Lewix>
badeball: What is your approach when you design the data model of your code? do you begin by the method you need. I have to find a more efficient way to do it
<pipecloud>
I prefer emergent design.
amerine has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 252 seconds]
<badeball>
difficult question, really. I havn't formalized my though process enough to write it down. it boils down to gut feeling, but I like for my code to adhere some concrete rules, like a) don't take an insane amount of arguments b) don't have a high cyclomatic complexity and c) don't be too long
<Lewix>
pipecloud: can you be more specific please. I should know more about
<badeball>
s/though/thought/
ahmedelgabri has quit [Ping timeout: 260 seconds]
<pipecloud>
Lewix: Don't plan too far ahead and be careful not to make decisions that lock you into a design that might prove to be hard to evolve.
rahul_j has joined #ruby-lang
<Lewix>
badeball: I'm asking that because I hate when I see someone who write a much better piece of code in significanly less time than I did - it must be that my process is not efficient enough
<Lewix>
pipecloud: I see
<badeball>
practice makes perfect
robbyoconnor has joined #ruby-lang
ahmedelgabri has joined #ruby-lang
<Lewix>
badeball: when you start writing, do you start by the methods then move on to define the classes or the other way around
<Lewix>
badeball: true
RobertBirnie has joined #ruby-lang
<badeball>
well, I usually like to begin with data containment and domain logic, so models
yfeldblum has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
yfeldblum has joined #ruby-lang
Elico has quit [Quit: Elico]
jerrytgarcia has joined #ruby-lang
mdub has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
woollyams has quit [Ping timeout: 252 seconds]
error404_ has quit [Read error: Operation timed out]
<Lewix>
badeball: line 82 don't scale. any suggestion?
robbyoconnor has joined #ruby-lang
<badeball>
which gist are you looking at now?
jstemmer has quit [Ping timeout: 252 seconds]
matp has quit [Ping timeout: 252 seconds]
yorickpeterse has quit [Ping timeout: 272 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Lewix>
it's taking forever with a larger data set
<centrx>
Lewix, I assume you are redirecting output to a file?
<Lewix>
centrx: nope
phansch has quit [Quit: Leaving]
<centrx>
Lewix, Also I think the customers_with_electricity and customers_with_gas functions should be "include?" not "index"
simi has quit [Ping timeout: 260 seconds]
<Lewix>
centrx: I'm hunting for the bottleneck
<centrx>
Lewix, Okay, outputting to the screen is always slow, that is not a measure of program speed
<Lewix>
centrx: yea i changed it to index to improve performance
<centrx>
index is slower than include? ...
<centrx>
anyway, both are fast so that isn't the bottleneck
<centrx>
but if you are outputting all the data to the screen, the program is going to be as slow as your terminal scroll limit is
cba has joined #ruby-lang
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
<Lewix>
centrx: it's just three lines
<Lewix>
centrx: and index is faster from my understanding (not that it matters in my situation)
knu has quit [Ping timeout: 252 seconds]
<centrx>
it looks like show_nbr_of_meters_readings_per_number_of_customers_with_that_many_readings is outputting every line from list_of_unique_nbr_of_meter_readings_and_number_of_customers_with_that_many_readings(resource) with puts
<badeball>
#include? returns less information than #index and could have been implemented as !index.nil?, which means that #include? will never be slower than index, but depending on implementation #index can be slower than #include?
knu has joined #ruby-lang
<Lewix>
centrx: not really. it outputs two line. i waited earlier and saw the output
<centrx>
There is no way to even talk about it because the method names are so long
<centrx>
It requires cutting and pasting everything into the chat
<badeball>
haha
<centrx>
I can't even see the whole line for all the crucial lines
<badeball>
centrx: that would take all the fun out of it
<centrx>
80 characters is the conventional limit on line length
<centrx>
but the names of some of the methods is longer than 80 characters, just the names of the methods!
<centrx>
Lewix, Try writing your code so that no line is longer than 80 characters, without using any line breaks with \
imjacobclark has joined #ruby-lang
daikan has quit [Ping timeout: 272 seconds]
<gnufied>
maloik: no probably not "my" conference.
<centrx>
Lewix, Just use a database with Rails
cnivolle has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.2]
<centrx>
All you are doing is: Customer.group(:meter_readings).count
huma has joined #ruby-lang
imjacobclark has quit [Ping timeout: 260 seconds]
<badeball>
centrx: even though I havn't tried using AR without the rest of Rails, I believe the recent refactoring was to make that possible
diegoviola has joined #ruby-lang
<centrx>
It is even more separable I think
<centrx>
Either way, you can use arel without ActiveRecord or any part of Rails
<badeball>
even better
<Lewix>
centrx: how?
<Lewix>
centrx: my file is in *.csv
<centrx>
You create the CSV though right?
<centrx>
Either way, load the CSV into a database
<centrx>
You can use your existing scheme without a database or Rails, but simplify simplify simplify
<centrx>
You are calling some of these methods several times
<centrx>
But I would recommend a database and Rails
<centrx>
especially if you plan to add any other data or any other features
<centrx>
but I don't know what the plan is for this program
<centrx>
I do know that list_of_nbr_of_meter_readings_and_customer_ID(resource).map { |a,_| [a, nbr_of_customers_with_that_many_readings(a,resource) ]}. is running N times instead of 1 time
mbj has joined #ruby-lang
<centrx>
and that I have to scroll the paste to see the whole line
francisfish has quit [Remote host closed the connection]
<whitequark>
also, what the fuck is the following messages
francisfish has joined #ruby-lang
<r0bgleeson>
google translate on a massive page of russian is a great way to kill your browser
saneax__ has joined #ruby-lang
imjacobclark has joined #ruby-lang
<r0bgleeson>
interesting way to do localization
<new2ruby>
Recently reset a linux server with many moving parts. Ruby as one of them. Now I do not see the "Rack" running. When I spawn the process, I do see the program list (ps) fire off many "Passenger ApplicationSpawner: /directory/to/ruby-root"
<new2ruby>
The part of the website that is handled by this ruby code isn't working. I'm having problems digging into this issue since I did not develop the server although I have been able to maintain many of the parts until the Rack stopped working.
<r0bgleeson>
new2ruby: it's going to be very hard/maybe impossible to help you with that information
imjacobclark has quit [Ping timeout: 260 seconds]
vondruch_ has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 272 seconds]
wolfsoul has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
wolfsoul has quit [Client Quit]
camilleldn has joined #ruby-lang
Lewix has joined #ruby-lang
elia has quit [Read error: Operation timed out]
nisstyre has quit [Quit: Leaving]
rolfb has joined #ruby-lang
vpretzel has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
cnivolle_ has joined #ruby-lang
camilleldn has quit [Remote host closed the connection]
camilleldn has joined #ruby-lang
bin7me has quit [Quit: Leaving]
Squarepy has joined #ruby-lang
cnivolle has quit [Ping timeout: 252 seconds]
saneax__ has quit [Quit: Lost terminal]
mechanicles has joined #ruby-lang
<ljarvis>
oin
<ljarvis>
moin
<ljarvis>
r0bgleeson: but it isn't working, that should be enough information for you
kwando_ has joined #ruby-lang
kwando has quit [Read error: Connection reset by peer]
cnivolle_ has quit [Remote host closed the connection]
<yorickpeterse>
what is Rack?
<ljarvis>
u r
cnivolle has joined #ruby-lang
<yorickpeterse>
I know I'm loaded
<yorickpeterse>
check out my rack
* yorickpeterse
shows server rack
<yorickpeterse>
new2ruby: either way, what's your question?
rahul_j has joined #ruby-lang
<yorickpeterse>
Passenger is a Ruby web server that uses Rack. Rack is sort of like a protocol for writing HTTP stuff in Ruby
<gnufied>
there is some problem.
skade has quit [Quit: Computer has gone to sleep.]
<gnufied>
what basically happened was, All the Racks belong to yorick now
<r0bgleeson>
he doesn't have access to logs or something like that
<yorickpeterse>
sudo su -l root
<yorickpeterse>
job well done
<r0bgleeson>
new2ruby: you'll get better help in the main channel
<new2ruby>
I do see some entries in suphp and error (_log) but nothing "interesting"
<gnufied>
I suggest you hire someone for quick work I think
<Lewix>
r0bgleeson: do i need def intialize
<gnufied>
it sucks to be unhelpful, but it is hard to help when we don't know the problem. new2ruby
tkuchiki has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<r0bgleeson>
Lewix: if you do, you should call super()
<ljarvis>
Lewix: you dont need it by default, unless you're overriding behaviour in which case you need super() like r0bgleeson mentions
<Lewix>
ljarvis: i hate not understanding, it feels like magic
rahul_j has joined #ruby-lang
<Lewix>
i have no idea how the mapping works
<new2ruby>
Previously, when I ran ps, there would be a "Rack: " process resident - I'm assuming this was serving the http calls to the ruby portion. However, after a reboot I do not see this. I do see an attempt by the ApplicationSpawner - but I do not see any reason why it bails nor do I know enough about the architecture to "follow the bouncing ball". In no way am I frustrated at the support because I fully realize the knowledge gap
<ljarvis>
Lewix: you have to pass a hash in, not a list
diegoviola has quit [Ping timeout: 272 seconds]
<new2ruby>
The issue currently defined as - not knowing where to begin.
<new2ruby>
Which is fairly close to needle in the haystack given the possibly variations in configuration, etc.
<gnufied>
Is Passenger running properly?
<gnufied>
check /etc/apache2
<gnufied>
and related configuration files, if they have correct ruby path etc
<gnufied>
bit like shooting in dark
imjacobclark has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
elia has joined #ruby-lang
diegoviola has joined #ruby-lang
rahul_j has joined #ruby-lang
<new2ruby>
no /etc/apache2 - Passenger shows (in ps) PassengerWatchdog, PassengerHelperAgent, Passenger spawn server, PassengerLoggingAgent
imjacobclark has quit [Ping timeout: 260 seconds]
<new2ruby>
I tried digging into where PassengerLoggingAgent dumps info - but didn't find an answer
<new2ruby>
Looks like I have what I need from that page (the detail). Now I know how to debug from the outside although it would be nice to have a log file with the same information (or know where it exists).
<new2ruby>
... ahhh - fixed
<ljarvis>
Lewix: is cust_id a primary key?
<new2ruby>
Rack is now running. no errors in http://localhost:3000 .... and I've learned another tool in my toolbox for this server.
<Lewix>
ljarvis: no. its not. I dont even know what im doing anymore. nvm sequel, i spent too much time on it without success
h_kon has quit [Remote host closed the connection]
imperator2 has joined #ruby-lang
achru has quit [Remote host closed the connection]
<new2ruby>
Root cause was problem with code (missing quote)
symm- has joined #ruby-lang
coca_rails has joined #ruby-lang
<new2ruby>
touch tmp/restart.txt neither restarted the Rack nor did it destroy it - so I was in the dark until the server was rebooted. Someday I'll learn more to debug as I go but I still do not have a handle on the environment.
kurko_ has joined #ruby-lang
lfox has joined #ruby-lang
<new2ruby>
I assumed no code error since I have another server with a similar image (although no problems with the Ruby code) that stopped working after a reboot. Now that I know about localhost:3000, I see that server is complaining about a missing library.
<new2ruby>
libmysqlclient_r.so.15: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-1.9.2-p180/gems/mysql2-0.2.11/lib/mysql2/mysql2.so
<new2ruby>
That's something I can fix.
nathanstitt has joined #ruby-lang
heftig has quit [Ping timeout: 272 seconds]
coca_rails has quit [Remote host closed the connection]
coca_rails has joined #ruby-lang
svsolnc has joined #ruby-lang
shinnya has joined #ruby-lang
rippa has joined #ruby-lang
svsolnc has quit [Ping timeout: 272 seconds]
ajayrhc has quit []
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
imjacobclark has joined #ruby-lang
jtw has joined #ruby-lang
diegoviola has quit [Ping timeout: 272 seconds]
patriciomacadden has joined #ruby-lang
imjacobclark has quit [Ping timeout: 272 seconds]
lfox has quit []
lfox has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
ender_ has joined #ruby-lang
ender__ has joined #ruby-lang
canton7-mac has joined #ruby-lang
|jemc| has joined #ruby-lang
ender_ has quit [Ping timeout: 272 seconds]
solars has quit [Ping timeout: 264 seconds]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lewix has quit [Quit: Leaving...]
rahul_j has quit [Quit: rahul_j]
mistym has joined #ruby-lang
ender__ has quit [Ping timeout: 272 seconds]
patriciomacadden has joined #ruby-lang
imperator2 has quit [Ping timeout: 265 seconds]
rahul_j has joined #ruby-lang
kolyaska has joined #ruby-lang
kolyaska has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
ahmedelgabri has joined #ruby-lang
webtrans has joined #ruby-lang
DouweM has joined #ruby-lang
webtrans has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
shinnya has quit [Ping timeout: 252 seconds]
cnivolle has quit [Remote host closed the connection]
robmiller has quit [Quit: robmiller]
cnivolle has joined #ruby-lang
cnivolle_ has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
flowerrus has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
setmeaway has quit [Read error: Connection reset by peer]
serroft has joined #ruby-lang
imjacobclark has quit [Ping timeout: 264 seconds]
jtw has quit []
caral has joined #ruby-lang
serroft has quit [Ping timeout: 248 seconds]
chouhoul_ has joined #ruby-lang
chouhou__ has joined #ruby-lang
chouhoul_ has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby-lang
iliketurtles has joined #ruby-lang
simi has quit [Ping timeout: 272 seconds]
ahmedelgabri has joined #ruby-lang
chouhoulis has quit [Ping timeout: 252 seconds]
tylersmith has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhou__ has quit [Read error: Connection reset by peer]
jtw has joined #ruby-lang
cored has quit [Ping timeout: 265 seconds]
jtw has quit [Client Quit]
jvrmaia has quit []
apeiros has joined #ruby-lang
saarinen has joined #ruby-lang
imjacobclark has joined #ruby-lang
serroft has joined #ruby-lang
phansch has joined #ruby-lang
Squarepy has quit [Ping timeout: 272 seconds]
imjacobclark has quit [Remote host closed the connection]
chouhoul_ has joined #ruby-lang
wiku6 has joined #ruby-lang
wiku6 has quit [Client Quit]
wiku6 has joined #ruby-lang
VTLob has joined #ruby-lang
scampbell has joined #ruby-lang
ahmedelgabri has quit []
wiku6 has quit [Client Quit]
wiku6 has joined #ruby-lang
saarinen has quit [Quit: saarinen]
chouhoulis has quit [Ping timeout: 272 seconds]
coca_rails has joined #ruby-lang
coca_rails has quit [Ping timeout: 240 seconds]
wiku6 has quit [Quit: WeeChat 0.3.8]
deens has joined #ruby-lang
wiku6 has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
wiku6 has quit [Client Quit]
wiku6 has joined #ruby-lang
mykoweb has joined #ruby-lang
jtw has joined #ruby-lang
stonerfish has quit [Quit: Leaving.]
jayne has quit [Remote host closed the connection]
wiku6 has quit [Client Quit]
wiku6 has joined #ruby-lang
mykoweb has quit [Ping timeout: 272 seconds]
mehlah has quit [Quit: Leaving...]
arBmind has quit [Quit: Leaving.]
deens has quit [Remote host closed the connection]
rulip1 has joined #ruby-lang
saarinen has joined #ruby-lang
imjacobclark has joined #ruby-lang
centrx has joined #ruby-lang
cx has joined #ruby-lang
cx has quit [Client Quit]
heftig has joined #ruby-lang
rulip1 has left #ruby-lang [#ruby-lang]
deens has joined #ruby-lang
bradcliffe has joined #ruby-lang
kith_ has joined #ruby-lang
kith_ has left #ruby-lang [#ruby-lang]
el_gato has joined #ruby-lang
el_gato has left #ruby-lang [#ruby-lang]
roberto_ has joined #ruby-lang
imjacobclark has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 272 seconds]
deens has quit [Remote host closed the connection]
roberto_ has quit [Quit: Saliendo]
roberto_ has joined #ruby-lang
atmosx has joined #ruby-lang
bambuka has joined #ruby-lang
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bambuka has quit [Client Quit]
roberto_ has quit [Client Quit]
fenicks has joined #ruby-lang
bambuka has joined #ruby-lang
joshsz has left #ruby-lang [#ruby-lang]
lsegal has joined #ruby-lang
bambuka has quit [Client Quit]
roberto_ has joined #ruby-lang
roberto_ has quit [Client Quit]
roberto_ has joined #ruby-lang
roberto_ has quit [Client Quit]
bambuka has joined #ruby-lang
MichD is now known as michd
Andrevan has joined #ruby-lang
soahccc has quit [Read error: Connection reset by peer]
patriciomacadden has joined #ruby-lang
lcdhoffman has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
coca_rails has joined #ruby-lang
Pupeno_w has joined #ruby-lang
wiku6 has quit [Quit: WeeChat 0.3.8]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
vocablo has joined #ruby-lang
wiku6 has joined #ruby-lang
coca_rails has quit [Ping timeout: 240 seconds]
toretore has quit [Quit: This computer has gone to sleep]
vocablo has quit [Remote host closed the connection]
trickyhero has joined #ruby-lang
trickyhero has left #ruby-lang ["Leaving"]
deception has joined #ruby-lang
hiperborean has joined #ruby-lang
mykoweb has joined #ruby-lang
mbj has quit [Ping timeout: 272 seconds]
mechanicles has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
elia has joined #ruby-lang
fijimunkii has joined #ruby-lang
mbj has joined #ruby-lang
mykoweb has quit [Ping timeout: 272 seconds]
mykoweb has joined #ruby-lang
wiku6 has quit [Quit: WeeChat 0.3.8]
KevinK has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
chaos_ has joined #ruby-lang
mykoweb has joined #ruby-lang
chaos_ has left #ruby-lang [#ruby-lang]
soahccc has joined #ruby-lang
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
skade has joined #ruby-lang
achru has joined #ruby-lang
mbj has quit [Ping timeout: 252 seconds]
mykoweb has quit [Ping timeout: 272 seconds]
mykoweb has joined #ruby-lang
elia has quit [Quit: (IRC Client: textualapp.com)]
Pupeno_w has quit [Ping timeout: 246 seconds]
imjacobc_ has joined #ruby-lang
mbj has joined #ruby-lang
hiperborean has quit [Ping timeout: 265 seconds]
amerine has joined #ruby-lang
soahccc has quit [Remote host closed the connection]
Rodrigo5244 has joined #ruby-lang
amerine has quit [Client Quit]
tuttinator has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
<Rodrigo5244>
I have just read "The Ruby Programming Language" book. Now I want to covert to Ruby one Win32 application written in C. Is FFI the way to go?
centrx has quit [Remote host closed the connection]
centrx has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
hahuang61 has joined #ruby-lang
chaos_ has joined #ruby-lang
chaos_ has left #ruby-lang [#ruby-lang]
robbyoconnor has quit [Ping timeout: 264 seconds]
|jemc| has quit [Read error: Operation timed out]
imjacobc_ has quit [Remote host closed the connection]
achru has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
achru has joined #ruby-lang
bin7me has joined #ruby-lang
coca_rails has joined #ruby-lang
achru has quit [Ping timeout: 248 seconds]
<yorickpeterse>
Rodrigo5244: you want to convert Ruby to C or the other way around?
<yorickpeterse>
Neither way is really possible
<Rodrigo5244>
yorickpeterse: C to Ruby
<r0bgleeson>
you could try 'ironruby'
<r0bgleeson>
it can talk to .NET/.NET runtime
<r0bgleeson>
it was dropped by MS and is now a community effort so it might be buggy and useless