Banistergalaxy has quit [Ping timeout: 272 seconds]
dankest is now known as dankest|away
diegoviola has quit [Ping timeout: 252 seconds]
havenn has quit [Remote host closed the connection]
<lianj>
reactormonk: that and heroku worker memory limit
yfeldblum has joined #ruby-lang
wyhaines has joined #ruby-lang
v0lta has quit [Read error: Connection reset by peer]
dankest|away is now known as dankest
<reactormonk>
lianj, use less strings?
mjolk has quit [Quit: This computer has gone to sleep]
<lianj>
punch mongoid in the face
havenn has joined #ruby-lang
imperator has quit [Ping timeout: 252 seconds]
dzhulk has quit [Quit: Leaving.]
wyhaines has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
joevandyk has quit [Quit: joevandyk]
vlad_starkov has quit [Read error: Connection reset by peer]
dankest is now known as dankest|away
waffleau_ has joined #ruby-lang
soypirate has quit [Ping timeout: 244 seconds]
dankest|away is now known as dankest
brianpWins has quit [Quit: brianpWins]
sylvain` has joined #ruby-lang
havenn has quit [Remote host closed the connection]
sylvain` has quit [Remote host closed the connection]
thisirs has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
havenn has joined #ruby-lang
havenn has quit [Ping timeout: 255 seconds]
__butch__ has quit [Quit: Leaving.]
robotmay has quit [Remote host closed the connection]
tdy_ has joined #ruby-lang
cjs226 has joined #ruby-lang
diegoviola has joined #ruby-lang
tdy_ has quit [Client Quit]
dankest is now known as dankest|away
tdy_ has joined #ruby-lang
wyhaines has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
<zenspider>
make things as complicated as possible... get upset when it does a lot of stuff and makes a lot of garbage...
<emocakes>
so whats the big differnce between p327 and p374?
<emocakes>
i can either compile p374 or use a prebuilt 327
<zenspider>
you'd be done compiling by now...
<emocakes>
i have to install gcc
<zenspider>
ok. maybe you wouldn't be :P
<emocakes>
and im in a solaris zone, which im trying to keep slow
<emocakes>
*small
<zenspider>
both :P
<emocakes>
so i dont wwant to grab gcc :p
<emocakes>
:(
tdy_ has quit [Quit: WeeChat 0.3.9.2]
diegoviola has quit [Ping timeout: 252 seconds]
dankest|away has quit [Quit: Leaving...]
spuk has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
wyhaines has quit [Remote host closed the connection]
saLOUt has quit [Quit: Konversation terminated!]
agile has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
waffleau_ has left #ruby-lang [#ruby-lang]
kogent has quit [Quit: kogent]
gregmoreno has quit [Remote host closed the connection]
rsl has quit [Quit: Computer has gone to sleep.]
dankest has joined #ruby-lang
wyhaines has joined #ruby-lang
drbrain has quit [Remote host closed the connection]
RWN has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
lcdhoffman has quit [Quit: lcdhoffman]
neocoin has joined #ruby-lang
madish has quit [Remote host closed the connection]
JMcAfreak has quit [Ping timeout: 246 seconds]
DEac- has quit [Read error: Connection reset by peer]
DEac- has joined #ruby-lang
karasawa has joined #ruby-lang
<cored>
I was wondering something now, regarding how people treat it's code
wyhaines has quit [Remote host closed the connection]
<cored>
open source projects that's it, what would people do or how will they react if some random guys starts to send pull request with not other thing that code smell fixes
<cored>
not new features, not bug fixes just running reek and fixing the code smells that the tool finds
<cored>
could be an interesting test
kurko_ has joined #ruby-lang
mwjcomputing has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
mercwithamouth has quit [Ping timeout: 252 seconds]
gix has quit [Ping timeout: 256 seconds]
wyhaines has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
gix has joined #ruby-lang
mistym has quit [Ping timeout: 252 seconds]
micaeked has joined #ruby-lang
thillux has joined #ruby-lang
xalei has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
sush24 has quit [Quit: This computer has gone to sleep]
<manveru>
cored: i'd be delighted
<manveru>
of course it should still pass tests :P
karasawa has quit [Ping timeout: 244 seconds]
thillux has quit [Remote host closed the connection]
karasawa has joined #ruby-lang
blazes816 has quit [Quit: blazes816]
<cored>
manveru: :-)
<cored>
I don't even know how to name a topic branch like that
<cored>
what I was thinking is that normally people doesn't feel good about another person telling him that his/her work is wrong or it could be better
<cored>
at least on my experience but that's a very particular situation
<socialcoder>
can u tell me how to install the docs from command line
_br_ has quit [Excess Flood]
_br_ has joined #ruby-lang
_br_ has quit [Excess Flood]
_br_ has joined #ruby-lang
banister`sleep has quit [Remote host closed the connection]
<apeiros>
socialcoder: with railsinstaller, I don't really know. shame it doesn't bundle the docs.
sepp2k has joined #ruby-lang
<socialcoder>
shame really
Croms has joined #ruby-lang
rsl has joined #ruby-lang
Arkannia has joined #ruby-lang
Arkannia has quit [Remote host closed the connection]
Arkan has joined #ruby-lang
Arkan has quit [Remote host closed the connection]
megha has joined #ruby-lang
beiter has quit [Ping timeout: 252 seconds]
Arkan has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
ruurd has joined #ruby-lang
mossplix has joined #ruby-lang
justinram has joined #ruby-lang
tbuehlmann has joined #ruby-lang
antbody has joined #ruby-lang
antbody has quit [Client Quit]
srbaker has joined #ruby-lang
<zenspider>
socialcoder: `gem install rdoc; gem rdoc --all` will ensure you have the latest version and rerun doco on all gems. doco for built in stuff ships with ruby tho rvm might fuck that up
antbody has joined #ruby-lang
psycho_one has quit [Ping timeout: 246 seconds]
antbody has quit [Client Quit]
antbody has joined #ruby-lang
probst has quit [Quit: probst]
Nisstyre-laptop has quit [Read error: Operation timed out]
antbody has quit [Client Quit]
mossplix has quit [Quit: mossplix]
beiter has joined #ruby-lang
SiliconDon has joined #ruby-lang
dzhulk has joined #ruby-lang
kristofferrr has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
microspino has joined #ruby-lang
SiliconDon has quit [Remote host closed the connection]
Arkan has quit [Quit: This computer has gone to sleep]
<yorickpeterse>
it's slightly ironic when a tweet about crystal meth gets retweeted by "Quit Smoking"
xcombelle has joined #ruby-lang
Arkan has joined #ruby-lang
lcdhoffman has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
psycho_one has joined #ruby-lang
psycho_one has quit [Client Quit]
Arkan has quit [Quit: This computer has gone to sleep]
vlad_starkov has quit [Remote host closed the connection]
celinedior has quit [Quit: celinedior]
zz_chrismcg is now known as chrismcg
Arkan has joined #ruby-lang
<socialcoder>
there is a heck lot to memorize in ruby
<socialcoder>
methods everywhere
<socialcoder>
for a newbie like me, any tips on how to stick this to my brain system?
socialcoder has quit []
<apeiros>
for starters, I would not leave right after asking a question… *sob*
vlad_starkov has joined #ruby-lang
markit has joined #ruby-lang
<markit>
hi, I need to read a ods (libreoffice spread sheet, open document format) file. Today I forced the user to save as csv and used "include csv" to read it, without need of add gems
<markit>
(I deploy under GNU/Linux, kubuntu 12.04 to be precise)
<markit>
now I would love to read ods directly, but don't know how easely deploy the script then
<markit>
since would require the "installer" do get the apropriate gem
<markit>
what is the usual solution? I mean, can the script check if the gem is present and install by itself? other aproaches?
<apeiros>
markit: you mean require 'csv', yes?
<apeiros>
because include means something quite different in ruby…
<markit>
yes , sorry, require
<apeiros>
the common approach is to use bundler
<markit>
urgh, I use it for rails, seems even worse than just gem install ;P
<markit>
I mean, would like to give the user some files to put in his home dir and run the script
<apeiros>
if you wrap your script up as a gem, you declare the dependencies
<apeiros>
you think "give the user some files to and he has to understand where to put it" is easier than bundle exec? you're funny.
<markit>
mmm nothing like "embedded" (inside ruby itself) like csv for ods?
<apeiros>
no
<apeiros>
re embedded: the term is "core" for stuff you don't need to require and "stdlib" for stuff that comes along with a proper ruby installation (but still needs a require)
<markit>
apeiros: he copies the file in his home, open a terminal, sudo chmod u+x script.rb and ./script.rb, no need of internet connection for instance
chaosis has joined #ruby-lang
<apeiros>
note that some distros fuck it up because they think they know better what a proper ruby installation
vlad_starkov has quit [Remote host closed the connection]
<apeiros>
markit: neither do bundler or gem install require an internet connection
<apeiros>
that's just the normal mode of operation
<markit>
apeiros: do you mean that I could provide the gem in some way, and make bundler install it?
<markit>
I thought it would have fetched from internet...
<apeiros>
bundler was made to deploy apps to servers which potentially are not allowed to connect to the internet - so yes
<apeiros>
read bundlers docs
<apeiros>
as for local gem install - that only works without dependencies, though
<markit>
very interesting, thanks a lot for the tips (and terminology clarifications as well)
<apeiros>
(you could get it to work with dependencies, but I think you're then again at an undesirable complexity level)
<apeiros>
there are also some scripts to wrap what you wrote into an executable. don't know how good those are and for what platforms.
<markit>
in any case I have to install bundler, or I'm totally confused (gem install bundler)?
bright_day has joined #ruby-lang
dzhulk has quit [Ping timeout: 252 seconds]
<apeiros>
yes, bundler is not part of ruby, it's an additional gem
vlad_starkov has joined #ruby-lang
<markit>
so if I need a single additional gem, is more same effort than directly install it
stardiviner has joined #ruby-lang
<markit>
but in the long term bundler is a bette solution, right?
justinra_ has quit [Remote host closed the connection]
carloslopes has quit [Remote host closed the connection]
tdy_ has quit [Ping timeout: 252 seconds]
swav_ has quit [Ping timeout: 244 seconds]
swav has joined #ruby-lang
karasawa has joined #ruby-lang
tdy has joined #ruby-lang
Yianna has joined #ruby-lang
wyhaines has joined #ruby-lang
rdw200169 has quit [Ping timeout: 256 seconds]
rdw200169 has joined #ruby-lang
carloslopes has joined #ruby-lang
bsmr has quit [Remote host closed the connection]
Kuifje has quit [Read error: Connection reset by peer]
Kuifje has joined #ruby-lang
Kuifje has quit [Changing host]
Kuifje has joined #ruby-lang
soypirate has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
imperator has joined #ruby-lang
cjs226 has quit [Ping timeout: 256 seconds]
itsmeduncan has joined #ruby-lang
cjs226 has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
_carloslopes has joined #ruby-lang
carloslopes has quit [Read error: Connection reset by peer]
tmi_ has quit [Quit: tmi_]
swav_ has joined #ruby-lang
beiter has quit [Quit: beiter]
tmi_ has joined #ruby-lang
swav has quit [Ping timeout: 248 seconds]
srbaker has joined #ruby-lang
swav has joined #ruby-lang
swav_ has quit [Ping timeout: 240 seconds]
Kuifje has quit [Read error: Connection reset by peer]
Kuifje has joined #ruby-lang
Kuifje has quit [Changing host]
Kuifje has joined #ruby-lang
tibig has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
Bearproof has joined #ruby-lang
slaytanic has quit [Ping timeout: 256 seconds]
lun__ has quit [Ping timeout: 244 seconds]
lun_ has joined #ruby-lang
chaosis has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
davidbalber|away is now known as davidbalbert
Arkan has quit [Quit: Leaving]
tbuehlmann has joined #ruby-lang
JohnBat26 has joined #ruby-lang
imperator2 has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
karasawa has quit [Ping timeout: 246 seconds]
benkant has joined #ruby-lang
karasawa has joined #ruby-lang
swav has quit [Read error: Connection reset by peer]
swav_ has joined #ruby-lang
<unsymbol>
socialcoder: tips on memorising? just write some stuff for fun; researching as you go. it's hard to make knowledge stick if you don't have a context.
swav_ has quit [Read error: Connection reset by peer]