#ruby - 31 March 2019
« Back 1 day Forward 1 day »
[14:04:46] moontracer: Hey there everyone! Quick question on installing Ruby and Ruby On Rails onto a fresh version of ubuntu - is there a recommend method for doing so?
[14:05:16] moontracer: I was going to download RailsInstaller and use just that but I've never setup Ruby or Rails on ubuntu so I was wondering if there's a preferred method
[14:06:01] uplime: i typicall just use rvm to install gem/ruby, then gem install rails bundler. not sure if there is a better way
[23:29:14] galtgendo: OK, so a basic question: if you don't want to use global vars, how do you pass around a set of variables ?
[23:38:19] galtgendo: well, I'll try to describe it better: my problem is that I have quite a few vars that are defined at top level and used in many places across the script, but - for obvious reasons - I can't access them if I define a top level method...
[23:45:10] galtgendo: sorry, please use smaller words: while the script is already several hundreds of lines, it's based on extreme cargo-culting and creative application of googled code snippets; my actual ruby understanding is very basic (just like my python and a few other languages)
[23:50:14] galtgendo: is - for example - initialize method valid also for class level instance vars ?