arnonhongklay has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 276 seconds]
bauruine has quit [Read error: Connection reset by peer]
frozengeek has quit [Quit: frozengeek]
bauruine_ has joined #ruby
<dminuoso>
Say I have a gem A with dependencies A > B > C - and I want to find the latest version of gem A that satisfies a version requirement on C. Is that possible with rubygems or bundler?
ta_ has joined #ruby
cevett has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
etehtsea has joined #ruby
cevett has joined #ruby
aufi has joined #ruby
ta_ has quit [Ping timeout: 255 seconds]
<Beast>
try - gem dependency gemname
ddffg has joined #ruby
duncannz has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
rgtk has joined #ruby
<dminuoso>
Beast: That doesnt help.
jaguarmagenta has quit [Ping timeout: 244 seconds]
<etehtsea>
is IO#syswrite blocking operation?
<dminuoso>
etehtsea: I would suspect so.
CloCkWeRX has quit [Quit: Leaving.]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
k3rn31 has joined #ruby
archaic has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
ziyadb has quit [Quit: Connection closed for inactivity]
wugy has joined #ruby
wugy has quit [Excess Flood]
CloCkWeRX has quit [Ping timeout: 264 seconds]
wugy has joined #ruby
wugy has quit [Excess Flood]
hutch34_ has joined #ruby
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
Vingador has quit [Ping timeout: 264 seconds]
<JJBB>
Anyone looking for a full time Ruby Development Job in Melbourne / Australia. The position is working in a Datacentre building Cloud services integration tools. If you are interested message me !!!
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
<Papierkorb>
Wrong continent :P
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
jhack has joined #ruby
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
bkxd has quit [Ping timeout: 250 seconds]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
pmunt has joined #ruby
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
ItSANg___ has quit [Quit: Leaving...]
swills has quit [Ping timeout: 250 seconds]
jgt2 has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
jgt1 has quit [Ping timeout: 240 seconds]
<havenwood>
!connection wugy
wugy was kicked from #ruby by ruby[bot] [repeated join/part detected]
bob434 has quit [Quit: This computer has gone to sleep]
<Guest81535>
thanks @havenwood
last_staff has quit [Quit: last_staff]
synthroid has joined #ruby
nando293921 has joined #ruby
pawnbox has quit [Remote host closed the connection]
wlanboy has joined #ruby
<Guest81535>
havenwood: sadly, i'm running Rails 5... doesn't appear to be working even with railroadY
aries_liuxueyang has joined #ruby
<nehaljwani>
Thanks Burgestrand !
<Burgestrand>
nehaljwani You're welcome! \o/
pawnbox has joined #ruby
<dminuoso>
Guest81535: what relationship are you talking about? between your models?
mrgrieves has joined #ruby
GodFather has quit [Remote host closed the connection]
<Guest81535>
dminuoso: yes, showing all of my model relationships, and also how the controllers work together
postmodern has quit [Quit: Leaving]
the_drow__ has joined #ruby
ersatzreifenbob has left #ruby [#ruby]
alexherbo2 has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
hahuang65 has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
uurcum has joined #ruby
ChiefAlexander has joined #ruby
<uurcum>
hi
ta_ has joined #ruby
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
mrgrieves has quit [Ping timeout: 244 seconds]
uurcum has quit []
adam12 has quit [Ping timeout: 265 seconds]
mrEngineer has joined #ruby
serialsito has quit [Ping timeout: 264 seconds]
mjanssen has quit [Quit: Lost terminal]
jhack has quit [Quit: jhack]
<Guest81535>
do you think this is because of an issue with Rails being v5 instead of v3/v4 as the documentation says is supported, or is it an RVM issue? /.rvm/gems/ruby-2.1.5/gems/railroad-0.5.0/lib/railroad/app_diagram.rb:54:in `disable_stdout': uninitialized constant AppDiagram::PLATFORM (NameError)
yorickpeterse has quit [Ping timeout: 255 seconds]
quoboo has quit [Ping timeout: 255 seconds]
arnonhongklay has quit [Ping timeout: 265 seconds]
hahuang65 has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 244 seconds]
adam has joined #ruby
adam is now known as Guest32546
Quobo has joined #ruby
yasu___ is now known as yasu
Quobo is now known as Guest48017
yorickpeterse has joined #ruby
Asher has quit [Quit: Leaving.]
the_drow__ has quit [Quit: This computer has gone to sleep]
<havenwood>
Guest81535: Looks like the old gem you were using, not the new.
the_drow__ has joined #ruby
Asher has joined #ruby
jphase has quit [Remote host closed the connection]
jhack has joined #ruby
ramortegui has joined #ruby
Guest48017 has joined #ruby
Guest48017 has quit [Changing host]
Guest48017 is now known as quoboo
the_drow__ has quit [Client Quit]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
tvw has joined #ruby
etehtsea has quit [Ping timeout: 264 seconds]
yuki_is_bored has quit [Quit: leaving]
Beams has joined #ruby
BackEndCoder has quit [Excess Flood]
yuki_is_bored has joined #ruby
pokalyis has quit [Client Quit]
ngscheurich has joined #ruby
aegis3121 has joined #ruby
BackEndCoder has joined #ruby
serialsito has joined #ruby
malconis has joined #ruby
nankyokusei has joined #ruby
pokalyis has joined #ruby
GodFather has joined #ruby
Guest81 has joined #ruby
jaruga___ has joined #ruby
jhack has quit [Quit: jhack]
RegulationD has joined #ruby
mtkd has quit [Ping timeout: 265 seconds]
Ropeney has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
wldcordeiro has quit [Ping timeout: 258 seconds]
jaruga_____ has joined #ruby
jhack has joined #ruby
jaruga____ has quit [Ping timeout: 276 seconds]
Ropeney has quit [Client Quit]
mtkd has joined #ruby
swills has joined #ruby
jaruga___ has quit [Ping timeout: 244 seconds]
jhack has quit [Client Quit]
RegulationD has quit [Ping timeout: 244 seconds]
nando293921 has quit [Ping timeout: 244 seconds]
einarj has quit [Remote host closed the connection]
serialsito has quit [Ping timeout: 250 seconds]
l4v2 has joined #ruby
mrEngineer has quit [Quit: mrEngineer]
serialsito has joined #ruby
<Guest81535>
my `rake --version` shows v11.2.2, but i'm still getting: ~/.rvm/gems/ruby-2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize': Could not find rake-11.1.2 in any of the sources (Bundler::GemNotFound)
<workmad3>
Guest81535: 11.2.2 != 11.1.2
yeticry has quit [Quit: leaving]
jaguarmagenta has joined #ruby
yeticry has joined #ruby
volix has quit [Ping timeout: 276 seconds]
marr has joined #ruby
ukk has quit [Quit: WeeChat 1.5]
ukk has joined #ruby
k3rn31 has joined #ruby
CloCkWeRX has quit [Ping timeout: 265 seconds]
AndrewIsHere has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
jphase has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
jrafanie has joined #ruby
frozengeek has joined #ruby
arnonhongklay has joined #ruby
Guest81 has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 240 seconds]
blackgoat has quit [Quit: WeeChat 1.5]
volix has joined #ruby
txdv has joined #ruby
arnonhongklay has quit [Ping timeout: 244 seconds]
kanyewezt has joined #ruby
serialsito has quit [Ping timeout: 258 seconds]
arnonhongklay has joined #ruby
griffindy has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
jrafanie_ has joined #ruby
AndrewIsHere has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
ukk has quit [Quit: WeeChat 1.5]
jrafanie has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
M-Technic has quit [Ping timeout: 265 seconds]
moos3 has joined #ruby
the_drow__ has joined #ruby
teclator has quit [Remote host closed the connection]
M-Technic has joined #ruby
jhack has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
Snowy has quit [Remote host closed the connection]
the_drow__ has quit [Read error: Connection reset by peer]
coolboy has joined #ruby
SteenJobs has joined #ruby
the_drow__ has joined #ruby
Vingador_ has quit [Remote host closed the connection]
mark_66 has quit [Remote host closed the connection]
mark_66 has joined #ruby
conta has quit [Ping timeout: 260 seconds]
Akuma has joined #ruby
sotrhraven has joined #ruby
<sotrhraven>
#hello o/
saneax is now known as saneax-_-|AFK
<sotrhraven>
what is the state of game dev in ruby
tlaxkit has quit [Read error: Connection reset by peer]
the_drow__ has quit [Read error: Connection reset by peer]
skweek has joined #ruby
tdy has quit [Quit: tdy]
tlaxkit has joined #ruby
the_drow has joined #ruby
tlaxkit has left #ruby [#ruby]
jaruga_____ has quit [Remote host closed the connection]
pawnbox has joined #ruby
jaruga_____ has joined #ruby
LoneHermit has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest32546 is now known as adam12
LoneHermit has quit [Remote host closed the connection]
Guest81 has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
Vingador has joined #ruby
Devalo has joined #ruby
panpainter has joined #ruby
hobodave has joined #ruby
bob434 has joined #ruby
tdy has joined #ruby
frozengeek has quit [Quit: frozengeek]
the_drow has quit [Read error: Connection reset by peer]
nickjj_ has joined #ruby
etehtsea has joined #ruby
the_drow has joined #ruby
tk__ has quit [Quit: ばいばい]
synthroid has quit [Remote host closed the connection]
Guest81 has quit [Remote host closed the connection]
nickjj has quit [Ping timeout: 265 seconds]
synthroid has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
dminuoso has quit [Ping timeout: 276 seconds]
the_drow has joined #ruby
agent_white has joined #ruby
<agent_white>
Mornin'
LUMIA930 has quit [Ping timeout: 276 seconds]
<Guest81535>
good morning! :)
tjbiddle has joined #ruby
pawnbox has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
Guest81535 is now known as lifted
nickjj_ is now known as nickjj
Snowy has joined #ruby
Moeh has joined #ruby
James123 has joined #ruby
lifted has quit [Remote host closed the connection]
dminuoso has joined #ruby
submitnine has quit []
<James123>
Is it possible to have a script `s1' running all the time and accept input from a client script `s2' (e.g. from its command line arguments)?
anisha_ has quit [Quit: This computer has gone to sleep]
<Papierkorb>
James123: TCP/HTTP server?
<jazzonmym11nd>
or use filesystem and unixsocket/server.
<Papierkorb>
James123: in case of HTTP, which is simply well supported on both ends in ruby, you can also use a UNIX socket
<eam>
or just a pipe
Snowy has quit [Quit: ragequit]
<Papierkorb>
James123: What's the use-case?
<James123>
Papierkorb: It's just a simple automation script that I want to do.
<Papierkorb>
That's not too specific. Local only, or over the network? What kind of automation? "Run this shell command" or "Start this service" or something different?
<Papierkorb>
Or are you putting some kind of tool into a little daemon so you don't have to load it all the time?
arnonhongklay has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
<James123>
Local only, it will take the input from the other script, do some processing and then run some relevant code. I don't mind loading it all the time!
magikid has quit [Ping timeout: 240 seconds]
<Papierkorb>
Why do you need a client/server model then? Just piping the output from one script to the next doesn't suffice?
sotrhraven has quit [Quit: -a- IRC for Android 2.1.33]
<James123>
I will need to do that many times. e.g. s2 foo | s1. But I don't want s1 to start over each time. Can I avoid that?
nadir is now known as WSO
<etehtsea>
could IO#syswrite raise any other errors except SystemCallError?
Akuma has quit [Quit: So long sukkas!]
skweek has quit [Ping timeout: 264 seconds]
<Papierkorb>
James123: Why "avoid"? Do you hate typing the "| ..." stuff?
ta has joined #ruby
teclator has joined #ruby
duderonomy has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
ukk has joined #ruby
<James123>
No, I don't mind that, but with s2 foo | s1, s2 bar | s1, s1 will run twice. I don't want that, as it will have a state I don't want to loose.
giz|work|2 has quit [Ping timeout: 240 seconds]
bob434 has joined #ruby
<Papierkorb>
Ah, now it's clearer why
<Papierkorb>
James123: I'd use a UNIX socket then, which `s1` listens on. (You could also used named pipes, but never used them directly myself). You can decide if you want to invent your own protocol, or use HTTP. If it's a small-ish tool, I'd probably invent my own by just piping JSON data over the socket, and then wait in `s1` for a client to connect and then act upon receiving a whole line of data.
<dminuoso>
etehtsea: If you really want to know, generage a callgraph from the C implementation, and then look for any raises.
<etehtsea>
dminuoso ok, thanks
ta has quit [Ping timeout: 255 seconds]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
<James123>
Papierkorb: Thank you very much, this answers my question :)
<Papierkorb>
cheers
frozengeek has joined #ruby
Pupeno has quit [Remote host closed the connection]
<etehtsea>
dminuoso hm, how to generate it? I tried to google it, but didn't find any interesting results at first sight
bob434 has quit [Quit: This computer has gone to sleep]
<dminuoso>
etehtsea: I gotta run. Ill be back in about 4 hours from now.
<dminuoso>
We can continue then if you like
<etehtsea>
dminuoso ok, sure. thanks anyway
coolboy has quit [Ping timeout: 244 seconds]
lightheaded has quit [Ping timeout: 250 seconds]
johnmilton has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 252 seconds]
jgt2 has quit [Read error: Connection reset by peer]
dminuoso has quit [Remote host closed the connection]
aegis3121 has joined #ruby
Spami has joined #ruby
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
Pupeno has joined #ruby
hahuang65 has joined #ruby
moneylotion has joined #ruby
jgt2 has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frozengeek has quit [Quit: frozengeek]
etetz has joined #ruby
ircdude has quit [Quit: leaving]
solocshaw has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
yuki_is_bored has quit [Remote host closed the connection]
Vingador has quit [Remote host closed the connection]
zacts has joined #ruby
pokalyis has joined #ruby
pawnbox has quit [Remote host closed the connection]
johnmilton has joined #ruby
preyalone has joined #ruby
rodfersou is now known as rodfersou|lunch
Guest81 has joined #ruby
polishdub has joined #ruby
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lifted has joined #ruby
jhack has quit [Quit: jhack]
coolboy has joined #ruby
the_drow has quit [Ping timeout: 260 seconds]
solocshaw has quit [Remote host closed the connection]
<lifted>
im going through gem dependency hell... im in RVM, doing gem install xyz -v1.2.3, rerunning the app, and just going through one by one... is there a shortcut here? a bundle install or some other trick?
govg has joined #ruby
jschoolcraft has joined #ruby
nankyokusei has joined #ruby
centrx has joined #ruby
craigp_ has joined #ruby
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
Devalo has quit [Remote host closed the connection]
jrafanie has joined #ruby
Devalo has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
craigp has quit [Ping timeout: 244 seconds]
Devalo has quit [Remote host closed the connection]
bob434 has joined #ruby
Guest81 has quit [Remote host closed the connection]
Devalo has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
LoneHerm_ has joined #ruby
<lifted>
whats rvm gemsets?
<lifted>
got it
<lifted>
thx
AndrewIsHere has quit [Remote host closed the connection]
etehtsea has quit [Read error: Connection reset by peer]
lightheaded has joined #ruby
<havenwood>
lifted: For non-Rails apps another option is to create a Gemfile and generate a Gemfile.lock from those versions with `gem install -g` and then use just those gems by setting `RUBYGEMS_GEMDEPS=/path/to/Gemfile`.
Devalo has quit [Ping timeout: 252 seconds]
<havenwood>
lifted: Bundler is a more popular option as well.
AndrewIsHere has joined #ruby
<lifted>
i have bundler
<lifted>
im trying to figure out how to use it with this
libman has joined #ruby
<mikecmpbll>
don't use gemsets tho.
<mikecmpbll>
lifted : what's the actual problem?
aufi has quit [Ping timeout: 258 seconds]
LoneHerm_ has quit [Ping timeout: 252 seconds]
<mikecmpbll>
create gemfile, type bundle! :)
<lifted>
I downloaded railroady. I already did an install. Now when i execute i just keep getting more dependencies : /home/john/.rvm/gems/ruby-2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize': Could not find airbrussh-1.0.2 in any of the sources (Bundler::GemNotFound)
<lifted>
there is a gemfile for it
<libman>
What's the easiest way to get a list of all available gems (I mean ALL 7_803) and their licenses? I'm writing a license analysis tool in another language.
<lifted>
but it doesnt have any relevant info in it
<libman>
The ideal solution would just download all gems data like in JSON format, so it's not even necessary to have ruby installed, and no individual API calls per package.
Lucky_ABA has joined #ruby
solocshaw has joined #ruby
flying has quit []
yuki_is_bored has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
synthroid has quit [Remote host closed the connection]
the_drow has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
pandaant has quit [Remote host closed the connection]
cyphase has quit [Ping timeout: 258 seconds]
the_drow has joined #ruby
etehtsea has joined #ruby
hahuang65 has joined #ruby
the_drow has quit [Client Quit]
jackjackdripper has joined #ruby
tvw has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
tvw has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
sfmk has joined #ruby
cyphase has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
mic_e has joined #ruby
edwinvdgraaf has quit [Ping timeout: 265 seconds]
SteenJobs has quit [Quit: SteenJobs]
TomyWork has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 255 seconds]
skweek has joined #ruby
the_drow has joined #ruby
skweek has quit [Max SendQ exceeded]
ruby_ has joined #ruby
skweek has joined #ruby
skweek has quit [Max SendQ exceeded]
the_drow has quit [Read error: Connection reset by peer]
skweek has joined #ruby
the_drow has joined #ruby
skweek has quit [Max SendQ exceeded]
bob434 has joined #ruby
mic_e has quit [Ping timeout: 240 seconds]
sfmk has left #ruby [#ruby]
skweek has joined #ruby
solocshaw has quit [Ping timeout: 265 seconds]
skweek has quit [Max SendQ exceeded]
zipace has joined #ruby
tvw has quit [Read error: Connection reset by peer]
skweek has joined #ruby
Gasher has quit [Quit: Leaving]
skweek has quit [Max SendQ exceeded]
dionysus69 has joined #ruby
skweek has joined #ruby
naftilos76 has joined #ruby
Devalo has joined #ruby
[Butch] has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
naftilos76 has joined #ruby
tjbiddle has joined #ruby
jhack has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
amclain has joined #ruby
SteenJobs has joined #ruby
bob434 has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
serialsito has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
j416 has joined #ruby
AndrewIsHere has joined #ruby
jsrn_ has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Quit: WeeChat 1.5]
aupadhye has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
synthroid has joined #ruby
jkhl has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shortdudey123 has quit [Max SendQ exceeded]
AndrewIsHere has quit [Ping timeout: 264 seconds]
shortdudey123 has joined #ruby
alexherbo2 has joined #ruby
ajsharma has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
pokalyis has joined #ruby
zacts has quit [Ping timeout: 250 seconds]
claudiuinberlin has quit []
tvon has joined #ruby
nikivi has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
nitric has joined #ruby
rcvalle has joined #ruby
thanoj has quit [Quit: WeeChat 0.4.2]
k3rn31 has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ukk has quit [Quit: WeeChat 1.5]
tjbiddle has quit [Quit: tjbiddle]
serialsito has quit [Ping timeout: 252 seconds]
jhack has quit [Quit: jhack]
jaruga_____ has quit [Quit: jaruga_____]
bob434 has quit [Quit: This computer has gone to sleep]
AndrewIsHere has joined #ruby
govg has quit [Ping timeout: 244 seconds]
govg has joined #ruby
taunic has joined #ruby
solocshaw has joined #ruby
tomchapi_ has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
tomchapi_ has quit [Client Quit]
devbug has joined #ruby
danielius has quit [Ping timeout: 255 seconds]
dopamean_ has joined #ruby
aganov has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 252 seconds]
naftilos76 has quit [Read error: Connection reset by peer]
solocshaw has quit [Ping timeout: 258 seconds]
ruby_ has quit [Remote host closed the connection]
naftilos76 has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jhack has joined #ruby
CloCkWeRX has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
<rubynew_>
hi
<rubynew_>
could i check with you all
libman has quit [Read error: Connection reset by peer]
Puffball has quit [Read error: Connection reset by peer]
<rubynew_>
how do i add a column?
naftilos76 has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
<rubynew_>
specifically how do i add a string column called abc
<rubynew_>
in ruby
naftilos76 has quit [Read error: Connection reset by peer]
<kanobt61_>
Well ruby doesn't really have "columns". Are you in a rails app and wanting to adding a column to a table in the db?
naftilos76 has joined #ruby
<taunic>
rubynew_, you may be looking for #rubyonrails
<rubynew_>
oh, you're right, sorry, going over there
<kanobt61_>
rails g migration add_bro_to_dawgs bro:string
SteenJobs has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
aryaching has joined #ruby
<kanobt61_>
that should generate a migration that does it I think... but yeah you might want to talk to the rails peps
mikecmpbll has quit [Quit: inabit. zz.]
Puffball has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
naftilos76 has quit [Read error: Connection reset by peer]
tyang has quit [Ping timeout: 276 seconds]
<taunic>
kanobt61_, anyone good to remind me the days I was using rails and scaffold :)
<taunic>
anyway
naftilos76 has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
naftilos76 has joined #ruby
sepp2k has joined #ruby
tomphp has quit [Ping timeout: 265 seconds]
serialsito has joined #ruby
ruby_ has joined #ruby
ta has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
ruby_ has quit [Remote host closed the connection]
AndrewIsHere has quit [Remote host closed the connection]
ruby_ has joined #ruby
Couch has quit [Ping timeout: 265 seconds]
naftilos76 has joined #ruby
AndrewIsHere has joined #ruby
hahuang61 has joined #ruby
AndrewIsHere has quit [Read error: Connection reset by peer]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AndrewIsHere has joined #ruby
solocshaw has joined #ruby
smathews has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
antgel has quit [Ping timeout: 265 seconds]
dionysus69 has joined #ruby
serialsito has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta has quit [Ping timeout: 252 seconds]
smathy has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
lubekpl has joined #ruby
solocshaw has quit [Ping timeout: 244 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
AndrewIsHere has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
libman has joined #ruby
AndrewIsHere has joined #ruby
libman has left #ruby [#ruby]
sepp2k has quit [Ping timeout: 260 seconds]
AndrewIsHere has quit [Read error: Connection reset by peer]
AndrewIsHere has joined #ruby
arnonhongklay has joined #ruby
claudiuinberlin has joined #ruby
govg has quit [Ping timeout: 240 seconds]
Silthias has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
moos3 has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
arnonhongklay has quit [Ping timeout: 255 seconds]
rodfersou|lunch is now known as rodfersou|afk
<rubynew_>
hello
<havenwood>
rubynew_: hi
zacts has joined #ruby
<rubynew_>
havenwood: pardon my confusion, i have a hard time telling the two apart
<havenwood>
rubynew_: Ruby is the language and Rails is one of many libraries written in Ruby.
eljimbo has joined #ruby
<rubynew_>
so you mentioned, naked hash, what does that mean?
<rubynew_>
is this # the naked hash?
moos3 has joined #ruby
<rubynew_>
then what is the non-naked hash? is it the {} ?
<havenwood>
rubynew_: That's an octothorpe!
<havenwood>
rubynew_: The Hash literal is: {}
<havenwood>
rubynew_: It's the preferred way to write: Hash.new
<rubynew_>
whats an octothorpe
<havenwood>
rubynew_: A silly name for the `#` character.
<rubynew_>
oh!
<rubynew_>
i always called it hash
<lifted>
now we will call it by its proper name
solocshaw has quit [Remote host closed the connection]
pokalyis has joined #ruby
<lifted>
im going to brand myself as a code commenter
<lifted>
i will call myself Doctor Thorpe
<havenwood>
rubynew_: In Ruby a Hash is a dictionary where the keys point to the values. They can have any number of key/value pairs.
<rubynew_>
I'm still not clear on why is it get "/movies", to: 'Movies#index' but not get "/movies" => 'Movies#index'
<rubynew_>
you mentioned that colon is for symbols
<rubynew_>
i assumed that both "/movies" and "Movies#index" are strings cause in quotes
<havenwood>
rubynew_: Yes, those are both Strings.
aegis3121 has joined #ruby
<rubynew_>
also, do i have to type your name in front for u to get the beep?
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
<havenwood>
Yeah, but you don't always have to do that. It will bring me back from my coffee to my screen though.
mikecmpbll has joined #ruby
<rubynew_>
so yes, then since they are strings, why is it "to:"? cause just now you mentioned that => is for strings
* havenwood
stares into a cup of coffee
moos3 has quit [Ping timeout: 244 seconds]
<rubynew_>
haha, i've heard that coffee is better for drinking than looking at
<havenwood>
rubynew_: That `to:` is a Hash key, specifically the Symbol `:to`.
<rubynew_>
so... if someone has a complicated username, it would have to be typed accurately for the beep to work? (i'm intrigued because i just discovered this website)
Burgestrand has joined #ruby
moneylotion has joined #ruby
<havenwood>
rubynew_: Start typing a nick then hit <tab>
tomphp has joined #ruby
<havenwood>
rubynew_: I'd suggest going through some basic Ruby guides before proceeding with Rails so you can get oriented with the landscape. Here's a good one to go through: http://tryruby.org
<atmosx>
rubynew_: that's the most interesting question I've heard in a while
<rubynew_>
i've been typing it all these while
<rubynew_>
atmosx: whats the most interesting qn?
Burgestrand has quit [Client Quit]
flashpoint9 has joined #ruby
<rubynew_>
havenwood: thank you for the link, i'm in the middle of a ruby on rails online tutorial and i seem to have forgotten some things about ruby
<matthewd>
I'm not sure a guide would offer much insight as to why `get 'x', to: 'y'`, yet `task 'x' => 'y'` :/
<havenwood>
rubynew_: You could setup an irc client to ding you if the nicks are similar enough. Most folk wont get notified unless it's exact.
<havenwood>
rubynew_: Yeah, I'd suggest refreshing on Ruby and asking here if you have any questions!
<rubynew_>
here's the thing...
<havenwood>
matthewd: I think Ruby koans covers that? I can't remember which do and which don't.
<rubynew_>
i'm supposed to make a simple app with ruby on rails within the next 24 hours, so that i can apply for a course
<havenwood>
rubynew_: Aha
<rubynew_>
that's why i'm on the ruby on rails tutorial
etehtsea has quit [Quit: Computer has gone to sleep.]
AlphaAtom has joined #ruby
hk238 has joined #ruby
<rubynew_>
i wasn't as last minute as this seems. i just took way longer for the ruby tutorials than i expected.
<matthewd>
havenwood: I meant the semi-arbitrary nature of the APIs, as opposed to the hash syntax
<havenwood>
matthewd: ahh, gotcha
<workmad3>
matthewd: hmm, doesn't both `get "foo" => "bar#buzz"` and `get "foo", to: "bar#buzz"` work? For some reason I thought they were equivalent
<rubynew_>
havenwood: so i'm trying to finish the tutorial asap so that i could start on trying to make the app
<havenwood>
rubynew_: nice
moos3 has joined #ruby
<rubynew_>
at the moment not very nice
ramfjord has joined #ruby
<rubynew_>
actually now, its better, an hour ago it was excruciating
<matthewd>
workmad3: That sounds quite plausible, actually
serialsito has joined #ruby
serialsito has quit [Remote host closed the connection]
<matthewd>
[02:32:56] <rubynew_>I'm still not clear on why is it get "/movies", to: 'Movies#index' but not get "/movies" => 'Movies#index'
<rubynew_>
and i have a pressing qn, but i think it belongs to the rubyonrails side
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit []
<matthewd>
So the answer is actually: "either one works just fine"?
<matthewd>
(and maybe it was a Rails question after all?)
<workmad3>
yeah, both work fine in this rails 5 app I just tested them in (and yes, it's a rails q :) )
David__ has joined #ruby
<havenwood>
Sorry for chasing folk back and forth. >.>
* workmad3
shrugs
<workmad3>
I tend to answer questions in whichever channel they're asked :D
<workmad3>
not that I'm online as much as I used to be...
Davedev28 has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
Xentil has joined #ruby
duderonomy has quit [Client Quit]
firstdayonthejob has joined #ruby
yardenbar has joined #ruby
lubekpl has joined #ruby
<Xentil>
oh wow!
<rubynew_>
matthewd: hi i just saw your response pertaining to the => or to:
<rubynew_>
matthewd: when i tried the "=>" it didn't work
<rubynew_>
it only worked with to:
<rubynew_>
i dont quite get why
wldcordeiro has joined #ruby
smathews has quit [Quit: Leaving.]
mark_66 has quit [Remote host closed the connection]
moos3 has quit [Ping timeout: 276 seconds]
solocshaw has joined #ruby
SeepingN has joined #ruby
<lifted>
rubynew_: good question. also whats the difference between :awesome as a variable and awesome as a variable.
<SegFaultAX>
lifted: :awesome is a symbol, not a variable.
<lifted>
ok, i thought symbols were just constants...
<lifted>
aka a variable
<rubynew_>
lifted: awesome itself isn't anything. but "awesome" is a string
nankyokusei has joined #ruby
<lifted>
i get that lol
preyalone has quit [Quit: Connection closed for inactivity]
<lifted>
ty
<Mon_Ouie>
They're constants in the same sense that numbers like 3 are constants
<lifted>
okie
etehtsea has joined #ruby
etehtsea has quit [Client Quit]
<rubynew_>
yes symbols are constants but they are referenced only once, verses countless of variables so they save some time, if you run large data
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<SegFaultAX>
lifted: "aka a variable" You're very confused about what a constant is and what a variable is.
spudowiar has joined #ruby
<SegFaultAX>
rubynew_: "symbols are constants but they are referenced only once" makes absolutely no sense.
djbkd has joined #ruby
<lifted>
yeah a symbol you can reference unlimited times..
<SegFaultAX>
A symbol is a value. In many ways it's similar to a string, except that it's immutable and supports very fast lookup because it's interned by the Ruby runtime.
<rubynew_>
sorry my bad, i meant there is only one symbo, for you to reference many times
<SegFaultAX>
rubynew_: Still not very sensical.
<lifted>
so usually, if you make a call like: testMethod(:something, "sweet)
<lifted>
"sweet")*** what exactly does it imply by :something ?
<SegFaultAX>
lifted: :something is a value. Similar to "sweet", but a different kind.
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<SegFaultAX>
:something is a Symbol. 123 is a Fixnum. "hello, world!" is a String.
solocshaw has quit [Ping timeout: 255 seconds]
<SegFaultAX>
Those are 2 examples of values in Ruby.
<rubynew_>
what do you mean by a value?
<SegFaultAX>
3 examples*
<lifted>
i am following your definition
<lifted>
but in practice
nankyokusei has quit [Ping timeout: 244 seconds]
<SegFaultAX>
rubynew_: A quanta of data.
<baweaver>
datum :D
<lifted>
passing a :something symbol inside a method call, appears to be used frequently in this app i was just tasked with maintaining
<rubynew_>
ok so whatever that is on the right side of : is a value?
tomphp has joined #ruby
<SegFaultAX>
rubynew_: You know what a string is right?
Spami has joined #ruby
<rubynew_>
yes
<baweaver>
SegFaultAX: have fun
<lifted>
yep
<havenwood>
lifted: test_method(:something, "sweet") # It would be the Method #test_method with two arguments, the Symbol :something and the String "sweet"
jabberwock has joined #ruby
<SegFaultAX>
rubynew_: "Hello, world!" is a string, right?
<rubynew_>
yes
<lifted>
gotcha thx havenwood
<SegFaultAX>
In this case, I've used the literal form delimited by ""
<matthewd>
lifted: Your question is equivalent to asking what 3 implies
<jabberwock>
Hi. Does anyone use https://github.com/chrahunt/docx/ ? I am wondering if there are any issues with reading hyperlinks from the docx file. The python docx lib can't do it
replay has joined #ruby
<SegFaultAX>
rubynew_: Symbols also have a literal form, :<name of symbol
<SegFaultAX>
rubynew_: You should read a Ruby tutorial
<SegFaultAX>
You're extremely confused about what's going on. :)
RegulationD has joined #ruby
Contigi has quit [Ping timeout: 244 seconds]
<rubynew_>
i spent the last five days with ruby tutorials
<rubynew_>
they don't explain when i ask anything
<rubynew_>
i've tried
<SegFaultAX>
rubynew_: Ok then let me simplify for now. Think of Symbols as being more or less identical to strings.
<rubynew_>
tutorials don't reply
<SegFaultAX>
If you understand strings, you understand symbols
<rubynew_>
i know what symbols are
<havenwood>
rubynew_: {@person => "Seg"}
<rubynew_>
i am also clear on what strings are
<rubynew_>
yes havenwood
<rubynew_>
thats what i was saying
<SegFaultAX>
havenwood: That's possibly misleading depending on the value of the instance variable @person
smathews has joined #ruby
<rubynew_>
when it's in a hash, then it's a string
<rubynew_>
nope
<rubynew_>
@person is the key
<SegFaultAX>
@person is a variable
<rubynew_>
ok person is the key but @person cannot be the key?
<havenwood>
SegFaultAX: I don't know if it's right but it seems to be what was meant to be expressed.
<SegFaultAX>
The value of that variable will be used as the key in that hash literal
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<SegFaultAX>
rubynew_: The key is not literally @person, it's the value assigned to the @person instance variable.
<SegFaultAX>
So to say that "@person is the key" is extremely misleading
<SegFaultAX>
The value assigned to @person is the key
<rubynew_>
i don't get what you're saying
<rubynew_>
the value is assigned to the key
<lifted>
@person = value
<lifted>
key = value
<rubynew_>
oh
<rubynew_>
yes
<lifted>
@person just points to value
<lifted>
so if you change value
wldcordeiro has quit [Quit: WeeChat 1.4]
<lifted>
it will change @person
<havenwood>
rubynew_: You can only use the colon-style Hash keys for Symbol literals. You can't use it for variables or anything else other than Symbol literals.
<rubynew_>
i got ":" and "=" mixed up i think
<lifted>
I THINK! CORRECT ME IF IM WRONG, CODING OVERLORDS>...
<SegFaultAX>
Let's be concrete. If you do `@person = 3; { @person => "foobar" }` the resulting hash is equivalent to `{ 3 => "foobar" }`
<rubynew_>
ok i understand now, thank you havenwood
wldcordeiro has joined #ruby
Xiti` has quit [Quit: Xiti`]
<SegFaultAX>
Importantly, @person *is not the key*.
k3rn31 has quit [Quit: Computer has gone to sleep.]
<rubynew_>
so @person = "Seg" means that @person is the key and "Seg" is the string?
<havenwood>
rubynew_: You must use Hash rockets for all Hash keys that are not Symbol literals.
ex0ns has quit [Quit: Lost terminal]
<rubynew_>
why is @person not the key?
naftilos76 has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
k3rn31 has joined #ruby
<havenwood>
rubynew_: A Hash Rocket is `=>` not `=`.
banisterfiend has joined #ruby
<SegFaultAX>
Best of luck to you. :)
JakFrist has joined #ruby
naftilos76 has joined #ruby
JakFrist has quit [Client Quit]
<Mon_Ouie>
Because @person evaluates to the string "Seg", and the key is whatever the expression before '=>' evaluates to
<rubynew_>
@person => Seg ?
shinnya has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rubynew_>
Mon_Ouie: so @person is the key right
leea has joined #ruby
mg^ has joined #ruby
<Mon_Ouie>
Strictly speaking, no. A key in a hash is an object, and @person is a variable, not an object.
kab has joined #ruby
<rubynew_>
Mon_Ouie: hmm but you said..
<Mon_Ouie>
The value referenced by the variable at the time when you create the hash is the key
<SegFaultAX>
Let's be concrete. If you do `@person = 3; { @person => "foobar" }` the resulting hash is equivalent to `{ 3 => "foobar" }`
<SegFaultAX>
rubynew_: Re-read that carefully ^
<Mon_Ouie>
If after evaluating that expression, you run @person = 4, the only key in that hash is still 3, not 4
<havenwood>
rubynew_: What is `@person`?: @person # consider what is returned? that is the key.
<rubynew_>
that's just inserting the value 3 into the string "footbar"
davedev24 has joined #ruby
<SegFaultAX>
Um.
<smathy>
It's weird that => is a hashrocket, I'd expect a hashrocket to be #=>
<rubynew_>
ok these are all very confusing
<havenwood>
>> the_key = 42; a_hash = {the_key => 'the answer to life the universe and everything'}; the_key = nil; a_hash
<ruby[bot]>
havenwood: # => {42=>"the answer to life the universe and everything"} (https://eval.in/632583)
<havenwood>
rubynew_: Consider the above ^
<rubynew_>
SegFaultAX: thank u for trying to explain, i'm just having a hard time sorting it out
<rubynew_>
havenwood: whats that
spider-mario has joined #ruby
<rubynew_>
i should click on the link?
<havenwood>
rubynew_: It's an example. What is the key? (You don't have to click the link to see the example.)
malconis_ has joined #ruby
<rubynew_>
so 42 is the key?
<havenwood>
rubynew_: yup!
<SegFaultAX>
smathy: The "hash" in "hash rocket" is because it's a rocket ship inside of a hash literal.
spider-mario has quit [Read error: Connection reset by peer]
<rubynew_>
so whatever is on the left of the hash rocket is a key?
<SegFaultAX>
Ah I think I see part of the confusion
<SegFaultAX>
We are using 2 versions of the word "value"
<havenwood>
rubynew_: in the case of a variable, its return value
spider-mario has joined #ruby
<rubynew_>
is it ok if we move on from this for now, cause i feel very tormented by the concept
Yzguy has joined #ruby
<SegFaultAX>
1. Value as a synonym for "object". 123, "Hello, world!", :segfault are all different kinds of values, which are really just pieces of data
zacts has quit [Quit: WeeChat 1.4]
<rubynew_>
yes but i wasnt referring to that kind of value
<rubynew_>
i was talking about the value that comes with a key
<SegFaultAX>
2. Value as in the key-value element of a hash. A hash associates a key to a value, both of which must be objects (values) in Ruby.
<rubynew_>
father: "Andrew"
<rubynew_>
whereby "Andrew" is the value
ponga has quit [Quit: Connection closed for inactivity]
k3rn31 has quit [Quit: Computer has gone to sleep.]
<SegFaultAX>
"Andrew" is a literal string value, and the value for the key :father in the hash {father: "Andrew"}
<SegFaultAX>
It's unfortunate that these words are overloaded like that.
<mg^>
I think an easy way of telling this is that a variable is a reference to a value, and a hash key is a reference to a value. When you assign a key in a hash, the reference is copied.
<SegFaultAX>
rubynew_: Given [1, 2, 3], what do you wish you had?
the_drow has quit [Read error: Connection reset by peer]
<rubynew_>
my tutorial asks me to Then in the Movies controller, add the index action to display a list of all movies. To do this, fetch all movies from the database and store them in variable @movies.
<rubynew_>
i have @movies = Movies.all and i also have the index action
SteenJobs has joined #ruby
<SegFaultAX>
Ah, we've switched to Rails.
ukk has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
<rubynew_>
i have the movies#index in my routes.rb
Vingador has joined #ruby
jhack has quit [Quit: jhack]
<rubynew_>
ok do i need to switch to rails to ask my qn again
<SegFaultAX>
Depends if your question is Rails-specific or not. :)
k3rn31 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
jhack has joined #ruby
malconis_ is now known as malconis
the_drow has quit [Read error: Connection reset by peer]
malconis has quit [Remote host closed the connection]
the_drow has joined #ruby
pmunt has quit [Remote host closed the connection]
<rubynew_>
im not certain if its rails specific
blackwind_123 has quit [Ping timeout: 276 seconds]
<rubynew_>
i'm not very specific
peterhu has quit [Quit: leaving]
SteenJobs has quit [Quit: SteenJobs]
SeepingN_ has joined #ruby
SeepingN has quit [Disconnected by services]
blackwind_123 has joined #ruby
SilverKey has joined #ruby
Spami has joined #ruby
<mg^>
Nothwithstanding any HTML around it, you basically want a list of all the movies as one or more formatted strings, right?
naftilos76 has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
malconis has joined #ruby
SteenJobs has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
beawesomeinstead has quit [Ping timeout: 264 seconds]
WSO has quit [Ping timeout: 258 seconds]
<rubynew_>
yes
poikon has quit [Ping timeout: 265 seconds]
the_drow_ has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
<rubynew_>
mg^: i think i need a list
arthurl has joined #ruby
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
coolboy has joined #ruby
<mg^>
So you want Movies (an Array) of somethings, to some output list (a new Array)? That's exactly what Array#map is for.
<arthurl>
hi guys-i'm trying to install an old ruby version (1.8.7) on a newer dist (centos 6.5) it's failing due to openssl library compatibility- i'm read about patches being available to deal with this: https://gist.github.com/alyssenko/0235873edda554319844fc823f3db127
axsuul has joined #ruby
marsjaninzmarsa has quit [Remote host closed the connection]
AndrewIsHere has quit [Remote host closed the connection]
dunpeal has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
aegis312_ has joined #ruby
<mg^>
arthurl: CentOS 6.5 isn't that new, and it ships Ruby 1.8.7 as RPMs...
<havenwood>
arthurl: You could use RVM to apply the various necessary patches or CentOS 5 would be easier all around since it ships Ruby 1.8.7 if you don't mind the March 31, 2017 end of life.
<rubynew_>
matthewd: im not really sure
rgtk has quit [Ping timeout: 244 seconds]
marxarelli has joined #ruby
poikon has joined #ruby
<rubynew_>
mg^: i dont have an output list though
beawesomeinstead has joined #ruby
<mg^>
right, you want to turn an input list (of movies) into an output list (of formatted strings)
WSO has joined #ruby
<rubynew_>
i have get "/movies", to: 'movies#index' inside routes
<mg^>
matthewd's link shows one way to do it
<arthurl>
sorry- i'm on 6.8
<arthurl>
havenwood i'm using rbenv- i'm assuming i can try applying the patches still?
solocshaw has joined #ruby
marsjaninzmarsa has joined #ruby
aegis3121 has quit [Ping timeout: 265 seconds]
<mg^>
arthurl: that should still ship 1.8.7 since they don't update things like Ruby in minor releases. yum install ruby should get you a 1.8.7 that works with the vendor-supplied OpenSSL
AndrewIsHere has joined #ruby
marsjaninzmarsa has quit [Excess Flood]
ged_ has quit [Quit: WeeChat 1.4]
the_drow_ has quit [Read error: Connection reset by peer]
<rubynew_>
mg^: i'm supposed to add the index action in
<rubynew_>
that one im not clear
mtkd has quit [Ping timeout: 264 seconds]
<arthurl>
mg^ You're right- i see it there in /usr/bin/ruby
ged has joined #ruby
lxsameer has joined #ruby
<arthurl>
problem is i set up rbenv- can i just use the system ruby but keep everything else (gemsets etc) untouched?
<havenwood>
mg^: Ah, I knew they had later Rubies on CentOS 6 but it didn't occur to me they still shipped 1.8. That's the nicest way!
<mg^>
rubynew_: that's a little rails-y MVC stuff when you talk about actions, not my area of expertise
<arthurl>
sorry- still somewhat new to rbenv/rvm etc
dunpeal has joined #ruby
<arthurl>
trying to wrap my head around how to make this work
vF3hNGxc47h8 has joined #ruby
<havenwood>
arthurl: If you can, use the Ruby provided by the system package manager (presuming this is production).
<rubynew_>
mg^: ah thank u, i'll go over to rails
<havenwood>
arthurl: Of course upgrade the app to a supported version of Ruby if possible. Ruby 1.8 is past end of life and no longer receives updates of any kind.
<mg^>
havenwood: yeah, you can get the newer ones via software collections, and 7.x ships 2.0.0 in base, and I haven't looked in software collections
<arthurl>
havenwood yeah that's not an option for me right now- i have to work w/ this legacy thing
<mg^>
that is, haven't looked at SCL for 7.x
marsjaninzmarsa has joined #ruby
the_drow has joined #ruby
mtkd has joined #ruby
solocshaw has quit [Remote host closed the connection]
<mg^>
on that note, you are better off with the CentOS-supplied 1.8.7 if you can't upgrade the app to a newer Ruby, because Red Hat will likely fix major issues with it as long as they support RHEL6.x, which CentOS and the other clones will also pick up.
<havenwood>
arthurl: Then do use the system package manager version of 1.8. They'll probably do the best job of backporting security fixes and it hasn't been receiving security updates fora long while.
<havenwood>
what mg^ said ^
ixti has joined #ruby
solocshaw has joined #ruby
<arthurl>
i guess i'm trying to figure out how i can use the system ruby but also use the rbenv shims for all the other stuff
<arthurl>
i see export PATH="$HOME/.rbenv/bin:$PATH" in my bashrc
govg has quit [Ping timeout: 265 seconds]
elifoster has joined #ruby
<mg^>
I'd say... don't use the rbenv for this application if it depends on 1.8.7 and 1.8.7 alone. Install the system rubygems, create a user to run the application, and use rubygems/bundler to manage dependencies locally in that account.
bocaneri has quit [Remote host closed the connection]
<arthurl>
mg^ i was thinking the same thing- just disabling rbenv
dminuoso has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
<arthurl>
hmm- now seeing a 'add_frozen_gem_path': undefined method `source_index' for Gem:Module' when i try to launch into the RAILS console
SilverKey has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
<mg^>
might try the rails channel for that one
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
moei has quit [Quit: Leaving...]
GodFather has quit [Quit: Ex-Chat]
sumobob has joined #ruby
GodFather has joined #ruby
moneylotion has joined #ruby
ta has joined #ruby
rsampaio_ has joined #ruby
<arthurl>
thanks mg^ asked in there
<arthurl>
i do see gem --version comes back with 2.5.2 in this new box i'm trying to configure- and in the current production it's 1.3.7
gizmore has joined #ruby
duderonomy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
cdg has quit [Remote host closed the connection]
ta has quit [Ping timeout: 276 seconds]
solocshaw has quit [Remote host closed the connection]
the_drow has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SteenJobs has quit [Quit: SteenJobs]
spudowiar has quit [Quit: Leaving.]
TPug has joined #ruby
ngw has quit [Quit: Connection closed for inactivity]
smathews has quit [Quit: Leaving.]
ec0 has joined #ruby
ta has joined #ruby
<arthurl>
mg^ i got it sorted thank you
<arthurl>
thanks havenwood
mhib has joined #ruby
the_drow has quit [Client Quit]
rgtk has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
claudiuinberlin has quit [Remote host closed the connection]
jgt2 has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
jtzero1 has joined #ruby
naftilos76 has joined #ruby
SteenJobs has quit [Client Quit]
fckyoufreenode has joined #ruby
dionysus69 has quit [Remote host closed the connection]
ItSANgo has joined #ruby
naftilos76 has quit [Quit: Αποχώρησε]
Guest81 has joined #ruby
dionysus69 has joined #ruby
gizmore has quit [Ping timeout: 276 seconds]
zacts has joined #ruby
Guest81 has quit [Remote host closed the connection]
RedNifre_ is now known as RedNifre
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gizmore has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
zacts has quit [Client Quit]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]