x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sent1nel_ has quit [Ping timeout: 244 seconds]
slester has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bklane has quit [Remote host closed the connection]
mjuszczak has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 250 seconds]
<pontiki>
you have the standard CGI environment
<pontiki>
anything else would have to be set in lighty's env
sevvie has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
mjuszczak has quit [Client Quit]
brailangas has joined #ruby
centrx has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
Hijiri has quit [Ping timeout: 252 seconds]
Adran has joined #ruby
<shevy>
hmm
agrinb has joined #ruby
cinch_ has joined #ruby
Hijiri has joined #ruby
lidaaa has joined #ruby
leafybasil has quit [Remote host closed the connection]
bklane has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
michael_mbp has quit [Excess Flood]
agrinb has quit [Ping timeout: 265 seconds]
michael_mbp has joined #ruby
greenbagels_ has quit [Read error: Connection reset by peer]
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brailangas has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
hiyosi has joined #ruby
serivich has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
claw_ has joined #ruby
cinch_ has quit [Ping timeout: 244 seconds]
lampd1 has quit [Read error: Connection reset by peer]
cinch_ has joined #ruby
yevon has joined #ruby
sent1nel has quit [Remote host closed the connection]
lampd1 has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
Cadillactica has quit [Quit: Cadillactica]
Adran has quit [Ping timeout: 240 seconds]
swgillespie has joined #ruby
RegulationD has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
swgillespie has quit [Max SendQ exceeded]
lkba has joined #ruby
swgillespie has joined #ruby
sent1nel has joined #ruby
ferr has quit [Ping timeout: 246 seconds]
ismaelga has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
Wolland has quit [Ping timeout: 246 seconds]
brailangas has joined #ruby
RegulationD has joined #ruby
nolic has quit [Ping timeout: 252 seconds]
fabrice31 has joined #ruby
denym_OFF has quit [Ping timeout: 276 seconds]
cinch_ has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
rbennacer has joined #ruby
sent1nel has quit [Ping timeout: 265 seconds]
cinch_ has joined #ruby
brailangas has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Ping timeout: 245 seconds]
roolo has quit [Quit: Leaving...]
ghr has quit [Ping timeout: 265 seconds]
rbennacer has quit [Remote host closed the connection]
cinch_ has quit [Ping timeout: 244 seconds]
juanpablo__ has joined #ruby
cinch_ has joined #ruby
mikepack has joined #ruby
ferr has joined #ruby
sent1nel has joined #ruby
linoespinoza has joined #ruby
jbeeze has joined #ruby
Adran has joined #ruby
juanpablo__ has quit [Ping timeout: 240 seconds]
brailangas has joined #ruby
brailangas has quit [Read error: Connection reset by peer]
pontiki has quit [Remote host closed the connection]
cinch__ has joined #ruby
diranged1 has joined #ruby
diranged has quit [Read error: Connection reset by peer]
cinch_ has quit [Ping timeout: 244 seconds]
brailangas has joined #ruby
Nuck has joined #ruby
roolo has joined #ruby
botcito has joined #ruby
muzik has joined #ruby
cinch__ has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby
brailangas has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
greenbagels has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
Megtasti_ has joined #ruby
botcito has quit [Ping timeout: 244 seconds]
Hobogrammer has joined #ruby
linoespinoza has quit [Ping timeout: 255 seconds]
kiely_elsewhere is now known as kiely
Megtastique has quit [Ping timeout: 256 seconds]
slester has quit [Ping timeout: 264 seconds]
Joufflu has quit [Quit: Peace]
Nuck has quit [Quit: Computer has gone to sleep.]
nfk has quit [Quit: yawn]
Takle has quit [Remote host closed the connection]
LLamaRider has quit [Quit: Lost terminal]
zcm has joined #ruby
zcm has quit [Read error: Connection reset by peer]
kaiZen has joined #ruby
agrinb has joined #ruby
bklane has quit [Remote host closed the connection]
zachrab has joined #ruby
banister has joined #ruby
sent1nel has quit [Remote host closed the connection]
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
agrinb has quit [Ping timeout: 265 seconds]
Qladstone has joined #ruby
Qladstone has quit [Read error: Connection reset by peer]
zachrab has quit [Ping timeout: 252 seconds]
Guest64 has joined #ruby
Guest123 has joined #ruby
Qladstone has joined #ruby
tunaCanBruh has joined #ruby
jenrzzz has joined #ruby
<shevy>
how do I split a string into an array, with a chunk of 80 characters in each slot of the array?
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stef204 has joined #ruby
_blizzy_ has quit [Ping timeout: 246 seconds]
tunaCanBruh has quit [Ping timeout: 244 seconds]
<jhass>
.scan /.{,80}/
zorak8 has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
<shevy>
ohhh I was trying without the ,
Troy^_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
robustus has joined #ruby
blizzy has joined #ruby
<stef204>
hi, i noticed I have gems in my $HOME/.gem/ruby/2.1.0 directory; which are not seen by gem as am now running ruby 2.2.0 and gem path is set to HOME/.gem/ruby/2.2.0. How do I ge rid of the gems in 2.1.0?
mikepack has quit [Remote host closed the connection]
<stef204>
s/ge/get
Musashi007 has joined #ruby
freerobby has joined #ruby
willharrison has joined #ruby
cjim has joined #ruby
ghr has joined #ruby
<stef204>
i guess i could add the .gem/2.1.0 dir to my path before the 2.2.0 and possibly gem would uninstall them
ghostpl_ has joined #ruby
cjim has quit [Ping timeout: 252 seconds]
<weaksauce>
stef204 use bundler
<weaksauce>
and use some sort of ruby version manager. I like chruby
ghr has quit [Ping timeout: 250 seconds]
ghostpl_ has quit [Ping timeout: 244 seconds]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<stef204>
weaksauce: I could use bundler I suppose. I'm not too keen on installing more package management packages to handle other package management (gem) but I could try
sent1nel has joined #ruby
<weaksauce>
stef204 if you don't use bundler, you will be one of the only rubists that don't use it
<weaksauce>
it's really that ubiquitous
<stef204>
weaksauce: ok, we don't want that then!
<jhass>
stef204: you can safely just rm -f that folder
<stef204>
weaksauce: ok, didn't realize was ubiquitous
<stef204>
jhass: ok
<jhass>
weaksauce: bundler will not solve that, it'll scope install locations to the ABI version too
freerobby has quit [Quit: Leaving.]
<stef204>
the path 'trick' doesn't wrk, btw
<stef204>
*work
<jhass>
and chruby is actually worse, as it scopes to the ruby version, not the ABI version
tmtwd has quit [Remote host closed the connection]
turtil-kun has joined #ruby
moritzs has joined #ruby
riotjones has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Quit: Musashi007]
scripore has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
Troy^_ has joined #ruby
zachrab has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
bklane has quit [Remote host closed the connection]
average has left #ruby [#ruby]
kaiZen has quit [Ping timeout: 255 seconds]
zachrab has quit [Ping timeout: 246 seconds]
moritzs has quit [Ping timeout: 264 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Synthbread has joined #ruby
kaiZen has joined #ruby
prasselpikachu has quit [Ping timeout: 264 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sent1nel_ has joined #ruby
Qladstone has quit [Ping timeout: 252 seconds]
wldcordeiro has quit [Ping timeout: 250 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sent1nel has quit [Ping timeout: 246 seconds]
Limix has joined #ruby
RegulationD has joined #ruby
havenwood has quit [Remote host closed the connection]
xploshioon has joined #ruby
apeiros_ has joined #ruby
fabrice31 has joined #ruby
Qladstone has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
lys has joined #ruby
zcm has joined #ruby
zcm has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 250 seconds]
Deithrian_ has quit [Ping timeout: 244 seconds]
sent1nel has joined #ruby
RegulationD has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
yevon has quit [Ping timeout: 264 seconds]
sent1nel_ has quit [Ping timeout: 264 seconds]
juanpablo__ has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
prasselpikachu has joined #ruby
RegulationD has joined #ruby
willharrison has joined #ruby
juanpablo__ has quit [Ping timeout: 265 seconds]
veduardo has quit [Ping timeout: 240 seconds]
jbw__ has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
jbw_ has quit [Ping timeout: 252 seconds]
significance has joined #ruby
cjim has joined #ruby
<significance>
Hello all! Writing a beginning ruby project here, what's the best way to get started? Does `bundle gem` setup a good default?
bklane has joined #ruby
magic__ has joined #ruby
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
cjim has quit [Client Quit]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
luriv_ has quit [Ping timeout: 250 seconds]
livingstn has quit []
livingstn has joined #ruby
cjim has joined #ruby
<softinio>
I have a vps for hosting my rails apps
<softinio>
I am using nginx as web server
jenrzzz has quit [Ping timeout: 252 seconds]
<softinio>
puma or passenger or what is your guys recommendation to use with nginx?
serivich has quit [Ping timeout: 252 seconds]
cjim has quit [Client Quit]
Vile` has quit [Remote host closed the connection]
chrishough has joined #ruby
pwnz0r has joined #ruby
agrinb has joined #ruby
Guest63491 has joined #ruby
duncannz has joined #ruby
pwnz0r has quit [Ping timeout: 245 seconds]
mitchellhenke has joined #ruby
Soda has quit [Remote host closed the connection]
rhg135 has quit [Quit: changing name]
agrinb has quit [Ping timeout: 265 seconds]
Guest71148 has quit [Ping timeout: 246 seconds]
mitchellhenke has quit [Client Quit]
rhg135 has joined #ruby
lys has quit [Quit: lys]
digifiv5e has joined #ruby
digifiv5e is now known as Guest27776
armyriad has joined #ruby
Synthbread has quit [Ping timeout: 272 seconds]
significance has quit [Quit: Page closed]
Guest27776 has quit [Ping timeout: 245 seconds]
woodyb23 has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Nuck has joined #ruby
digifiv5e_ has joined #ruby
banister has joined #ruby
tunaCanBruh has joined #ruby
banister has quit [Max SendQ exceeded]
Synthbread has joined #ruby
Megtasti_ has quit []
woodyb23 has quit [Ping timeout: 250 seconds]
Qladstone has quit [Remote host closed the connection]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
kaiZen has quit [Quit: Computer has gone to sleep.]
tunaCanBruh has quit [Ping timeout: 265 seconds]
Musashi007 has joined #ruby
<axisys>
hi I am trying to generate a file using erb template.. this is what I have tried so far.. http://dpaste.com/0ETM5BM .. newbie here.. any help is appreciated
<weaksauce>
axisys @users doesn't equal users
lemur has quit [Ping timeout: 265 seconds]
<axisys>
updated the first line with @users .. still same error
<apeiros_>
I didn't say it makes much sense to use a proc as a key and wanting to invoke it by key
cpt_yossarian has quit [Remote host closed the connection]
<apeiros_>
but then again, it never makes much sense wanting to retrieve *a key* from a hash
<apeiros_>
the key is usually what you have to retrieve *a value*
<cyberfab007>
there are so many setups for ruby , can someone give me a link to the proper setup of ruby on rails / GEMS setup for ubuntu 14.10 64
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Jinkins has quit [Quit: This computer has gone to sleep]
<theta88>
cyberfab007 have you looked at rvm?
agrinb has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
Pharaoh2 has joined #ruby
Jinkins has joined #ruby
adamjleonard has joined #ruby
Jinkins has quit [Client Quit]
ponga has joined #ruby
thomas has quit [Changing host]
thomas has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
<cyberfab007>
theta88 yes ,
<cyberfab007>
but I set up ruby on my other system I tried using that and someone I cant remember who it was over a month ago told me it was wrong and gave me instructions on how to do it
<cyberfab007>
and it worked fine after that
<theta88>
what is the problem you're having with it?
sivam has joined #ruby
<theta88>
pontiki that is fascinating, im referencing the value of the hash proc inside the proc, it works
<apeiros_>
also funny: reference the proc inside the proc
ninedragon has quit [Remote host closed the connection]
timonv has joined #ruby
monod has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fakam has joined #ruby
tunaCanBruh has quit [Ping timeout: 240 seconds]
<fakam>
Hi how do you remove the decimals and the trailing digits ?
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
serivich has joined #ruby
jp-znc has joined #ruby
ghr has joined #ruby
no_gravity has joined #ruby
<no_gravity>
Hello! What could "nr" stand for in the variable name "nr_sessions_to_process"?
Takle has joined #ruby
tohuw has quit [Quit: tohuw]
ferr has quit [Quit: WeeChat 1.1.1]
<yxejamir>
number?
Takle has quit [Remote host closed the connection]
<no_gravity>
thanks
no_gravity has left #ruby [#ruby]
ghr has quit [Ping timeout: 240 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
fakam has quit [Quit: Page closed]
einarj_ has joined #ruby
_Andres has joined #ruby
reinaldob has joined #ruby
einarj__ has joined #ruby
tohuw has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
ndrei has joined #ruby
mikepack has joined #ruby
einarj_ has quit [Ping timeout: 245 seconds]
Deithrian_ has joined #ruby
spider-mario has joined #ruby
reinaldob has quit [Ping timeout: 246 seconds]
Diabolik has quit [Max SendQ exceeded]
Diabolik has joined #ruby
mikepack has quit [Ping timeout: 256 seconds]
reinaldob has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
reinaldob has quit [Ping timeout: 255 seconds]
jack_rabbit_ has quit [Ping timeout: 255 seconds]
kartouch has joined #ruby
oo_ has quit [Remote host closed the connection]
terlar has joined #ruby
oo_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
dh64 has joined #ruby
agrinb has joined #ruby
Musashi007 has joined #ruby
oo_ has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 250 seconds]
tens0r has joined #ruby
toretore has quit [Quit: Leaving]
Spami has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
shreknet has joined #ruby
charliesome has joined #ruby
<shreknet>
Hey guys and girls, I need your help. I am a normal PHP Server Guy who runs Redmine and Gitlab on a server. We needed to update mysql on our debian wheezy host from 5.5 to 5.6 with this commands: http://www.devops.zone/debian-howtos/installing-mysql-5-6-on-debian-wheezy/ now I gem uninstalled mysql2 and gem installed mysql2 again and restarted all the processes, but both applications still complain about a version missmatch:
<shreknet>
Incorrect MySQL client library version! This gem was compiled for 5.5.38 but the client library is 5.6.23.
<shreknet>
now one of my thoughts was, that the apt package libmysqlclient-dev ( which is required from ruby afaik ) could be build for 5.5, but I don't know how to check this or how to get a newer version... Any hints?
riotjones has joined #ruby
zorak8 has quit [Ping timeout: 246 seconds]
oo_ has joined #ruby
jp-znc has quit [Quit: ZNC - 1.7.0-git-20-048d118 - http://znc.in]
jp-znc has joined #ruby
zachrab has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
serivich has quit [Ping timeout: 246 seconds]
duncannz has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 255 seconds]
riotjones has quit [Ping timeout: 264 seconds]
zachrab has quit [Ping timeout: 250 seconds]
lkba has quit [Ping timeout: 250 seconds]
<cyberfab007>
are these proper setup instrutions for ruby on rails
robbyoconnor has quit [Read error: No route to host]
<cyberfab007>
anyone in here
robbyoconnor has joined #ruby
claptor has quit [Quit: this channel is bakas]
<zly>
how about you try that and tell us about the result
<zly>
;]
tens0r has quit [Quit: tens0r]
<cyberfab007>
zly, you talking to me
plutonic has quit [Quit: plutonic]
<zly>
yeah, 'me talking to you'
<cyberfab007>
zly, I install like this before using these instrutions, but when I went to run a ruby script using a wrapper via a shell command from my php script
<cyberfab007>
someone here told me I installed wrong and then gave me instrutctions which I lost and the wrapper worked fin
<zly>
well, looks like it's your problem if you're trying to wrap ruby on rails in php
<zly>
there's nothing about php in the link you pasted
<cyberfab007>
well no , just my php takes the output from a ruby script , works fine no issues on my one server I just cant remember how the guy had me install it
<cyberfab007>
and I think I deleted the logs a few months ago where the commands were
<zly>
if you're trying to install ruby/rails - your link is fine
pkrzywicki has quit [Ping timeout: 252 seconds]
<zly>
if you want to pair it with php, I can't help you
<cyberfab007>
do you know what I mean by a ruby wrapper ?\
<zly>
in this context? not really
<zly>
anyway, I'm out
<zly>
good luck
fabrice31 has joined #ruby
dys has joined #ruby
<cyberfab007>
thanks man
roolo has joined #ruby
ghr has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
ferr has quit [Quit: WeeChat 1.1.1]
<cyberfab007>
hey whats the best way to install ruby RVM from source or using rbenv
juanpablo__ has joined #ruby
lkba has joined #ruby
bMalum has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
wldcordeiro has quit [Ping timeout: 250 seconds]
jhankins has joined #ruby
ninedragon has joined #ruby
ninedragon has quit [Excess Flood]
juanpablo__ has quit [Ping timeout: 252 seconds]
Takle has joined #ruby
lightstalker has quit [Ping timeout: 265 seconds]
<cyberfab007>
anyone lol
<cyberfab007>
thats what sucks about living in ASEAN , the time difference
diranged1 has quit [Quit: Leaving.]
diranged has joined #ruby
OrbitalKitten has joined #ruby
ghostpl_ has joined #ruby
hiyosi has joined #ruby
lightstalker has joined #ruby
reinaldob has joined #ruby
AlienPickle has joined #ruby
lordkryss has joined #ruby
ghostpl_ has quit [Ping timeout: 252 seconds]
<jhass>
cyberfab007: that question is highly religious, so: whatever works for you
<cyberfab007>
lol
<jhass>
further options are chruby + ruby-install
<cyberfab007>
thanks ,
<jhass>
personally I do chruby + packages (archlinux)
serivich has joined #ruby
AlienPickle has quit [Ping timeout: 250 seconds]
<cyberfab007>
im using ubuntu
quazimodo has joined #ruby
<cyberfab007>
I went through this before and my script worked but when I went to use a ruby wrapper and execute it through a bash command in php it was giving me issues
<cyberfab007>
and someone in here help me fix it
elfuego has left #ruby [#ruby]
jhankins has quit [Ping timeout: 250 seconds]
serivich has quit [Ping timeout: 244 seconds]
turtil-kun has quit [Ping timeout: 246 seconds]
agrinb has joined #ruby
ninedragon has joined #ruby
ninedragon has quit [Excess Flood]
agrinb has quit [Ping timeout: 250 seconds]
psy_ has quit [Ping timeout: 252 seconds]
psy_ has joined #ruby
mbeasley has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
workmad3 has joined #ruby
purezen_ has joined #ruby
max96at|off is now known as max96at
sameerynho has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
<crome>
scriptception
<crome>
we have to go deeper
pkrzywicki has joined #ruby
purezen_ has quit [Client Quit]
ninedragon has joined #ruby
ninedragon has quit [Excess Flood]
bMalum has quit [Read error: Connection reset by peer]
purezen has joined #ruby
bMalum has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
moritzs has joined #ruby
RegulationD has joined #ruby
davidhq has joined #ruby
lxsameer_ has joined #ruby
tunaCanBruh has joined #ruby
sameerynho has quit [Ping timeout: 246 seconds]
naftilos76 has joined #ruby
<purezen>
Hi guys, I am using grape to make an api endpoint.. I am able to display all records of a model using a get request.
DivineEntity has joined #ruby
oo_ has joined #ruby
n008f4g_ has joined #ruby
davidhq has quit [Client Quit]
<purezen>
However, I am unable to retrieve a single record using the same. I am trying to do so using params but it doesn't work yet.
kerrick__ has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
<purezen>
Btw, I am using mongodb if that matters.. Thanks :)
Matadoer has quit [Ping timeout: 265 seconds]
davedev24_ has joined #ruby
RegulationD has joined #ruby
arup_r has joined #ruby
tunaCanBruh has quit [Ping timeout: 265 seconds]
oo_ has quit [Ping timeout: 244 seconds]
hanmac has quit [Ping timeout: 265 seconds]
topolinux has joined #ruby
Nuck has quit [Quit: Computer has gone to sleep.]
RegulationD has quit [Ping timeout: 250 seconds]
sevvie has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
m8 has joined #ruby
sevvie has joined #ruby
apeiros_ has quit [Remote host closed the connection]
<fox_mulder_cp>
&& make && configure && make deb )
banister has quit [Max SendQ exceeded]
<shevy>
then you don't have to read boring rvm docus
<zly>
nah, ruby from source is too mainstream
<zly>
use the one from aptitude
<shevy>
that one is modified
<shmoon_>
i did can't find on rvm.io doc
<zly>
well then
<zly>
copy every file from github
<shevy>
shmoon_ do you really want to read so much docu
<zly>
if ruby source is on github
<zly>
;)
<zly>
it is
<shmoon_>
shevy: i don't mind, i mean we do read docs as coders
<fox_mulder_cp>
thanks, lot of reading can help me
fox_mulder_cp has left #ruby [#ruby]
<shevy>
I never do! I always go by trial and error!
SumoBoy has quit [Quit: Leaving]
<shevy>
I had to collect my own docu for ruby
<shevy>
because the official docu stinks
<shmoon_>
given that the .ruby-version has 2.0.0 and i know they're others are using 2.0.0-p481 , I have to figure out how to install 2.0.0-p481 as 2.0.0
<zly>
I think you should search for something like: 'rvm install specific version'
<shmoon_>
i know how to install a specific version that is simple
<shmoon_>
rvm install 2.0.0-p481
<zly>
soooooooo what exactly is the problem?
<shevy>
I think he wants to fake this as 2.0.0
<shmoon_>
how to install that as 2.0.0 as the .ruby-version file has just ruby-2.0.0
<shmoon_>
yes shevy
<zly>
install what?
<shevy>
2.0.0-p481
<shmoon_>
and i dont want to (cannot) change ruby-version
<shmoon_>
yes shevy
<zly>
you can use ruby version only for specific project
Megtastique has joined #ruby
Sirupsen has joined #ruby
oo_ has quit [Remote host closed the connection]
gigetoo has quit [Remote host closed the connection]
<zly>
if you want to have only one ruby version installed you can always remove the .ruby-version file and it should work fine
<shmoon_>
i want to install ruby 2.0.0-p481 as 2.0.0 via rvm
<shmoon_>
without the "-p481" since my .ruby-version has ruby-2.0.0 , and i know the team is using 2.0.0-p481
RegulationD has quit [Ping timeout: 255 seconds]
<shmoon_>
so basically then doing a cd won't give that error
<shmoon_>
is that possible?
<zly>
then install ruby 2.0.0 as it's not specified which patch you have to use
<shmoon_>
not specified as in the .ruby-version file?
lordkryss has quit [Quit: Connection closed for inactivity]
<zly>
try to guess
<shmoon_>
i wish you could just tell me that installing 2.0.0-p481 as 2.0.0 is not possible, would have been simpler to resolve this.
doodlehaus has joined #ruby
<zly>
2.0.0-p481 is 2.0.0
<zly>
patch number doesn't actually matter that much
<zly>
but if you insist: it's not possible, stick with 1.8.6
<Fluent>
RVM?
devoldmx_ has joined #ruby
<shmoon_>
that's fine, but i really thought there would be some way to solve http://pastie.org/9971643 without changing the current .ruby-version file then
<zly>
install the ruby 2.0.0 then
Macaveli has quit [Read error: Connection reset by peer]
tunaCanBruh has joined #ruby
<zly>
if you don't want to 'change the .ruby-version' file
<zly>
ffs
<daed>
why not install ruby-2.0.0-p598 then?
einarj has joined #ruby
<shevy>
hehe
<zly>
:D
<Fluent>
lulz
<Fluent>
seks, sec I mean, sec
<zly>
you gave him another idea
<shevy>
shmoon_ has so many difficulties
<shmoon_>
team has instructed to use p481 and its there in the readme file too, sorry anyway
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deol has quit [Client Quit]
ponga has joined #ruby
claw__ has quit [Quit: Konversation terminated!]
claw__ has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 265 seconds]
<willharrison>
so, I am just wondering. is rails polluted by noobs? I am just getting into ruby and it seems like a lot of these rails devs are cocky but just started developing maybe half a year ago
Spami has quit [Quit: This computer has gone to sleep]
Darryl___ has quit [Quit: Connection closed for inactivity]
<kaleido>
i hate rails. pretty much everything about it.
<willharrison>
I looked at the app structure and it didn't seem anything spectacular but everyone talks like it's a godsend
<kaleido>
i like sinatra, personally
<willharrison>
sinatra is smaller, right?
<centrx>
willharrison, There is a lot of good stuff in Rails, even if it is the go-to thing to learn for noobs
<kaleido>
smaller and it just makes more sense to me
<centrx>
Also many of those over-excitable people have moved on to the next fad (node.js)
serivichi has quit [Ping timeout: 255 seconds]
<willharrison>
centrx yeah, I don't doubt it. I am just scared of being lumped in with the noobs :/
<willharrison>
kaleido ah ok, I see
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
vozcelik has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
codeurge has joined #ruby
<pontiki>
it is easy to get into rails, but there is a ton of depth and learning one has to do in rails to really grok it, and not make a hash of things
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pontiki>
i think a lot of noobs pick it up as a first thing, and i *don't* think it lends itself well for a brand new to development arena
<pontiki>
but i'm no gatekeeper, either
<pontiki>
in fact, i help people new to development a lot
sent1nel has joined #ruby
<willharrison>
I see, guess I just have started having a stigma toward it
ariestiyansyah has joined #ruby
<pontiki>
willharrison: it's easy to acquire, i think, given a lot of noobish behaviour
RegulationD has joined #ruby
AlphaTech has quit [Quit: Connection closed for inactivity]
sent1nel_ has quit [Ping timeout: 245 seconds]
<willharrison>
yeah, it doesn't seem too difficult to pick up. it seems very similar to laravel 4. I still have to learn ruby much better before I try any frameworks, tho
<pontiki>
symfony2 (and I think 1) was based on rails, and laravel is a departure from symfony, and then you have the basic sort of MVC framework thing going on anyway
doodlehaus has quit [Remote host closed the connection]
<pontiki>
willharrison: i highly recommend the black book for getting into ruby
<pontiki>
i don't have the link off the tip of me fingers...
<willharrison>
hm, I don't know the black book. I ordered "Eloquent Ruby" on the recommendation of somewhere here the other day. should arrive tomorrow
<ariestiyansyah>
Hey everyone out there using ruby and jekyll, I am release new jekyll hacker style theme, please check out now : https://github.com/ariestiyansyah/naringu
<willharrison>
Ah, I actually looked at that one because I always like the books with those medieval pictures lol (have c# in depth)
speakingcode has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
AlexRussia_ has joined #ruby
AlexRussia has quit [Read error: Connection reset by peer]
<willharrison>
do you think I should read the black book after eloquent ruby?
<pontiki>
yes
<willharrison>
I also want to read metaprogramming ruby before starting any frameworks
agrinb has joined #ruby
<pontiki>
oh, definitely!! that is an excellent one
AlexRussia_ has quit [Client Quit]
<pontiki>
there are several really great reads
<willharrison>
yeah, I have read from several places that it is good
<pontiki>
sandi metz's POODR is a must as well
RegulationD has joined #ruby
AlexRussia has joined #ruby
<willharrison>
ah yeah, I wanted to read that too
<pontiki>
i'll recommend a rails book right now before you even start learning rails: practicing rails. the first chapter is a manifest on How To Learn
tus has joined #ruby
<pontiki>
i'm pretty sure the first chapter is a free download
<willharrison>
nice, I will check it out
<pontiki>
the book isn't fully published yet, still in beta
<pontiki>
but wow, that first chapter
<willharrison>
ah, ok
<pontiki>
i cried, i did
<willharrison>
haha, sounds like an intense book
<pontiki>
it's something *i've* wanted to be able to tell people for *ages*
iamninja has quit [Read error: Connection reset by peer]
<willharrison>
cool, I will get it after I finish these other ones
tejas-manohar has joined #ruby
<tejas-manohar>
what was the latest stable version of ruby 1.x.x
<willharrison>
so, in your opinion, what order should I read these books we talked about?
<pontiki>
1.9.3
<tejas-manohar>
ah
<pontiki>
read the first chapter of weiss's book FIRST. NOW. BEFORE YOU DO ANYTHING ELSE!!!!!!! :)
SouL_ has quit [Ping timeout: 246 seconds]
<pontiki>
lol
<pontiki>
after that, hmm..
<willharrison>
haha, will do
<pontiki>
not sure it matters *all* that much
<pontiki>
you already have a background in programming
RegulationD has quit [Ping timeout: 252 seconds]
<willharrison>
k cool
<pontiki>
you probably already have a preferred learning style for new languages, syntax, idioms, etc
agrinb has quit [Ping timeout: 265 seconds]
veduardo has quit [Ping timeout: 245 seconds]
<willharrison>
no preferred style really, I just like to read a lot of books before I really start using it
oddover_ has joined #ruby
<tmtwd>
there is just one chapter in weiss book?
RegulationD has joined #ruby
oddover_ has left #ruby [#ruby]
<willharrison>
tmtwd first chapter is free
<pontiki>
yeah, i think the books we've mentioned, a few others, it's kind of like a big pile of yarn, you pick up thread and start pulling, and it will soon unravel
<tmtwd>
willharrison: is the full book available to buy?
diranged has left #ruby [#ruby]
<pontiki>
it is, but it's still beta
<pontiki>
willharrison: another author i highly recommend is avdi grimm
doodlehaus has joined #ruby
<tmtwd>
why is the book so good?
<pontiki>
willharrison: i also highly recomment avdi's podcasts, RubyTapas
<willharrison>
pontiki cool, I will have to add those to my phone
<pontiki>
tmtwd: he's a great writer. the first chapter is an essential manifest on how to learn
Channel6 has joined #ruby
<willharrison>
I'll also probably end up with a railscasts sub at some point
<pontiki>
railscasts is great at $9 forever
<tmtwd>
ok how do I get the first chapter?
Guest64 has joined #ruby
rbennacer has quit [Remote host closed the connection]
<pontiki>
rubytapas is $9/month and so *well* worth it
<centrx>
is it edible
<pontiki>
avdi's put out almost 300 eps
<willharrison>
crazy that's a lot of content
<pontiki>
so edible
<pontiki>
delicious
jimms has joined #ruby
<tmtwd>
if you pay for ruby tapas, you get the back catalog?
RegulationD has quit [Ping timeout: 240 seconds]
<pontiki>
yes
djbkd_ has joined #ruby
Ivision_ has joined #ruby
<pontiki>
i built a scraper, if you have the creds
jimms has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
jelera has joined #ruby
phale has joined #ruby
<phale>
is codecademy good for learning ruby
<shevy>
the only real way to learn ruby is by writing ruby code
<phale>
yeah but you dont expect me to just start with no syntax knowledge
agrinb has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Nuck has joined #ruby
<art-solopov>
phale: Is CodeAcademy the free one or not? I keep mistaking it for CodeSchool.
leafybasil has joined #ruby
<phale>
art-solopov: yes its free
<art-solopov>
phale: Ah, thanks. =) I think it's quite good for a beginner, albeit a little short.
<phale>
alright, thanks
<phale>
i know some C
<phale>
so i should be able to grasp ruby quickly
chinmay_dd has joined #ruby
claw__ has quit [Ping timeout: 244 seconds]
claw___ has joined #ruby
<phale>
"Learn to program in Ruby, a flexible language used to create sites like Codecademy."
<dorei>
phale: object oriented paradigm is totally different from the C paradigm
<phale>
dorei: i know
<phale>
but who said im going to do OOP
<dorei>
then why do you need ruby? :p
agrinb has quit [Ping timeout: 265 seconds]
<phale>
because i can't learn c
<art-solopov>
phale: Umm... Ruby is quite a lot OOP, I think.
<phale>
okay then i'll use oop
<phale>
keep in mind that i'm unable to learn C
<wasamasa>
lol
<wasamasa>
why are you unable to learn C?
<shevy>
phale in ruby there is no way to avoid OOP. if you do "def foo", this becomes a private method on class Object if I recall correctly
<phale>
to be honest, i don't know. I know how to use the language but there are things that I just can't do
<phale>
WTF
phale has left #ruby [#ruby]
<wasamasa>
._.
<wasamasa>
is that what they call a /WTFpart?
<shevy>
:)
<shevy>
he must have been spoiled by java OOP
<art-solopov>
shevy: Show him JavaScript them, it'll refresh him. =P
Vivex_ has quit [Read error: Connection reset by peer]
despai has quit [Quit: This computer has gone to sleep]
ariestiyansyah has quit [Quit: Leaving]
ghr has quit [Ping timeout: 252 seconds]
monod has quit [Quit: Sto andando via]
Vivex has joined #ruby
RegulationD has joined #ruby
greenbagels has joined #ruby
OrbitalKitten has joined #ruby
OrbitalKitten has quit [Client Quit]
<ponga>
hi
<ponga>
hi shevy
allcentury has joined #ruby
<centrx>
HI
bklane has joined #ruby
<shevy>
yo ponga
jlast has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
cocotton has joined #ruby
turtil-kun has quit [Ping timeout: 245 seconds]
Yzguy has joined #ruby
Takle has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
zachrab has joined #ruby
naftilos76 has quit [Remote host closed the connection]
DivineEntity has quit [Quit: leaving]
despai has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
Guest64 has joined #ruby
sent1nel_ has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
doodlehaus has joined #ruby
ghostpl_ has joined #ruby
nfk has joined #ruby
sent1nel has quit [Ping timeout: 246 seconds]
<apeiros>
jhass: the rubocop conf
reinaldob has joined #ruby
CorySimmons has joined #ruby
<jhass>
apeiros: you mean opposed to yours?
Rapier- has joined #ruby
<apeiros>
yes, a diff comparing yours & mine
triple_b has joined #ruby
<jhass>
mmh, not really, I went through all cops and made my own opinion about them, just stole some reasoning from you where we end up with the same settings sometimes ;)
sent1nel_ has quit [Ping timeout: 265 seconds]
<jhass>
well, not all cops but most of them
ghostpl_ has quit [Ping timeout: 252 seconds]
<jhass>
and then running it on some of my smaller code bases to find the remaining defaults I disagree with
CorySimmons has quit [Client Quit]
bklane has quit [Remote host closed the connection]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phat4life has joined #ruby
sent1nel has joined #ruby
sent1nel has quit [Read error: Connection reset by peer]
Guest64 has joined #ruby
sent1nel has joined #ruby
juanpablo__ has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lemur has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arup_r>
I never understood what you guys always discuss..
<jhwhite>
I'm working on Project Euler problem #80 and it wants to add the sum of some numbers 100 decimal places long. But Ruy keeps truncating. I tried BigDecimal but that puts it in scientific notation. Is there a way to get that number of places in Ruby?
nfk has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
alex88 has quit [Remote host closed the connection]
<jhass>
that scientific notation is just another representation, it's still the very same number
<centrx>
scientific notation is NOT science
<centrx>
spread the word
<wasamasa>
lol
<jhass>
but I wanted to proclaim that programming is science :(
<art-solopov>
jhass: It's not science, it's engineering. Which is damn close to science, but not quite.
<ponga>
i dnt say its science
<apeiros>
jhwhite: integers? or are you using floats?
<apeiros>
is you use floats: wrong. use integers. and ruby doesn't truncate integers.
Nanuq has joined #ruby
<jhass>
but my math prof always made fun of the engineers :(
<centrx>
Putting theory into practice is low-class
<apeiros>
oh, wait, decimal places… behind the decimal sign. ignore me :D
<ponga>
well mathmaticians are true geniuses.. we gotta admit that
<oddmunds>
jhwhite: i assume what you are after is a string representation that does not use scientific notation?
<centrx>
ponga, Thank you, that's very kind
jheg has joined #ruby
<ponga>
lol centrx are you one of the kind?
<jhwhite>
oddmunds: sure. I have to do addition on the strings, but I can convert that to integers
<ponga>
that was random
jonr22 has quit [Remote host closed the connection]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<oddmunds>
jhwhite: i think bigdecimal does what you want, though. apart from it using scientific notation. it will do proper arithmetic.
cocotton_ has joined #ruby
rubytor has quit [Ping timeout: 250 seconds]
Guest64 has joined #ruby
agrinb has joined #ruby
<jhwhite>
oddmunds: thanks
cocotton has quit [Ping timeout: 250 seconds]
rdark has quit [Quit: leaving]
ddd has quit [Quit: leaving]
Mon_Ouie has joined #ruby
kerrick__ has joined #ruby
nfk has quit [Ping timeout: 264 seconds]
Jackneill has quit [Read error: Connection reset by peer]
rubytor has joined #ruby
jimbauds has quit [Quit: Connection closed for inactivity]
agrinb has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
mikecmpbll has joined #ruby
jp-znc has quit [Quit: ZNC - 1.7.0-git-20-048d118 - http://znc.in]
veduardo has quit [Ping timeout: 265 seconds]
reinaldob has quit [Remote host closed the connection]
gilmour has joined #ruby
RegulationD has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
cocotton_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
wookiehangover has quit [Ping timeout: 250 seconds]
riotjones has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
red_horned_rihno has joined #ruby
jhwhite has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
m8tt8 has joined #ruby
red_horned_rihno has quit [Client Quit]
einarj has joined #ruby
motto has quit [Ping timeout: 252 seconds]
allcentury has quit [Ping timeout: 240 seconds]
riotjones has quit [Ping timeout: 246 seconds]
fantazo has quit [Quit: Verlassend]
jenrzzz has quit [Ping timeout: 250 seconds]
systemd0wn has joined #ruby
wookiehangover has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
oo_ has joined #ruby
<shreknet>
Hey ho, I need to rebuild the gem mysql2 because I updated the mysql from 5.5 to 5.6. How to do this with rvm?
einarj has quit [Ping timeout: 264 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidhq has joined #ruby
davidhq has quit [Client Quit]
davidhq has joined #ruby
davidhq has quit [Client Quit]
Advocation has joined #ruby
<jhass>
shreknet: gem install mysql2 -v $version
alex88 has joined #ruby
<jhass>
or maybe gem pristine actually rebuilds or has a flag for that
iamninja has quit [Read error: Connection reset by peer]
juanpablo__ has joined #ruby
einarj has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo__ has quit [Read error: Connection reset by peer]
juanpablo__ has joined #ruby
<aef>
multi_io: i think rvm has done a lot in regards to download verification lately. maybe give it a try. can't say though if it uses https everywhere.
einarj_ has quit [Ping timeout: 250 seconds]
maknz has quit [Ping timeout: 264 seconds]
<havenwood>
multi_io: Either ruby-install/chruby or RVM.
Channel6 has joined #ruby
mitchellhenke has joined #ruby
gr33n7007h has quit [Quit: WeeChat 0.3.8]
ghostpl_ has joined #ruby
Pumukel has quit [Ping timeout: 256 seconds]
aapole has quit [Ping timeout: 250 seconds]
gr33n7007h has joined #ruby
juanpablo__ has quit [Ping timeout: 265 seconds]
MasterPiece has quit [Quit: Bye!]
olivier_bK has quit [Ping timeout: 252 seconds]
<havenwood>
multi_io: ^ Those options have gpg-signed install scripts, use https and validate checksums.
febuiles has joined #ruby
michael_mbp has quit [Excess Flood]
<havenwood>
multi_io: Just an aside, but ruby-install actually validates MD5, SHA1, SHA256 and SHA512 checksums--all four.
ghostpl_ has quit [Ping timeout: 252 seconds]
michael_mbp has joined #ruby
workmad3 has joined #ruby
<havenwood>
So even if you manage to create a collision for one...
<Majost>
So there are some additional things I want to add to the resouces/providers -- but I want to have it something like Resource::Ros::Catkin::Workspace and Resource::Ros::Catkin::Package
Takle has joined #ruby
<Majost>
The issue is, for the moment -- I don't know what Catkin will do
Blaze_Boy has joined #ruby
<Majost>
but I do know what the other resources will do
Synthead has joined #ruby
<Majost>
So maybe a module is in order here -- but I have just enough ruby knowledge to confuse myself and others. hehe
tunaCanBruh has joined #ruby
<havenwood>
Majost: Catkin, hmm. Maybe it has something to do with a cat's family?
<Majost>
heh
<havenwood>
Majost: Yeah, sounds like a module. :)
<Majost>
for the application I am using, its actually a depsolver of sorts -- so you are pretty much correct
bricker_ has joined #ruby
bricker_ has quit [Client Quit]
<havenwood>
Majost: A class is a module plus extra class stuff, so when you don't need the class stuff always use a module.
sent1nel_ has joined #ruby
CorySimmons has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
alex88 has quit []
icharlie has joined #ruby
sent1nel has quit [Ping timeout: 252 seconds]
Takle has quit [Read error: Connection reset by peer]
<Blaze_Boy>
sup guys
<havenwood>
Blaze_Boy: hi
Takle has joined #ruby
tunaCanBruh has quit [Ping timeout: 256 seconds]
scripore has quit [Read error: Connection reset by peer]
febuiles has quit [Quit: febuiles]
rbennacer has joined #ruby
bMalum has joined #ruby
<multi_io>
havenwood: alright, thanks
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
multi_io: no prob, there're #rvm and #chruby channels if you opt to switch to one of those and have any questions :)
Rodya_ has quit [Remote host closed the connection]
jonr22 has joined #ruby
einarj has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
plashchynski has quit [Ping timeout: 244 seconds]
<havenwood>
multi_io: you can also use ruby-install with rbenv if you want to