apeiros changed the topic of #ruby to: Ruby 2.1.4; 2.0.0-p594; 1.9.3-p550: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
zorak8 has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: This computer has gone to sleep]
tuelz has joined #ruby
icarus has quit [Remote host closed the connection]
atmosx has quit [Quit: Lost in trance]
cmckee has quit [Quit: cmckee]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti has quit [Ping timeout: 258 seconds]
gregf has joined #ruby
jdj_dk has quit [Read error: Connection reset by peer]
User458764 has joined #ruby
tuelz has quit [Client Quit]
mrjensen has joined #ruby
User4587_ has quit [Ping timeout: 272 seconds]
<rpag> shevy, you could always make meth
<rpag> breaking bad style
wjimenez_ has joined #ruby
<shevy> hehe
<shevy> nah
<rpag> do you mess with other langs than ruby?
wjimenez5271 has quit [Ping timeout: 260 seconds]
klaut has quit [Remote host closed the connection]
<shevy> I am learning C :(
<rpag> write some ruby exts =)
<shevy> yeah
<rpag> great way to learn ruby
<rpag> erh
<rpag> C*
<shevy> but I don't like C really
<rpag> yeah
<rpag> ruby spoils you
<shevy> yeah
<shevy> I'll just use C because one simply has more options
<shevy> one day I will contribute some enhancement to mruby in C \o/
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rpag> nice :)
wjimenez_ has quit [Ping timeout: 244 seconds]
<ZucchiniZe> How do you find HTTP headers in sinatra?
jjasonclark has quit [Quit: jjasonclark]
<rpag> request.headers at a guess
ghr has joined #ruby
ephemerian has quit [Quit: Leaving.]
User4587_ has joined #ruby
jgt has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
User458764 has quit [Ping timeout: 255 seconds]
visof has quit [Quit: Lost terminal]
i_s has quit [Remote host closed the connection]
danijoo has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
i_s has joined #ruby
Spami has joined #ruby
kaspertidemann has quit []
melik has joined #ruby
thagomizer has quit [Quit: Leaving.]
charliesome has quit [Quit: zzz]
mesamoo has quit [Quit: Konversation terminated!]
gregf has quit [Quit: WeeChat 1.0.1]
iago-x86 has quit [Ping timeout: 272 seconds]
Xiti has joined #ruby
aspires has joined #ruby
i_s has quit [Ping timeout: 256 seconds]
Lewix has joined #ruby
cashnguns has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
<pipework> ZucchiniZe: For the request or response?
mistermocha has quit [Remote host closed the connection]
<ZucchiniZe> request
<pipework> ZucchiniZe: Make a guess.
pentanol has joined #ruby
<pentanol> hi could someone say what's wrong here: http://pastebin.ca/2865358
User458764 has joined #ruby
<havenwood> >> RAILS_ENV
<eval-in__> havenwood => uninitialized constant RAILS_ENV (NameError) ... (https://eval.in/211089)
<havenwood> pentanol: ^
<rpag> rails isn't loaded, RAILS_ENV is gone in favor of Rails.env, svn seems to be missing
<pentanol> I make rake redmine:plugins:migrate RAILS_ENV=production
<havenwood> svn missing is a prob
<pentanol> echo $RAILS_ENV
<pentanol> production
<rpag> RAILS_ENV at your shell isnt the same thing though
<havenwood> pentanol: ruby constant vs shell env var
zenojis has quit [Quit: No Ping reply in 180 seconds.]
<rpag> RAILS_ENV use to be a thing defined by rails but its been deprecated for 'Rails.env'
<havenwood> pentanol: The Rails channel is #rubyonrails, nick registration required.
<rpag> also that
jenrzzz has joined #ruby
User4587_ has quit [Ping timeout: 265 seconds]
zenojis has joined #ruby
gregf has joined #ruby
doppo has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Wolland has joined #ruby
terje has joined #ruby
jdj_dk has joined #ruby
terje has quit [Client Quit]
terje has joined #ruby
terje has quit [Client Quit]
dmtry has joined #ruby
ZucchiniZe is now known as hubotcs
zenojis has quit [Quit: No Ping reply in 180 seconds.]
<pentanol> I should create Rails.env with RAILS_ENV=production ?
hubotcs is now known as ZucchiniZe
parabolize has joined #ruby
<pentanol> no, anyway is not working
User4587_ has joined #ruby
<havenwood> pentanol: did you install svn? try #rubyonrails?
Wolland has quit [Ping timeout: 258 seconds]
dmtry has quit [Client Quit]
zenojis has joined #ruby
xcesariox has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
User458764 has quit [Ping timeout: 255 seconds]
oo_ has joined #ruby
zenojis has quit [Client Quit]
Kricir has quit [Remote host closed the connection]
triple_b has joined #ruby
slbmeh has quit [Ping timeout: 265 seconds]
zenojis has joined #ruby
oo_ has quit [Client Quit]
zenojis has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
enebo has quit [Quit: enebo]
jasooon has joined #ruby
iamjarvo has joined #ruby
zenojis has joined #ruby
stunder has quit [Read error: Connection reset by peer]
gmdeux has joined #ruby
gmdeux has quit [Max SendQ exceeded]
doodlehaus has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
triple_b has quit [Remote host closed the connection]
oo_ has joined #ruby
<pentanol> yes I install svn, but this error: uninitialized constant RAILS_ENV
triple_b has joined #ruby
User458764 has joined #ruby
freerobby has quit [Quit: Leaving.]
jasooon has quit [Ping timeout: 245 seconds]
gregf has quit [Quit: WeeChat 1.0.1]
n_blownapart has joined #ruby
User4587_ has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
jottr has joined #ruby
dc_ has joined #ruby
dc_ has quit [Client Quit]
sevenseacat has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jdj_dk has quit [Ping timeout: 240 seconds]
diegovio2 has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nobitanobi has quit []
mikecmpbll has quit [Quit: i've nodded off.]
davasaurous has quit [Remote host closed the connection]
spastorino has quit [Quit: Connection closed for inactivity]
mistermocha has quit [Ping timeout: 272 seconds]
michaeldeol has quit [Quit: Connection closed for inactivity]
Tricon has quit [Ping timeout: 264 seconds]
6A4AAAT75 has quit [Remote host closed the connection]
skolman_ has joined #ruby
User4587_ has joined #ruby
fred-inRio has quit [Ping timeout: 244 seconds]
<pentanol> why after I install bundler ruby is get broken?
<pentanol> /usr/local/bin/rake:19:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/rake-10.3.2/bin/rake (LoadError)
cndiv has joined #ruby
cndiv has quit [Client Quit]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 has quit [Ping timeout: 250 seconds]
tokik has joined #ruby
phutchins has joined #ruby
skolman_ has quit [Ping timeout: 250 seconds]
shazaum has quit [Quit: Leaving]
cleopatra has quit [Remote host closed the connection]
vyorkin has quit [Ping timeout: 256 seconds]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eka has joined #ruby
ruber has joined #ruby
davasaurous has joined #ruby
mary5030 has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
gtrak has quit [Ping timeout: 245 seconds]
rshetty has joined #ruby
twistedpixels is now known as zz_twistedpixels
<shevy> that path is wrong
<shevy> who installed rubygems-integration ?
allcentury has joined #ruby
User458764 has joined #ruby
<sweeper> prolly clippy
vanderh0ff has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
julian37 has quit [Ping timeout: 240 seconds]
<shevy> ok so this is a recent installation
<shevy> and you have multiple ruby versions there
vanderh0ff has joined #ruby
User4587_ has quit [Ping timeout: 265 seconds]
<pentanol> /usr/local/bin/rake:19:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/rake-10.3.2/bin/rake (LoadError)
boombadaroomba has joined #ruby
<pentanol> I did ln, but didn't help
niklasb_ has joined #ruby
rshetty has quit [Remote host closed the connection]
<pentanol> ln -s /usr/local/bin/rake /usr/share/rubygems-integration/all/gems/rake-10.3.2/bin/rake
<pentanol> /usr/local/lib/site_ruby/1.9.1/rubygems/version.rb:331: stack level too deep (SystemStackError)
n_blownapart has quit [Remote host closed the connection]
<shevy> now you have a looping symlink
<shevy> I am surprised you can deal with this
allcentury has quit [Ping timeout: 256 seconds]
<shevy> if this were my system, I would eliminate all old things there and reinstall one version
niklasb has quit [Ping timeout: 245 seconds]
jgt has quit [Ping timeout: 256 seconds]
<pentanol> no
i_s has joined #ruby
<pentanol> no looped
robbyoconnor has quit [Ping timeout: 272 seconds]
<pentanol> /usr/share/rubygems-integration/all/gems/rake-10.3.2/bin/rake: not exist at all
<shevy> I don't have a rubygems-integration directory btw
<shevy> yeah, something has tried to register that path
<shevy> what does "gem env" give you?
ghr has quit [Ping timeout: 272 seconds]
<pentanol> gem install bundler installs there
<shevy> yeah bundler sucks
<rpag> even weirder it seems to be trying to require bin/rake
maletor has joined #ruby
<shevy> well that path should be ok because it assumes the base directory to be at rake-10.3.2/
maletor has quit [Changing host]
maletor has joined #ruby
boombadaroomba has quit [Ping timeout: 265 seconds]
<pentanol> here, how change env there?
<shevy> aaah debian based system right?
<shevy> well that is a huge mess
<pentanol> yes ubuntu
emmesswhy has joined #ruby
mary5030 has quit [Remote host closed the connection]
<shevy> I can not believe that bundler would want to install into /usr/share/rubygems-integration/1.9.1
<pentanol> how change the env?
AlHafoudh has quit [Ping timeout: 244 seconds]
siwica has quit [Ping timeout: 240 seconds]
<shevy> my superuser's dirs are http://pastie.org/pastes/9682130/text
davasaurous has quit [Remote host closed the connection]
<shevy> I don't use $HOME/.gem/ruby/2.1.0 though
emmesswhy has quit [Client Quit]
tkuchiki has quit [Remote host closed the connection]
<pentanol> GEM PATHS how change that?
<shevy> I don't think you can
jdj_dk has joined #ruby
tkuchiki has joined #ruby
<shevy> you have environment variables though
<shevy> "You can even change this with GEM_HOME environment variable."
<havenwood> pentanol: The GEM_PATH env var is a colon-separated list of gem repository directories.
<sweeper> http://static.fjcdn.com/pictures/Clippy_2f2daf_2515438.jpg <-- this guy's fault, I'm telling you
AlHafoudh has joined #ruby
Ulrike_Rayne has quit [Read error: Connection reset by peer]
<havenwood> pentanol: GEM_HOME is the default repository location for gem installation.
i_s has quit [Ping timeout: 255 seconds]
emmesswhy has joined #ruby
<shevy> sweeper this shows your wicked MS past
<pentanol> ok I remove it with usuall export GEM_PATH="..."
<pentanol> now I have uninitialized constant RAILS_ENV
reset has quit [Quit: Linkinus - http://linkinus.com]
jottr has quit [Ping timeout: 256 seconds]
User4587_ has joined #ruby
<sweeper> hey don't tempt me. I convinced the guys in #angularjs to try to convert "middle-endian hex-encoded kiloseconds since epoch" to minutes, after someone asked 'how can convert a var foo = "283" to minutes?'
tkuchiki has quit [Ping timeout: 250 seconds]
maletor has quit [Quit: Textual IRC Client: www.textualapp.com]
doodlehaus has quit [Remote host closed the connection]
Ulrike_Rayne has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
User458764 has quit [Ping timeout: 272 seconds]
diegovio2 is now known as diegoviola
maletor has joined #ruby
benzrf|offline is now known as benzrf
mary5030 has joined #ruby
fabrice31 has joined #ruby
<pentanol> shevy there?
yetanotherdave has quit [Ping timeout: 240 seconds]
reinaldob has joined #ruby
nateberkopec has joined #ruby
chipotle has joined #ruby
vanderh0ff has quit [Ping timeout: 255 seconds]
jimbach_ has quit [Quit: Leaving...]
fabrice31 has quit [Ping timeout: 244 seconds]
User458764 has joined #ruby
vanderh0ff has joined #ruby
BadQuanta has quit [Ping timeout: 265 seconds]
graydot has quit [Quit: graydot]
User4587_ has quit [Ping timeout: 256 seconds]
reinaldob has quit [Ping timeout: 245 seconds]
mistermocha has joined #ruby
tkuchiki has joined #ruby
SiliconDon has joined #ruby
SiliconDon has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
troyready has quit [Ping timeout: 256 seconds]
mistermocha has quit [Ping timeout: 260 seconds]
robustus has quit [Ping timeout: 250 seconds]
nateberkopec has quit [Quit: Leaving...]
<shevy> pentanol semi there
robustus has joined #ruby
<shevy> I love to keep things simple
<shevy> your setup is very complicated
marr has quit [Ping timeout: 258 seconds]
jdj_dk has quit [Ping timeout: 255 seconds]
alvaro_o has quit [Quit: Ex-Chat]
User4587_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
thomasfedb_ has quit [Quit: ZNC - http://znc.sourceforge.net]
User458764 has quit [Ping timeout: 244 seconds]
mary5030 has joined #ruby
replay has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
Kricir has joined #ruby
mary5030 has quit [Ping timeout: 256 seconds]
kireevco has quit [Quit: Leaving.]
Parker0 has joined #ruby
Parker0 has quit [Read error: Connection reset by peer]
Kricir has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
esteban1 has joined #ruby
Mars` has quit [Ping timeout: 255 seconds]
rshetty has joined #ruby
aspires has quit []
havenwood has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
User4587_ has quit [Ping timeout: 255 seconds]
dexkiki has joined #ruby
<dexkiki> What does [env,] and [,options] mean within the docs for Kernel.system([env,] command... [,options]) ?
aspires has joined #ruby
<shevy> dexkiki optional, I guess
<shevy> "The hash arguments, env and options, are same as exec and spawn. See Kernel.spawn for details."
<shevy> "spawn has bunch of options to specify process attributes:"
<shevy> "env: hash"
<shevy> " name => val : set the environment variable"
<shevy> " name => nil : unset the environment variable"
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
<dexkiki> Ok, thanks shevy
esteban1 has quit [Quit: WeeChat 1.0.1]
<shevy> \o/
<shevy> system your spawns all away!
aspires has quit []
dogweather has joined #ruby
aspires has joined #ruby
User4587_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
charliesome has joined #ruby
zorak8 has joined #ruby
<dexkiki> lolol. What's a process?
jasooon has joined #ruby
<dexkiki> Process*
hamakn has quit [Ping timeout: 250 seconds]
jdj_dk has joined #ruby
<shevy> I think a module in core Ruby
<shevy> like if you must find out the PID of something
<shevy> Process.ppid
<shevy> or want to set the effective user id: Process.euid = 505
<shevy> or fork a process: Process.fork
User458764 has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
jbueza has joined #ruby
iago-x86 has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
arya_ching has joined #ruby
diegovio1 has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
kaspergrubbe has quit [Ping timeout: 258 seconds]
diegoviola has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: zzz]
muhammadn has joined #ruby
rkalfane has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
jottr has joined #ruby
replay has quit []
davasaurous has joined #ruby
User458764 has joined #ruby
ixti has quit [Quit: WeeChat 1.0.1]
gtrak has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
djbkd has joined #ruby
User4587_ has quit [Ping timeout: 272 seconds]
drocsid has joined #ruby
<drocsid> I'm trying to use this in a provision script : printf '%s\t %s\n' $(hostname) $(ip -f inet -o addr show eth1 | awk '{ print $4 }' | sed 's/\/16//g') >> /vagrant/hosts it seems to work from a terminal logged into a vagrant host, but only puts the hostname in the file otherwise.
muhammadn_ has joined #ruby
<drocsid> $provision_script= <<SCRIPT
jottr has quit [Ping timeout: 256 seconds]
davasaurous has quit [Ping timeout: 255 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
Photism has joined #ruby
muhammadn has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
devdazed has quit [Quit: Computer has gone to sleep.]
aspires has quit []
aspires has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
Kricir has joined #ruby
User4587_ has joined #ruby
VanillaGoat_ has joined #ruby
rshetty has quit [Remote host closed the connection]
diegovio1 is now known as diegoviola
rshetty has joined #ruby
User458764 has quit [Ping timeout: 264 seconds]
jdj_dk has quit [Ping timeout: 256 seconds]
ctooley has joined #ruby
<benzrf> =<<
<benzrf> a haskelL!
jimmyhoughjr has joined #ruby
VanillaGoat__ has quit [Ping timeout: 245 seconds]
krz has joined #ruby
<ctooley> Hello. I’m trying to do something I thought would be exceptionally simple, but apparently is less simple that I expected. How do I create an ActiveRecord object using the contents of an array without explicitly mapping each element to a field? They’re all in the same order, it seems a bit verbose to list them all out.
Takle has quit [Remote host closed the connection]
optiz0r has quit [Ping timeout: 245 seconds]
davasaurous has joined #ruby
nyanz has joined #ruby
<gr33n7007h> erb or haml? hmm.... haml ftw for sure!!!
ruber has quit [Ping timeout: 258 seconds]
hmsimha has joined #ruby
<ctooley> :-)
thumpba has joined #ruby
<ericwood> ctooley: when it comes to attributes there's no notion of "order"
<ericwood> they're just fields on the model
<ctooley> I take it that probably means no. :-)
<ericwood> it's for the best honestly
<ericwood> but you could create something that maps the array to associated hash values
jenrzzz has joined #ruby
gtrak has quit [Ping timeout: 265 seconds]
rshetty has quit [Ping timeout: 245 seconds]
User458764 has joined #ruby
arya_ching has quit [Ping timeout: 265 seconds]
thumpba has quit [Ping timeout: 255 seconds]
mesamoo has joined #ruby
dexkiki has quit [Quit: Page closed]
aspires has quit []
User4587_ has quit [Ping timeout: 245 seconds]
zz_jrhorn424 is now known as jrhorn424
SolarSailor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
sanguisdex has joined #ruby
<sanguisdex> okay time for a stupid question but I can't figure it out
ramfjord has quit [Ping timeout: 260 seconds]
<ericwood> fire away
danijoo has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
danijoo has joined #ruby
linojon has joined #ruby
<ericwood> or not
muhammadn_ has quit [Read error: Connection reset by peer]
<sanguisdex> how do I return the value of "bar" when it's been entered into a hash via options ={foo =>[{bar => "lorom"}]}
<sanguisdex> ericwood: it toom me a moment to abstract the hash bits
<ericwood> yeah no worries
ramfjord has joined #ruby
<sanguisdex> I have tried options['foo']['bar'] and that does not work
<ericwood> >> h = {foo: [{bar: 'lorom'}]}; puts h[:foo].first[:bar]
<eval-in__> ericwood => lorom ... (https://eval.in/211117)
frozon has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
<sanguisdex> ericwood: how would I use the key instead of the .first method, I have multiple values in parallel to bar that I need to return in other bits
jrhorn424 is now known as zz_jrhorn424
<sevenseacat> well the key is 0, given its an array
djbkd has quit [Remote host closed the connection]
User4587_ has joined #ruby
snath has joined #ruby
Tricon has joined #ruby
<ericwood> I'm confused, are you trying to find the first hash inside of the foo array that has the key bar?
doug1 has joined #ruby
vanderh0ff has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
vanderh0ff has joined #ruby
<sanguisdex> ericwood: 1 the hash is created via a YAML.load_file. I am trying to return values from the third tier of the hash via their key
<sevenseacat> there is only two levels of ash there, not three
<ericwood> arrays don't have keys, so the only way I could get the inner hash was with .first :(
<sevenseacat> hash
User458764 has quit [Ping timeout: 264 seconds]
<shevy> I have eight layers of ash
<shevy> cat ash
<ericwood> ah okay you gave me weird input
<sevenseacat> !fake
<helpa> Please do not use fake values, as they can be confusing or misleading. Sometimes both.
<ericwood> >> h = {options: {foo: {bar: 'lorom'}}}; puts h[:options][:foo][:bar]
<eval-in__> ericwood => lorom ... (https://eval.in/211118)
tyll_ has joined #ruby
<ericwood> I'm assuming this is what you want? the data you gave me wasn't very easy to interpret
hellangel7 has joined #ruby
jdj_dk has joined #ruby
poguez has joined #ruby
tyll has quit [Ping timeout: 256 seconds]
kireevco has quit [Quit: Leaving.]
<ericwood> ¯\_(ツ)_/¯
<shevy> big smiley
<shevy> sanguisdex that hash is weird: options = { foo => [{bar => "lorom"}]}
djbkd has quit [Remote host closed the connection]
<shevy> the keys you use in that paste seem to be invalid
<ericwood> not only that the array really confuses it too
i_s has joined #ruby
<sanguisdex> ericwood: I am trying to recall the data in domain, user and password https://eval.in/211120. the hash was built using YAML.load_file
<shevy> if YAML.load_file() works
<shevy> and it will really give you a hash, then you have a valid ruby hash
<shevy> I doubt it was this though: options = { foo => [{bar => "lorom"}]}
apeiros has quit [Ping timeout: 244 seconds]
<ericwood> sanguisdex: okay that helps a lot
radic has quit [Disconnected by services]
doug1 has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 255 seconds]
radic_ has joined #ruby
User4587_ has quit [Remote host closed the connection]
<sanguisdex> ericwood: I am a recent refuge from php where we don't even have hashes
doug1 has joined #ruby
apeiros has joined #ruby
<sanguisdex> so my terminology may be fubar
michaeldeol has joined #ruby
<ericwood> >> h = {"options" => {"instance"=>"dev", "remoteapp"=>[{"domain"=>"lorum"}, {"user"=>"fooo"}, {"password"=>"right"}]}}; puts h['options']['remoteapp'].first
cashnguns has quit [Remote host closed the connection]
<eval-in__> ericwood => {"domain"=>"lorum"} ... (https://eval.in/211123)
User458764 has joined #ruby
<ericwood> that gets you the first user, etc.
troyready has joined #ruby
<ericwood> but it's easy to go from there to doing what you want
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pentanol> why thin wont start: http://pastebin.ca/2865416
duncannz has joined #ruby
<pentanol> I do thin -C /tmp/redmine.yml
muhammadn_ has joined #ruby
i_s has quit [Ping timeout: 256 seconds]
eka has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby
eka has quit [Client Quit]
o0oo0o has quit [Ping timeout: 246 seconds]
<shevy> sanguisdex I came over from php to ruby as well years ago \o/
ghr has joined #ruby
<sanguisdex> shevy: I still work in a php shop but I am more ops now and tool wrtting is better in ruby than php
<shevy> yeah
<shevy> especially if you focus on writing terse and little code
oo_ has quit [Remote host closed the connection]
davidhq has quit [Quit: Textual IRC Client: www.textualapp.com]
benzrf is now known as benzrf|offline
<sanguisdex> okay here is something I know I am missing, when writing a gem, I don't feel should need to run rake install between ever test. point me to the documentation I missed?
ghr has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
User4587_ has joined #ruby
<shevy> I don't even have rake to test stuff
<Lewix> is there someone here who buy most ruby books
<shevy> my tests are only .rb files that reside in test/ of the respective gem
<Lewix> who's like the go to person for new ruby books
User458764 has quit [Ping timeout: 244 seconds]
<shevy> the only way to learn ruby is by writing a lot of ruby code
eka has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eka has quit [Client Quit]
<Lewix> shevy: hope you're not talking to me
jerius has joined #ruby
braincra- has joined #ruby
<eam> don't listen to shevy he's a php developer
<shevy> I left php behind
msmith has joined #ruby
<shevy> just as eam abandoned perl
<Lewix> ruby is so dead
<Lewix> =)
jdj_dk has quit [Ping timeout: 260 seconds]
coderwill has quit [Quit: leaving]
<Lewix> there was a time when rubyist used to be proud
jgrevich has quit [Read error: Connection reset by peer]
<shevy> this time is still here
* Lewix is looking for a book in particular
jgrevich has joined #ruby
<shevy> go read the pickaxe
braincrash has quit [Ping timeout: 256 seconds]
<Lewix> done
msmith has quit [Remote host closed the connection]
<shevy> then you know enough ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
<Lewix> I'm looking for a specific book but I have plans
o0oo0o has joined #ruby
<shevy> we all have plans
niko has quit [Ping timeout: 612 seconds]
<Lewix> but I want to borrow it
<Lewix> ^^
<Lewix> I don't have no money to buy that ish right now
<eam> I hear books can be obtained for free on the internet
niko has joined #ruby
<shevy> Lewix is a curious person
User458764 has joined #ruby
diegovio1 has joined #ruby
IceDragon has quit [Quit: Space~~~]
diegoviola is now known as Guest9165
doug1 has quit [Read error: Connection reset by peer]
diegovio1 is now known as diegoviola
Guest9165 has quit [Ping timeout: 244 seconds]
doug1 has joined #ruby
<Lewix> shevy: by the way something funny, I had a discussion with the writer of effective ruby about whether ruby is pass by value or by reference
magic_ has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Lewix> he was convinced it was pass by reference
<Lewix> eam: not that one, and I'm black belt at googling
duncannz has quit [Remote host closed the connection]
<sevenseacat> if you want books, you should buy them.
<Lewix> eam: the other alternative, is we kill two birds with one stone - you buy it, read it and send it to me
User4587_ has quit [Ping timeout: 256 seconds]
<Lewix> sevenseacat: oh please..i love you but not today
* Lewix is not in the mood
duncannz has joined #ruby
<sevenseacat> i'm not in the mood for pirates either.
<Lewix> sevenseacat: I'm not a pirate until proven guilty
<shevy> how about pirate cats
luriv has quit [Ping timeout: 245 seconds]
<Lewix> sevenseacat: have you ever downloaded anything free from the internet?
<shevy> a ship vessel would be an ideal location for a cat - if it likes fish
<eam> sevenseacat: don't be so anti-sharing
matchaw has quit [Ping timeout: 245 seconds]
<sevenseacat> sure, i download free things like software all the time.
danijoo has quit [Read error: Connection reset by peer]
<sevenseacat> open source, baby.
<Lewix> sevenseacat: movies?
<sevenseacat> not for many years.
<Lewix> music?
<Lewix> so you were a pirate so don't judge
danijoo has joined #ruby
<shevy> I downlod pictures of cats like this one here http://goo.gl/dGwYki
<sevenseacat> dont tell me what to do :)
<Lewix> I don't think i ever won an argument with you
<eam> uh you just told us what to do
<shevy> cats don't lie
<Lewix> sevenseacat: you are so stubborn ==)
<Lewix> shevy: I hate cats
<Lewix> with a passion
<eam> Lewix: what about just one cat
graydot has joined #ruby
<Lewix> eam: a cat killed my puppy lol
<eam> rofl
<Lewix> I swear
<Lewix> the scar never left me
<shevy> now who is telling cat stories out of his alley now
<eam> did we start talking in euphemisms
<Lewix> lol
mburns has quit [Ping timeout: 272 seconds]
arup_r_ has joined #ruby
<Lewix> eam: http://brandonhilkert.com/courses/build-a-ruby-gem/ sounds like I could learn a thing or two
mburns has joined #ruby
User4587_ has joined #ruby
arup_r_ has quit [Remote host closed the connection]
koderok has joined #ruby
benzrf|offline is now known as benzrf
matchaw has joined #ruby
User458764 has quit [Ping timeout: 245 seconds]
benzrf is now known as benzrf|offline
emmesswhy has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
jimmyhoughjr has joined #ruby
Joufflu has joined #ruby
cleopatra has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jusmyth has joined #ruby
jdj_dk has joined #ruby
rshetty has joined #ruby
davasaurous has quit [Remote host closed the connection]
agjacome has quit [Quit: Lost terminal]
bluOxigen has joined #ruby
User458764 has joined #ruby
jusmyth has quit [Ping timeout: 265 seconds]
Spami has joined #ruby
davasaurous has joined #ruby
Spami has quit [Client Quit]
doug1 has quit [Ping timeout: 244 seconds]
<shevy> Lewix what ruby version do you run?
User4587_ has quit [Ping timeout: 258 seconds]
<Lewix> shevy: 2.1
<shevy> update to 2.1.4 !
<shevy> >> RUBY_VERSION
<eval-in__> shevy => "2.1.3" (https://eval.in/211162)
<Lewix> shevy: thanks for reminding me
benzrf|offline is now known as benzrf
benzrf is now known as benzrf|offline
phutchins has quit [Ping timeout: 240 seconds]
krz has quit [Quit: WeeChat 1.0.1]
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
vyorkin has joined #ruby
<eam> >> $VERBOSE=nil; RUBY_VERSION = "2.1.4"; RUBY_VERSION
<eval-in__> eam => "2.1.4" (https://eval.in/211167)
<eam> fixed
braincra- has quit [Quit: bye bye]
krz has joined #ruby
<sevenseacat> lol
thumpba has joined #ruby
i_s has joined #ruby
User4587_ has joined #ruby
doug1 has joined #ruby
vyorkin has quit [Ping timeout: 265 seconds]
arup_r has quit [Quit: Leaving.]
jottr has joined #ruby
duncan_ has joined #ruby
User458764 has quit [Ping timeout: 258 seconds]
braincrash has joined #ruby
optiz0r has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
kohgpat has joined #ruby
havenwood has joined #ruby
i_s has quit [Ping timeout: 258 seconds]
thumpba has quit [Remote host closed the connection]
echooo1 has joined #ruby
doug1 has quit [Read error: Connection reset by peer]
duncannz has quit [Ping timeout: 264 seconds]
doug1 has joined #ruby
Channel6 has quit [Quit: Leaving]
frozon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
echooo has quit [Ping timeout: 255 seconds]
n_blownapart has joined #ruby
thumpba has joined #ruby
jottr has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
Hijiri has quit [Ping timeout: 260 seconds]
doug1 has quit [Read error: Connection reset by peer]
doug1 has joined #ruby
Hijiri has joined #ruby
n_blownapart has quit [Client Quit]
<shevy> >> RUBY_VERSION
<eval-in__> shevy => "2.1.3" (https://eval.in/211168)
<shevy> it reverted1
jdj_dk has quit [Ping timeout: 245 seconds]
oo_ has quit [Ping timeout: 256 seconds]
ghr has quit [Ping timeout: 258 seconds]
troyready has quit [Ping timeout: 260 seconds]
<waxjar> what a shitty repl :p
benzrf|offline is now known as benzrf
User458764 has joined #ruby
aspires has quit []
aspires has joined #ruby
aspires has quit [Client Quit]
duncan_ has quit [Read error: Connection reset by peer]
benzrf is now known as benzrf|offline
Jarboe has quit []
duncan_ has joined #ruby
duncan_ is now known as duncannz
emmesswhy has quit [Quit: This computer has gone to sleep]
<Lewix> >> RUBY_VERSION.chop + '4'
<eval-in__> Lewix => "2.1.4" (https://eval.in/211169)
<Lewix> problem solved
<havenwood> >> RUBY_VERSION.next
<eval-in__> havenwood => "2.1.4" (https://eval.in/211170)
thumpba has quit [Remote host closed the connection]
User4587_ has quit [Ping timeout: 245 seconds]
n_blownapart has joined #ruby
Kricir has quit [Remote host closed the connection]
duncannz has quit [Read error: Connection reset by peer]
mikepack_ has quit [Remote host closed the connection]
duncannz has joined #ruby
<ctooley> OK, am I on crack or did rails used to be able to take a database DSN and generate some basic CRUD pages for the tables in the the schema?
jusmyth has joined #ruby
Kricir has joined #ruby
<havenwood> ctooley: might have better luck with rails in #rubyonrails, nick registration required
n_blownapart has quit [Client Quit]
<ctooley> havenwood: cool, thanks
kohgpat has quit [Ping timeout: 255 seconds]
zorak8 has quit [Ping timeout: 260 seconds]
kireevco has joined #ruby
oo_ has joined #ruby
kireevco has quit [Max SendQ exceeded]
michaeldeol has joined #ruby
kireevco has joined #ruby
patrick99e99 has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
kohgpat has joined #ruby
User4587_ has joined #ruby
kyb3r_ has joined #ruby
User458764 has quit [Ping timeout: 255 seconds]
patrick99e99 has quit [Ping timeout: 256 seconds]
duncannz has quit [Remote host closed the connection]
koderok has quit [Ping timeout: 244 seconds]
ctooley has quit [Quit: ctooley]
duncannz has joined #ruby
charliesome has joined #ruby
kp666 has joined #ruby
msmith has joined #ruby
dogweather has quit [Remote host closed the connection]
User458764 has joined #ruby
jdj_dk has joined #ruby
msmith has quit [Ping timeout: 258 seconds]
speakingcode has quit [Ping timeout: 245 seconds]
User4587_ has quit [Ping timeout: 245 seconds]
Cache_Money has joined #ruby
et09 has joined #ruby
ndrei has joined #ruby
ndrei_ has joined #ruby
ndrei__ has joined #ruby
<et09> i have kind of a design question - how do i start an arbitrary number of threads, and not close out of the calling function, or continue executing code in that function, until they've completed?
<et09> in other words i want the threads to operate as a block until all of them have finished executing
ARCADIVS has joined #ruby
doug1 has quit [Read error: No route to host]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 250 seconds]
speakingcode has joined #ruby
kohgpat has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Ping timeout: 244 seconds]
User4587_ has joined #ruby
mercwithamouth has joined #ruby
ramfjord has joined #ruby
User458764 has quit [Ping timeout: 256 seconds]
arescorpio has joined #ruby
speakingcode has quit [Ping timeout: 258 seconds]
<havenwood> et09: you can just put them in an Array then call each &:join to wait till the last finishes
byprdct has joined #ruby
duncannz has quit [Ping timeout: 255 seconds]
davasaurous has quit [Remote host closed the connection]
shortCircuit__ has joined #ruby
oo_ has quit [Remote host closed the connection]
<et09> i used ThreadsWait
<et09> same idea. thanks
<et09> exit
et09 has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
davasaurous has joined #ruby
ramfjord has joined #ruby
jxf has quit [Ping timeout: 258 seconds]
<pentanol> who can say what's wrong with redmine here http://pastebin.ca/2865467
callumacrae has quit [Ping timeout: 265 seconds]
jasooon has joined #ruby
jack_rabbit has joined #ruby
User458764 has joined #ruby
_lexjm has quit [Quit: zzz...]
fabrice31 has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
User4587_ has quit [Ping timeout: 250 seconds]
jdj_dk has quit [Ping timeout: 272 seconds]
mistermocha has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
byprdct has quit []
fabrice31 has quit [Ping timeout: 264 seconds]
callumacrae has joined #ruby
sinequanon has joined #ruby
boombadaroomba has joined #ruby
ghr has joined #ruby
JoshGlzBrk has joined #ruby
boombadaroomba has quit [Ping timeout: 255 seconds]
User4587_ has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
kohgpat has joined #ruby
omosoj has joined #ruby
<omosoj> anyone here use treat?
emmesswhy has joined #ruby
govg has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 265 seconds]
AlexRussia has joined #ruby
mikepack has joined #ruby
dseitz has joined #ruby
govg has joined #ruby
j_mcnally has joined #ruby
mistermocha has quit [Read error: Connection timed out]
Joufflu has quit [Read error: Connection reset by peer]
Joufflu has joined #ruby
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
tokik_ has joined #ruby
Morkel has joined #ruby
Spami has joined #ruby
User458764 has joined #ruby
tokik has quit [Ping timeout: 272 seconds]
maletor has joined #ruby
User4587_ has quit [Ping timeout: 265 seconds]
learning has joined #ruby
jdj_dk has joined #ruby
<learning> I am using redmine and upgraded it to 2.6.0 . But after restarting thin, it doesn't seem to load. I see the following in the log: http://pastebin.com/aQLzPjR2
jenrzzz has joined #ruby
thumpba has joined #ruby
<pontiki> from the redmine.org home page: "For getting help or discussing about Redmine, you can browse the Redmine forums hosted right here in Redmine. We also have a fairly active chatroom - join #redmine on the freenode IRC network. Some more information about IRC is here"
<learning> pontiki: Do you think it is really related to redmine?
<pentanol> learning that why I want keep using 2.3.0 version
arup_r has joined #ruby
arup_r has quit [Remote host closed the connection]
jcdesimp has joined #ruby
<learning> pentanol: Thats advice is ok but why there is issue when upgraded
tlarevo has joined #ruby
thumpba has quit [Ping timeout: 265 seconds]
User4587_ has joined #ruby
maestrojed has joined #ruby
<maestrojed> anyone wanna try to explain a ruby project to a dinosaur (me)? I want this. https://github.com/voxmedia/meme. I have no idea how to use this :)
<maestrojed> I can follow the instructions. after running this middleman thing I can use this in am local browser. So I guess everything they talk about is "working". However I have no idea how to incorporate this into a website or get it to work outside of this "middleman" thing.
User458764 has quit [Ping timeout: 244 seconds]
arescorpio has quit [Excess Flood]
aewffwea has joined #ruby
dkb20k has joined #ruby
tokik has joined #ruby
robbyoconnor has joined #ruby
tokik_ has quit [Ping timeout: 255 seconds]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jcdesimp_ has joined #ruby
<aewffwea> What are ruby most important concepts?
User458764 has joined #ruby
<theotherstupidgu> aewffwea, just start with ruby object model
<theotherstupidgu> aewffwea, Dave Thomas talks are the easiest way to start in my opinon
User4587_ has quit [Ping timeout: 264 seconds]
jcdesimp has quit [Ping timeout: 264 seconds]
<theotherstupidgu> aewffwea, https://www.youtube.com/watch?v=X2sgQ38UDVY
crazydiamond has joined #ruby
govg has quit [Ping timeout: 264 seconds]
DivineEntity has quit [Ping timeout: 244 seconds]
govg has joined #ruby
DivineEntity has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hijiri has quit [Ping timeout: 256 seconds]
Hijiri has joined #ruby
sinkensabe has joined #ruby
<learning> How to reinstall bundle? bundle install --without development test just shows installed bundles
<sevenseacat> `bundle install` will install everything in your bundle.
User4587_ has joined #ruby
govg has quit [Ping timeout: 240 seconds]
<aewffwea> theotherstupidgu: What's so particular about ruby object model? I'm looking for summarized information, not detailed information....
jdj_dk has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
govg has joined #ruby
poguez has quit [Quit: Connection closed for inactivity]
cleopatra has quit [Quit: Saliendo]
tvw has joined #ruby
<pontiki> ruby's most important concept: have fun writing code
<aewffwea> pontiki: what other important concepts are there?
User458764 has quit [Ping timeout: 250 seconds]
<aewffwea> pontiki: BTW: What's a nice debugger with a nice UI for linux?
<pontiki> learning: whether it turns out to be a problem directly with redmine or not, it seems like it would be better to ask people who use redmine a lot instead of people who don't
<pontiki> pry is the bestest
<aewffwea> does it has a gui?
jasooon has joined #ruby
<pontiki> no
<sevenseacat> GUIs for linux?
lkba has quit [Ping timeout: 256 seconds]
<pontiki> if you want a gui-ish thing, then rubymine is the best
<aewffwea> k
<aewffwea> can I use pry from rubymine?
<aewffwea> or does rubymine uses it's own debugger?
Morkel_ has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
<pontiki> it uses irb, i believe, but i heard somewhere that one can use pry, but i don't know how
Morkel has quit [Ping timeout: 260 seconds]
Morkel_ is now known as Morkel
<pontiki> as it's a gui, it hides all that from you anyway
jdj_dk has quit [Ping timeout: 272 seconds]
<pontiki> and you can run terminal sessions inside rubymine and run pry from there
<pontiki> i'm not sure what the advantage is to doing that vs just running in another xterm
<sevenseacat> ive heard IDEs are nice. i dont see the need for them with ruby and rails
reinaldob has joined #ruby
melik has quit [Quit: (null)]
robustus has quit [Ping timeout: 255 seconds]
jasooon has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cya]
mistermocha has quit [Remote host closed the connection]
<pontiki> i mainly jump into rubymine when i have a new-to-me code base that i have to spelunk and understand quickly
magic_ has quit [Quit: Leaving]
magic_ has joined #ruby
<pontiki> the rest of the time (most of the time) i'm just using Emacs or Sublime
<sevenseacat> rubymine still looks like ass on linux
ghr has joined #ruby
robustus has joined #ruby
<pontiki> it rather looks like ass everywhere
mistermocha has joined #ruby
<sevenseacat> ah, good to know
<pontiki> though you can change themes, i never bother
kohgpat has quit [Ping timeout: 265 seconds]
reinaldob has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
razieliyo has quit [Quit: Saliendo]
oleo has quit [Quit: Verlassend]
towski has joined #ruby
User4587_ has quit [Ping timeout: 240 seconds]
anaeem1_ has joined #ruby
havenwood has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 264 seconds]
linoespinoza has joined #ruby
govg has quit [Ping timeout: 265 seconds]
skolman_ has joined #ruby
mistermocha has quit [Ping timeout: 272 seconds]
govg has joined #ruby
linoespinoza has quit [Client Quit]
dumdedum has joined #ruby
Photism has quit [Quit: Leaving]
theotherstupidgu has quit [Ping timeout: 265 seconds]
theotherstupidgu has joined #ruby
starkhalo has quit [Ping timeout: 265 seconds]
Avahey has quit [Quit: Connection closed for inactivity]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
User4587_ has joined #ruby
patrick99e99 has joined #ruby
mercwithamouth has quit [Quit: Lost terminal]
User458764 has quit [Ping timeout: 244 seconds]
jcdesimp_ has quit [Quit: Leaving...]
Lewix has quit [Ping timeout: 265 seconds]
timonv_ has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
kohgpat has joined #ruby
echooo has joined #ruby
i_s has joined #ruby
davasaurous has quit [Remote host closed the connection]
cina has joined #ruby
echooo1 has quit [Ping timeout: 272 seconds]
nyanz has quit [Remote host closed the connection]
Joufflu has quit [Read error: Connection reset by peer]
tagrudev has joined #ruby
alem0lars|away is now known as alem0lars
User458764 has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
i_s has quit [Ping timeout: 244 seconds]
User4587_ has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
rbrs has joined #ruby
sinkensabe has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
User4587_ has joined #ruby
deepy has quit [Ping timeout: 258 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 has quit [Ping timeout: 245 seconds]
deepy has joined #ruby
mistermocha has joined #ruby
deepy is now known as Guest51033
thumpba has joined #ruby
fabrice31 has joined #ruby
timonv^ has joined #ruby
michaeldeol has joined #ruby
klaut has joined #ruby
apeiros has quit [Remote host closed the connection]
jusmyth has quit [Ping timeout: 255 seconds]
timonv_ has quit [Ping timeout: 256 seconds]
michaeldeol has quit [Client Quit]
timonv^ has quit [Remote host closed the connection]
jusmyth has joined #ruby
apeiros has joined #ruby
Neozonz has joined #ruby
<Neozonz> im having a bloody hell time trying to run a simple ruby script in a cron
<Neozonz> anyone have any ideas? get issues finding gems... works fine via normal bash
fr1eza has joined #ruby
fr1eza has joined #ruby
<sevenseacat> without any information about what you're trying to do??? we're not mindreaders
fabrice31 has quit [Ping timeout: 255 seconds]
anaeem1_ has quit [Read error: Connection reset by peer]
<Neozonz> Getting > /usr/lib/ruby/vendor_ruby/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- fog (LoadError)
anaeem1 has joined #ruby
<Neozonz> works fine on shell
kireevco has quit [Quit: Leaving.]
Lewix has joined #ruby
lolmaus has joined #ruby
anaeem1 has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
anaeem1 has joined #ruby
Lewix has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
<pentanol> what if thin server say:
<pentanol> ArgumentError (A secret is required to generate an integrity hash for cookie session data. Use config.secret_token = "some secret phrase of at least 30 characters"in config/initializers/secret_token.rb)
Lewix has quit [Read error: Connection reset by peer]
User458764 has joined #ruby
<pentanol> what kind of secret token it requires?
Lewix has joined #ruby
<sevenseacat> pentanol: a string.
echooo1 has joined #ruby
User4587_ has quit [Ping timeout: 255 seconds]
Lewix has quit [Remote host closed the connection]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<pentanol> I don't use it in redmine
echooo has quit [Ping timeout: 264 seconds]
jusmyth has quit [Ping timeout: 245 seconds]
<pentanol> #secret_token:
<sevenseacat> you don't, but rails does.
bal has joined #ruby
jusmyth has joined #ruby
jasooon has joined #ruby
diegoviola has quit [Remote host closed the connection]
<tmoore> Neozonz: stab in the dark is that you are running it as a different user with cron vs. testing in the shell
sinequanon has quit []
<pentanol> what kind of token I should make there? and where it take?
<sevenseacat> pentanol: a string.
<sevenseacat> of at least 30 characters long.
<tmoore> Neozonz: or else you are running it with a different shell configuration (like initializing rvm only in interactive shells)
<sevenseacat> in the file it tells you to.
SouL has joined #ruby
skolman_ has quit [Remote host closed the connection]
skolman has joined #ruby
anarang has joined #ruby
jasooon has quit [Ping timeout: 240 seconds]
<Neozonz> tmoore, how can i run the cron as a specific user?
koderok has joined #ruby
lxsameer has joined #ruby
sinkensabe has joined #ruby
ghr has joined #ruby
lkba has joined #ruby
User4587_ has joined #ruby
<pontiki> Neozonz: have you looked at the whenever gem?
<Neozonz> nah
<Neozonz> just wanted a quick solution...
skolman has quit [Ping timeout: 265 seconds]
User458764 has quit [Ping timeout: 245 seconds]
vyorkin has joined #ruby
kamilc__ has joined #ruby
henesy has quit [Remote host closed the connection]
codecop has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
jusmyth has quit [Ping timeout: 272 seconds]
<tmoore> Neozonz: depends on your OS... check the docs
jusmyth has joined #ruby
dkb20k has quit [Ping timeout: 244 seconds]
<Neozonz> ubuntu
<Neozonz> but i've tried exporting ruby path, and rubylibs
aganov has joined #ruby
ta has quit [Read error: Connection reset by peer]
vyorkin has quit [Ping timeout: 256 seconds]
bigkevmcd has joined #ruby
<pentanol> cannot load such file -- rack/builder (LoadError)
<pentanol> what I should install?
<pentanol> rack not found in apt packages
<sevenseacat> pentanol: hire a sysadmin.
<pentanol> Im not longer with ruby
<sevenseacat> precisely.
<pentanol> gem install rack didn't solve this
nfk has joined #ruby
charliesome has quit [Quit: zzz]
Tricon has quit [Ping timeout: 240 seconds]
maestrojed has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby
graydot has quit [Quit: graydot]
Tricon has joined #ruby
blz37 has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
maestrojed has joined #ruby
michael_mbp has joined #ruby
omosoj has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
lmickh has quit [Ping timeout: 240 seconds]
lmickh has joined #ruby
WormDr1nk has joined #ruby
thumpba has quit [Remote host closed the connection]
andrewlio has joined #ruby
charliesome has quit [Quit: zzz]
thumpba has joined #ruby
fabrice31 has joined #ruby
TPBallbag has joined #ruby
ayaz has joined #ruby
ayaz has quit [Max SendQ exceeded]
thumpba_ has joined #ruby
thumpba has quit [Read error: Connection reset by peer]
ayaz has joined #ruby
thumpba_ has quit [Remote host closed the connection]
<Neozonz> wow
Xeago has joined #ruby
pentanol has quit [Quit: leaving]
<Neozonz> i cant run ruby insicde a cron for the life of me
thumpba has joined #ruby
cina has quit [Quit: leaving]
govg has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
mwlang has joined #ruby
govg has joined #ruby
learning has quit [Ping timeout: 246 seconds]
<mwlang> If two Arrays can be added together… [1,2] + [3, 4] => [1,2,3,4], why can’t two hashes be added? {one: 1, two: 2} + {three: 3, four: 4} => {one: 1, two: 2, three: 3, four: 4} ? Instead, we have to do: {one: 1, two: 2}.merge({three: 3, four: 4})
fr1eza has quit []
thumpba has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 264 seconds]
rbrs has quit [Quit: Leaving]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
jusmyth has left #ruby [#ruby]
Xeago_ has joined #ruby
xcesariox has joined #ruby
Guest51033 has quit [Changing host]
Guest51033 has joined #ruby
Guest51033 is now known as deepy
mikepack has joined #ruby
<pipework> mwlang: hashmath is hard
AlexRussia has quit [Ping timeout: 244 seconds]
<mwlang> how so?
Xeago has quit [Ping timeout: 265 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
<mwlang> basically, just seems like “+” would be an alias to merge
mikepack has quit [Ping timeout: 265 seconds]
qba73 has joined #ruby
TPBallbag has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
<aewffwea> mwlang: The better question is why can you add arrays
doev has joined #ruby
terlar has quit [Quit: WeeChat 1.0.1]
ta has joined #ruby
marr has joined #ruby
apeiros has joined #ruby
kaspergrubbe has quit [Ping timeout: 264 seconds]
<pipework> aewffwea, mwlang: The best question is, why can you tune a piano, but you can't tuna fish?
<mwlang> pipework, aewffwea and the best answer is 42!
jasooon has joined #ruby
SouL has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
terlar has joined #ruby
TomyWork has joined #ruby
Insanity_ has joined #ruby
shredding has joined #ruby
Insanity_ has quit [Client Quit]
<aewffwea> pipework: Because it's difficult to hear sounds underwater... specially given that a fish doesn't has strings....
JohnBat26 has joined #ruby
jasooon has quit [Ping timeout: 240 seconds]
Insanity133 has joined #ruby
arup_r has joined #ruby
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
ghr has joined #ruby
einarj has joined #ruby
Hightower666 has joined #ruby
timonv_ has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 258 seconds]
RitterJack has joined #ruby
Juanchito has joined #ruby
mwlang has quit [Quit: mwlang]
Hightower666 has quit [Ping timeout: 240 seconds]
jgt has joined #ruby
i_s has joined #ruby
AlexRussia has joined #ruby
mrjensen has quit [Read error: Connection reset by peer]
mrjensen has joined #ruby
mistermocha has quit [Remote host closed the connection]
ki0 has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
livathinos has joined #ruby
BadQuanta has joined #ruby
i_s has quit [Ping timeout: 250 seconds]
mrjensen has quit [Remote host closed the connection]
tobago has joined #ruby
speakingcode has joined #ruby
kamilc__ has quit [Quit: Leaving...]
govg has quit [Quit: leaving]
danjordan has joined #ruby
maloik has joined #ruby
timonv_ has joined #ruby
AFKGeek has joined #ruby
kohgpat has quit [Ping timeout: 260 seconds]
rylev has joined #ruby
francisfish has joined #ruby
alex88 has joined #ruby
chthon has joined #ruby
mkaesz has joined #ruby
blackmesa has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
mrjensen has joined #ruby
kohgpat has joined #ruby
fred-inRio has joined #ruby
jottr has joined #ruby
mkaesz has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
mrjensen has quit [Remote host closed the connection]
<arup_r> Anyone use AWS::SQS ?
jack_rabbit has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
<arup_r> How should I check is a queue exist or not ?
noop has joined #ruby
sevenseacat has quit [Remote host closed the connection]
<shevy> aewffwea now man, if you were a fish, you could hear just fine underwater
mkaesz has joined #ruby
jenrzzz has joined #ruby
Wolland has joined #ruby
gr33n7007h has quit [Ping timeout: 260 seconds]
AlexRussia has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
valeriansaliou has joined #ruby
qba73 has quit []
Macaveli has quit [Client Quit]
ghr has joined #ruby
vyorkin has joined #ruby
Wolland has quit [Ping timeout: 245 seconds]
<arup_r> I have fixed it
roolo has joined #ruby
thsig has joined #ruby
<shevy> you are the man
<shevy> the karma man
valeriansaliou has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
thumpba has joined #ruby
joonty has joined #ruby
kaspergrubbe has joined #ruby
kaspergrubbe has quit [Read error: No route to host]
kaspergrubbe has joined #ruby
jasooon has joined #ruby
elaptics`away is now known as elaptics
theotherstupidgu has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
theotherstupidgu has joined #ruby
v0n has quit [Quit: WeeChat 1.0.1]
<arup_r> shevy: Are you appreciating ? :-)
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 244 seconds]
rbrs has joined #ruby
jasooon has quit [Ping timeout: 240 seconds]
tesuji has joined #ruby
Takle has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 260 seconds]
bMalum has joined #ruby
ptrrr has joined #ruby
jgrevich has quit [Quit: jgrevich]
Hanmac has quit [Ping timeout: 265 seconds]
kohgpat has quit [Quit: Lost terminal]
Soda has joined #ruby
Vile` has quit [Remote host closed the connection]
Takle has joined #ruby
mrjensen has joined #ruby
echooo has joined #ruby
mrjensen has quit [Read error: Connection reset by peer]
mrjensen has joined #ruby
parduse has quit [Killed (morgan.freenode.net (Nickname regained by services))]
mrjensen_ has joined #ruby
Vile` has joined #ruby
kyb3r_ has quit [Ping timeout: 265 seconds]
parduse has joined #ruby
echooo1 has quit [Ping timeout: 265 seconds]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TPBallbag has joined #ruby
Takle has quit [Remote host closed the connection]
hamakn_ has joined #ruby
oo_ has quit [Remote host closed the connection]
Vile` has quit [Remote host closed the connection]
timonv_ has quit [Read error: Connection reset by peer]
mrjensen has quit [Ping timeout: 272 seconds]
hamakn has quit [Ping timeout: 258 seconds]
Vile` has joined #ruby
Hanmac has joined #ruby
<theotherstupidgu> how did Jim make the desc and task association in Rake?
max96at|off is now known as max96at
<theotherstupidgu> ... rake knows that this desc belongs to this task
<canton7> so desc and task are both methods, which are executed when the rakefile is run.
<canton7> when 'desc' is executed, it could store its string to a "next desc" instance var
<canton7> when "task" is executed, it could look in the "next desc" instance var for its desc, if it's set
Takle has joined #ruby
chthon has quit [Remote host closed the connection]
<theotherstupidgu> canton7, thnx cheers
sinkensabe has joined #ruby
Fire-Dragon-DoL has joined #ruby
<jimeh> also task would obviously need to clear out "next desc", or all task calls would get the same desc if only the first task has a desc...
govg has joined #ruby
olivier_bK has joined #ruby
chthon has joined #ruby
TPBallbag has quit [Ping timeout: 244 seconds]
<canton7> yup of course
bauruine has quit [Quit: ZNC - http://znc.in]
ephemerian has joined #ruby
terlar has quit [Quit: WeeChat 1.0.1]
Scotteh_ has quit [Ping timeout: 244 seconds]
terlar has joined #ruby
echooo1 has joined #ruby
echooo has quit [Ping timeout: 245 seconds]
rodfersou has joined #ruby
chrishough has joined #ruby
Hobogrammer has quit [Ping timeout: 256 seconds]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
siwica has joined #ruby
bauruine has joined #ruby
zorak8 has joined #ruby
spastorino has joined #ruby
agjacome has joined #ruby
Insanity133 has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
alem0lars is now known as alem0lars|away
Imofftopic has joined #ruby
DrCode_ has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 264 seconds]
timonv_ has joined #ruby
mnms__ has quit [Ping timeout: 265 seconds]
ptrrr has quit [Quit: ptrrr]
Takle has joined #ruby
tokik has quit [Ping timeout: 272 seconds]
Spami has quit [Quit: This computer has gone to sleep]
akar has joined #ruby
<akar> .join #RubyOnRails
<akar> .join #RubyOnRails
spider-mario has joined #ruby
<akar> sorry typos
DrCode has joined #ruby
aboudreault has quit [Excess Flood]
TPBallbag has joined #ruby
spider-mario has quit [Remote host closed the connection]
spider-mario has joined #ruby
Dr3amc0d3r|away has quit [Ping timeout: 240 seconds]
mnms_ has joined #ruby
cibs has quit [Ping timeout: 272 seconds]
vyorkin has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
TPBallbag has quit [Remote host closed the connection]
TPBallbag has joined #ruby
cibs has joined #ruby
SolarSailor has joined #ruby
jasooon has joined #ruby
aboudreault has joined #ruby
AlSquire has joined #ruby
i_s has joined #ruby
Dr3amc0d3r|away has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
SolarSailor has quit [Ping timeout: 260 seconds]
Hijiri has joined #ruby
jasooon has quit [Ping timeout: 255 seconds]
Macaveli has joined #ruby
SolarSailor has joined #ruby
sevenseacat has joined #ruby
yfeldblum has quit [Remote host closed the connection]
i_s has quit [Ping timeout: 240 seconds]
Trynemjoel has joined #ruby
<shevy> lol
akar has left #ruby [#ruby]
Spami has joined #ruby
ringarin has joined #ruby
gaussblurinc1 has joined #ruby
muhammadn_ is now known as muhammadn
TPBallbag has quit [Ping timeout: 245 seconds]
ghr has quit [Read error: Connection reset by peer]
arup_r_ has joined #ruby
ghr has joined #ruby
Luser has joined #ruby
tlarevo has quit [Ping timeout: 250 seconds]
tlarevo has joined #ruby
Imofftopic has quit [Quit: Leaving]
jheg has joined #ruby
<Luser> Hi guys. Assuming I have something like that: https://gist.github.com/anonymous/587c7a16d30e8c6710e0 (@xls_path is a path to xls file, obviously) how could i save that CSV using exact same name as xls file, but with CSV extension? It saves in the same directory now, but i need to figure out filename part now.
arup_r has quit [Ping timeout: 265 seconds]
patrick99e99 has joined #ruby
Xeago has joined #ruby
arup_r has joined #ruby
rylev has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
arup_r_ has quit [Ping timeout: 244 seconds]
Xeago_ has quit [Ping timeout: 264 seconds]
gr33n7007h has joined #ruby
gr33n7007h has joined #ruby
Xeago_ has joined #ruby
ptrrr has joined #ruby
patrick99e99 has quit [Ping timeout: 265 seconds]
eka has joined #ruby
goodguest has joined #ruby
goodguest has left #ruby [#ruby]
<zenspider> Luser: new_path = path.sub(/\.xls$/, ".csv")
<zenspider> `ri String` is your friend™
Xeago has quit [Ping timeout: 255 seconds]
skit has joined #ruby
pentanol has joined #ruby
<pentanol> how can I install many new packages, not one by one?
arup_r has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
b1nd has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby
<shevy> pentanol can you be more specific
<shevy> what do you mean with "packages". gems?
<zenspider> pentanol: gem install a b c d works fine
<pentanol> yes gems
charliesome has joined #ruby
<Luser> zenspider: thank you, but I don't want to create another variable, just use it straight in CSV.open
<Luser> Is that even possible?
jottr has quit [Ping timeout: 260 seconds]
decoponio has joined #ruby
<zenspider> Luser: just use a variable.
nateberkopec has joined #ruby
<shevy> pentanol k well, you could use bundler to manage gems; or you could install them one after the other. if you are on linux, a simple .sh script works. or if you have ruby (haha logically), you can do the same... array_with_all_your_gems_here.each {|entry| system 'gem install '+entry }
koderok has quit [Quit: koderok]
<shevy> pentanol bundler is here btw https://rubygems.org/gems/bundle
<shevy> pentanol why do you have an organic nickname?
<shevy> ack
<shevy> wrong link
<shevy> grabbed the first result without looking ... https://rubygems.org/gems/bundler
<pentanol> no
<pentanol> rake generate_secret_token
<pentanol> Could not find coderay-1.1.0 in any of the sources
<pentanol> for instance I run generate_secret_token and it say, so something need to install
sk87 has joined #ruby
<pentanol> after I installed this gem, It say install next gem... and so on
<zenspider> "it say"?
<zenspider> what it?
<sevenseacat> just bundle
<sevenseacat> it will get them all
rylev has joined #ruby
ramfjord has joined #ruby
<pentanol> bundle install ?
<sevenseacat> yes.
<pentanol> it stopped on Could not find thor-0.18.1.20140116 in any of the sources
<pentanol> I installed thor-0.18.1 just...
<shevy> pentanol well, normally gem handles this if you do "gem install name"; but you use rake rather than gem
<pentanol> but it wants thor-0.18.1.20140116
<shevy> lol
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
<zenspider> more "it"
<zenspider> must be a scary program... it makes all these demands.
<shevy> hehe
<zenspider> better give it some fresh meat or it might get mad
<pentanol> rake generate_secret_token
<pentanol> Could not find thor-0.18.1.20140116 in any of the sources
<pentanol> rake say also...
<shevy> pentanol you can install specific versions via gem
<pentanol> how make installation of this gem?
<shevy> something like
<shevy> gem install bourbon -v 3.2.x
<pentanol> no, I don't know how
<shevy> gem install thor -v 0.18.1.20140116
<zenspider> I'm done. stupid descriptions. no answers to questions.
<shevy> or so
<rpag> 'bundle install' followed by '[bundle exec] rake generate_secret_token'
djbkd has joined #ruby
<rpag> shevy, gem install may not do it if its a bundler project
<pentanol> ERROR: Could not find a valid gem 'thor' (= 0.18.x) in any repository
<pentanol> no like that I can;t install whatever..
ramfjord has quit [Ping timeout: 255 seconds]
<pentanol> gem install thor -v 0.18.x
<rpag> .x isn't a number
<pentanol> oh
<theotherstupidgu> is there a rake irc channel?
<rpag> nope, but #ruby should do :-)
narcan has joined #ruby
<zenspider> shevy: you gave bad answers and they were taken literally. shame on you.
<pentanol> no anyway it wants thor-0.18.1.20140116
<rpag> there's no kinda version like that
<rpag> your Gemfile or something sounds messed up
<shevy> well I don't use bundler so
<pentanol> such version not available
<zenspider> shevy: you're the other one! :D
anaeem___ has joined #ruby
<shevy> pentanol somewhere that version must exist
anaeem___ has quit [Remote host closed the connection]
<zenspider> shevy: maybe in a private repository?
<shevy> hmmm
anaeem1_ has joined #ruby
<zenspider> or a fork
anaeem1 has quit [Read error: Connection reset by peer]
<zenspider> tho that's rude form
<zenspider> should be prefixed by the forker
<shevy> hehe
<zenspider> zenspider-thor
<shevy> I know that Hanmac solved it by making use of the --pre option of his gem for wxwidgets
niklasb_ is now known as niklasb
<zenspider> pre versions have letters in the version
<zenspider> 1.2.3.b.4
<zenspider> if it is all numbers and dots, not a pre
mikepack has joined #ruby
thsig has quit [Remote host closed the connection]
skit has quit [Ping timeout: 258 seconds]
<zenspider> and just because a requirement SAYS it wants a version, that version isn't checked to exist when the gem is created
<zenspider> dependency "minitest", "10.0.0"
ruber has joined #ruby
<shevy> well that shows that minitest is saner than thor°
<zenspider> hah
<shevy> that should have been a ! rather than a ° ...
arup_r has joined #ruby
reinaldob has joined #ruby
<pentanol> how update listing of available gems?
<zenspider> going to bed...
<rpag> pentanol, 'Could not find thor-0.18.1.20140116 in any of the sources' is coming from bundler, and the version doesn't even exist
<rpag> zenspider, night
<rpag> pentanol, can you paste the Gemfile?
rylev has quit [Remote host closed the connection]
<pentanol> Gemfile from where?
<rpag> the same directory you're running that command from
mikepack has quit [Ping timeout: 264 seconds]
<pentanol> I run gem update... it still goes
<rpag> i think youre just trolling now ;/
_djbkd has joined #ruby
doev has quit [Read error: Connection timed out]
mrjensen_ has quit [Remote host closed the connection]
doev has joined #ruby
arup_r_ has joined #ruby
ptrrr has quit [Quit: ptrrr]
ldnunes has joined #ruby
<pentanol> here Gemfile http://pastebin.ca/2865547
Takle has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 256 seconds]
<pentanol> gem uptade crushed on json
<mrgrieves> Hi, I'm having trouble with the variable scope in this code http://pastebin.com/iFvXGz34
<mrgrieves> what I want is to return the value of the rc in the block ...
<pentanol> rpag
<mrgrieves> but can't figure out how to do this
<rpag> mrgrieves, you return 'rc' from the method
<rpag> do you want to yield it to the block?
blackmesa has quit [Quit: WeeChat 1.0.1]
<pentanol> ./Gemfile.lock: thor (0.18.1.20140116)
<pentanol> here I found it
arup_r has quit [Ping timeout: 265 seconds]
<rpag> pentanol, can you paste Gemfile.lock ?
<mrgrieves> rpag: the code is a script and I want the script to return the value of rc ...
<workmad3> mrgrieves: blocks capture the local variable scope of where they're created, not of where they're yielded from
<rpag> mrgrieves, you'd do that with 'exit'
<mrgrieves> workmad3: I'm a bit confused obviously
anaeem1 has joined #ruby
bal1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<mrgrieves> rpag: where do I exit?
anaeem1_ has quit [Read error: Connection reset by peer]
anaeem1_ has joined #ruby
b1nd has joined #ruby
mkaesz has quit [Ping timeout: 265 seconds]
<rpag> mrgrieves, when the '3.times' loop finishes, probably after that, but you'd need to define 'rc' outside the block, then say exit(rc)
bal has quit [Ping timeout: 272 seconds]
<workmad3> mrgrieves: or at least return 'rc' from the block
siwica1 has joined #ruby
jgt has quit [Ping timeout: 244 seconds]
<mrgrieves> thank you guys! I'll give both a try
<rpag> pentanol, that version of thor isnt listed in the Gemfile
<workmad3> mrgrieves: the 'rc' inside the block is a completely different local variable though... assigning to it will do diddly-squat ;)
siwica has quit [Ping timeout: 272 seconds]
jasooon has joined #ruby
<rpag> pentanol, so, really, i have no idea what you're doing and im going to give up trying to help :P
<workmad3> mrgrieves: also, as a note on style - given the amount of code in your block to mco_retry, I'd highly recommend splitting the code over multiple lines
<rpag> agreed, it's slightly hard to read the 3.times {} line
<pentanol> here, crashed on rmagick: http://pastebin.ca/2865550
nateberkopec has quit [Quit: Leaving...]
fsapo has joined #ruby
bal1 has quit [Ping timeout: 272 seconds]
<workmad3> pentanol: it can't find the Magick-config binary that is used to configure the native extensions, which typically means you haven't installed the development libraries and headers for imagemagick
timonv_ has quit [Remote host closed the connection]
<rpag> i think you're gonna regret trying to solve his/her problem like i did
<workmad3> rpag: probably :)
jasooon has quit [Ping timeout: 265 seconds]
sinkensabe has quit [Remote host closed the connection]
bal has joined #ruby
AlexRussia has joined #ruby
Kabaka has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
bal has quit [Client Quit]
bal has joined #ruby
Takle has joined #ruby
Sthebig has quit [Ping timeout: 250 seconds]
<alex88> a friend using osx 10.8.2 compiling with llvm 4.2 clang 425.0.28 have troubles compiling ruby via ruby-build starting from version 2.1.3, he just tried on version 2.1.4 and he got the same problem, compilation is stuck on line 'generating encdb.h', someone else had this issue?
mrjensen has joined #ruby
<pentanol> workmad3 imagemagick not have include in source
<rpag> alex88, i haven't, but you're the second person who mentioned a stalled install on OSX
lkba has joined #ruby
red_horned_rihno has joined #ruby
<workmad3> pentanol: sorry... english please
Sthebig has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
<pentanol> I found libmagick-dev may be that one
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
niklasb has quit [Quit: WeeChat 1.0.1]
niklasb_ has joined #ruby
bluenemo has joined #ruby
mityaz has quit [Quit: Leaving]
roolo has quit [Remote host closed the connection]
jimbach has joined #ruby
Kabaka has joined #ruby
<rpag> alex88, worth a shot
<rpag> alex88, i havent used OSX in a long-ish time but clang has caused me issues in the past when building ruby
<rpag> including building fine and then segfaulting randomly :/
<alex88> never had such issues, maybe since he's using an old version of th eos
<alex88> *the os
<rpag> could be
<rpag> hsbt mentioned an old xcode build
fabrice31 has joined #ruby
tyll_ is now known as tyll
red_horned_rihno has quit [Quit: Leaving]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
niklasb_ has quit [Quit: WeeChat 1.0.1]
niklasb_ has joined #ruby
niklasb_ has quit [Client Quit]
niklasb_ has joined #ruby
<banisterfiend> alex88 Gr8 b8, m8. I rel8, str8 appreci8, and congratul8. I r8 this b8 an 8/8. Plz no h8, I'm str8 ir8. Cre8 more, can't w8. We should convers8, I won't ber8, my number is 8888888, ask for N8. No calls l8 or out of st8. If on a d8, ask K8 to loc8. Even with a full pl8, I always have time to communic8 so don't hesit8.
Takle has quit [Remote host closed the connection]
<rpag> lol
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
niklasb_ has quit [Client Quit]
mrjensen has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Lewix has joined #ruby
<rpag> fascination with the number 8
niklasb_ has joined #ruby
zzz_Ridley is now known as Ridley5
niklasb_ has quit [Client Quit]
red_horned_rihno has joined #ruby
echooo has joined #ruby
<pentanol> now I have a question...
<pentanol> Gem::LoadError: You have already activated rake 10.3.2, but your Gemfile requires rake 10.1.1. Prepending `bundle exec` to your command may solve this.
<workmad3> banisterfiend: fail... your number only had 7 8s
<shevy> oh noes
arup_r_ has quit [Remote host closed the connection]
<pentanol> how switch the rakes?
<banisterfiend> darn this guy is a bad actor http://www.youtube.com/watch?v=RWcrM5SRCQw
<rpag> pentanol, it tells you in the error
<rpag> 'bundle exec rake ...'
<banisterfiend> workmad3 heh
Takle has joined #ruby
dkb20k has joined #ruby
<rpag> banisterfiend, that movie is terrible, that's probably the best scene
Lewix has quit [Remote host closed the connection]
ARCADIVS has quit [Quit: ARCADIVS]
<alex88> rpag: yeah could be that too
timonv_ has joined #ruby
Lewix has joined #ruby
mrjensen has joined #ruby
<alex88> guys, it's just my birth date
<alex88> *year
echooo1 has quit [Ping timeout: 256 seconds]
lessless has joined #ruby
vyorkin has joined #ruby
vyorkin has quit [Client Quit]
<pentanol> rpag yes that works , but how really switch to the newer, I want also run thin, run int inside the bundle... hm
<Luser> Ok one more question and i am done :P is it possible to convert such hash nested in array to just nested arrays? https://gist.github.com/anonymous/e6922e1a684621e14d09
<lessless> hi folks! are there any gems that implements enum functionality of of Rails::AR?
<sevenseacat> yeah, AR :)
* banisterfiend rpag ther'es a new movie about jobs coming out soon, with christian bale as steve jobs http://uk.eonline.com/news/591191/christian-bale-to-play-steve-jobs-in-new-biopic-aaron-sorkin-confirms-calling-role-extremely-difficult
<banisterfiend> wtf
Lewix has quit [Ping timeout: 256 seconds]
<rpag> Luser, maybe .map(&:to_a)
Gabri has joined #ruby
<rpag> banisterfiend, cool, wozniak said that 'jobs' movie was really inaccurate too
<pentanol> hm, but thin is not working from bundle exec....: config.ru:1:in `<main>': cannot load such file -- rack/builder (LoadError)
<tobiasvl> it was inaccurate in everything except ashton kutcher's looks
<rpag> maybe thats why there's a second movie :P
<Luser> rpag: Close, actually. It gets converted to an array but this part „info"=>{"name"=>”test name", "www"=>nil} is still hash because it is nested inside
koderok has joined #ruby
<pentanol> what from I should install rack/builder? I installed many gems from gem install a couple minutes ago.
<sevenseacat> lol
<sevenseacat> i cant believe this has gone on literally all day
<pentanol> yes looks like
<pentanol> all day today I'm in struggle with ruby
<pentanol> and may be next
xymbol has joined #ruby
sinkensabe has joined #ruby
bMalum has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
Jackneill has joined #ruby
Gabri has quit []
doev has quit [Ping timeout: 256 seconds]
<Luser> rpag: thats how it looks after .map(&:to_a) https://gist.github.com/anonymous/67f3587cea0f84075814 have you got an idea how to convert this nested hash under info into another array? :F
<rpag> Luser, you probably have to iterate over the hash and call to_a if a value is a hash too
arup_r has joined #ruby
Tricon has quit [Read error: Connection reset by peer]
Tricon_ has joined #ruby
koderok has quit [Read error: Connection reset by peer]
krz has quit [Quit: WeeChat 1.0.1]
Macaveli has joined #ruby
<shevy> pentanol you are not struggling with ruby - you are struggling with bundler
mikepack has joined #ruby
zorak8 has quit [Ping timeout: 255 seconds]
koderok has joined #ruby
lolmaus has quit [Remote host closed the connection]
thsig has joined #ruby
lolmaus has joined #ruby
dmtry has joined #ruby
i_s has joined #ruby
mikepack has quit [Ping timeout: 258 seconds]
xjiujiu has joined #ruby
asdao937 has joined #ruby
<rpag> Luser, something like this might work: http://pastie.org/private/r2ybvsndzigodcihudubzw
kamilc__ has joined #ruby
ahmadajmi has joined #ruby
i_s has quit [Ping timeout: 258 seconds]
_djbkd has quit [Remote host closed the connection]
<Luser> Thanks rpag
tobago has quit [Remote host closed the connection]
dmtry has quit [Quit: WeeChat 1.0.1]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<soahccc> rpag: In case you remember and care, I found a solution (at least for *nix) to my ^C vs. INT-signal problem. Open3 (or rather Process) has an pgroup option to start the process in a new process group.
<rpag> i remember, & nice :)
jasooon has joined #ruby
jimbach has quit [Remote host closed the connection]
disperso has joined #ruby
qba73 has joined #ruby
psyprus has quit [Ping timeout: 258 seconds]
tkuchiki has quit [Ping timeout: 256 seconds]
asdao937 has quit [Quit: Page closed]
psyprus has joined #ruby
postmodern has quit [Quit: Leaving]
niko has left #ruby [#ruby]
<soahccc> rpag: you don't know the windows equivalent by any chance?
<rpag> nope, sorry
jasooon has quit [Ping timeout: 240 seconds]
<rpag> i dont even know if windows has anything like sigint :P
Macaveli has quit [Read error: Connection reset by peer]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
relix has joined #ruby
bMalum has quit [Quit: bMalum]
<soahccc> rpag: well INT and TERM does work, TSTP, USR1, USR2 and probably all others don't
ruber has quit [Quit: My damn controlling terminal disappeared!]
Hightower666 has joined #ruby
psyprus has quit [Ping timeout: 258 seconds]
doev has joined #ruby
roolo has joined #ruby
bMalum has joined #ruby
<rpag> is that just in cygwin or generally though?
<soahccc> whatever ruby-installer is
danjordan has quit [Quit: danjordan]
yeticry has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
danjordan has joined #ruby
benzrf|offline is now known as benzrf
<soahccc> rpag: ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
Lewix has quit [Remote host closed the connection]
yeticry has joined #ruby
<rpag> cool
Lewix has joined #ruby
<soahccc> The best thing is my symlink hack for windows
mrjensen has quit [Remote host closed the connection]
<rpag> when i write ruby or any kind of code i usually forget windows exists ;-/
workmad3 has quit [Quit: Lost terminal]
<rpag> ironruby looked cool for a while but seems totally dead
gaussblurinc1 has quit [Quit: Leaving.]
patteh has joined #ruby
<soahccc> yeah I usually do as well (just because it sucks in so many ways) but in this case I was pushed towards windows compatibility
<rpag> if i ever did do windows dev id probably use F# because it looks so cool
<soahccc> I mean symlinks work since vista yet you need elevated privileges and the CLI tool (which is good for me, bad for the desktop users)
Macaveli has joined #ruby
<rpag> why do you need a CLI tool?
{xenomorph} is now known as xenomorph
<rpag> or even elevated privileges
Lewix has quit [Ping timeout: 272 seconds]
<rpag> how did you work around that?
<soahccc> but mklink requires elevated privileges >.>
<rpag> ah
pentanol has left #ruby [#ruby]
psyprus has joined #ruby
<rpag> i wonder what function 'mklink' uses under the hood
jespada has joined #ruby
xymbol has quit [Quit: Be back later ...]
<deepy> beautiful
<soahccc> rpag: well symlinks are natively supported by NTFS but I don't know the win api call
Takle has quit [Remote host closed the connection]
<deepy> Probably the same as mklink
v0n has joined #ruby
<crome> google: winapi symlink
<deepy> It's CreateSymbolicLink
danjordan has quit [Quit: danjordan]
<soahccc> rpag: You could actually cry when reading this "Symbolic links are designed to aid in migration and application compatibility with POSIX operating systems. Microsoft aimed for Vista's symbolic links to "function just like UNIX links".[4] However, the implementation varies from Unix symbolic links in several ways. For example, Vista users must manually indicate when creating a symbolic link whether it is a file or a directory.[5] Vista has a limit of 31
<soahccc> symbolic links in a single path.[6] Only users with the new Create Symbolic Link privilege, which only administrators have by default, can create symbolic links.[7] If this is not the desired behavior, it must be changed in the Local Security Policy management console."
<deepy> Is the limit in 7+ too?
<rpag> i dont get why only administrators can create them by default
<soahccc> I guess so, at least wiki doesn't have any updates
<rpag> they dont seem like a security concern if youre just creating them in dirs you have permission to
danjordan has joined #ruby
<soahccc> but the fun doesn't stop there... My installer for windows tried to update PATH via setx... Guess what, the command silently truncates and therefore screws your PATH at 1024 chars
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jxf has joined #ruby
<rpag> ouch
xymbol has joined #ruby
triple_b has joined #ruby
<deepy> Out of wild curiosity, do you use MySQL as your db?
<rpag> usually use postgres
<rpag> or just sqlite
<deepy> Sorry, meant that towards soahccc
<rpag> ah
<rpag> np
<deepy> Aren't there any better alternatives to sqlite btw?
<soahccc> deepy: MCL? I only tested it against sqlite but it's active record and I don't have any raw SQL so should work
govg has quit [Quit: leaving]
shredding has quit [Quit: shredding]
govg has joined #ruby
<deepy> soahccc: is your own db mysql?
charliesome has quit [Quit: zzz]
<soahccc> deepy: what do you mean?
toordog has quit [Ping timeout: 250 seconds]
muhammadn has quit [Ping timeout: 245 seconds]
rbrs has quit [Quit: Leaving]
<deepy> When you deploy an application requiring a database, do you hook it up to a mysql db?
razieliyo has joined #ruby
razieliyo has joined #ruby
<rpag> oh for a website i wouldnt use sqlite, id use postgres or something like that
gaganjyot has joined #ruby
gtrak has joined #ruby
<soahccc> deepy: depends.. when riding rails => 99% of the time, in case of MCL access is synchronized through a single mutex so mysql wouldn't bring you much of a performance gain unless you have loads of data
<rpag> sqlite is just handy because it doesn't require as much setup as anything else
<deepy> This punchline would've been a lot better if you'd simply said "yes"
<deepy> "Then you should be used to silent truncation by now ;-)"
charliesome has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
BadQuanta has quit [Remote host closed the connection]
[[vedic]] has joined #ruby
mikecmpb_ has joined #ruby
danjordan has quit [Quit: danjordan]
anaeem1_ has quit [Remote host closed the connection]
<txdv> as musch as anything else
Ridley5 is now known as zzz_Ridley
mikecmpbll has quit [Ping timeout: 240 seconds]
tier has joined #ruby
Hightower666 has quit [Ping timeout: 272 seconds]
alex88 has quit [Ping timeout: 265 seconds]
hmsimha has quit [Ping timeout: 245 seconds]
gtrak has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
parduse has quit [Read error: Connection reset by peer]
danjordan has joined #ruby
ndrei___ has joined #ruby
siwica1 has quit [Ping timeout: 245 seconds]
dblessing has joined #ruby
parduse has joined #ruby
ndrei__ has quit [Read error: Connection reset by peer]
<soahccc> Alright windows doesn't care about the pgroup... I' loving it
arup_r has quit [Remote host closed the connection]
ndrei_ has quit [Read error: Connection reset by peer]
ndrei has quit [Read error: Connection reset by peer]
phutchins has joined #ruby
dkphenom has joined #ruby
mikepack has quit [Ping timeout: 265 seconds]
tlarevo has quit [Ping timeout: 255 seconds]
tlarevo has joined #ruby
livingstn has joined #ruby
BadQuanta has joined #ruby
loveablelobster has joined #ruby
taptapdan has quit [Quit: taptapdan]
tesuji has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
timonv_ has quit [Remote host closed the connection]
loveablelobster has quit [Client Quit]
loveablelobster has joined #ruby
loveablelobster has quit [Client Quit]
sailias has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
<shevy> why do you use windows man
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sanguisdex> shevy++
jlebrech has joined #ruby
<soahccc> I don't but I need to support windows. well I don't need to but everyone is asking for it
hellangel7 has quit [Remote host closed the connection]
jerius has quit []
jimbach has joined #ruby
sk87 has joined #ruby
doodlehaus has joined #ruby
theotherstupidgu has quit [Ping timeout: 256 seconds]
shredding has joined #ruby
<jlebrech> is there anything like this? a dashboard which shows lines you want debugging. so it's like a scratchpad, and instead of using stdout or raise, it writes the class name and line number and values you're debugging to a redis queue and the dashboard shows that info. bit like sidekiq meets pry really. does airbrake do inspection or it is just for exceptions?
gaussblurinc1 has joined #ruby
<rpag> just exceptions
<rpag> mainly just the backtrace
<shevy> AND GOTO STATEMENTS
shazaum has joined #ruby
snath has quit [Ping timeout: 245 seconds]
rylev has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Takle has joined #ruby
<rpag> i dont think theres anything like that btw
<jlebrech> cool
<Luser> if i have two variables and i have to compare if they are present and also if they are different is there any ruby-way to do it or should i do it like if var_a && var_b && var_a != var_b ?
jasooon has joined #ruby
<shevy> rpag I thought you can
<shevy> oh
<jlebrech> rpag: it probably something people won't need until they've used it really
timonv_ has joined #ruby
<shevy> you replied to jlebrech, not the goto statement
Versality has joined #ruby
<rpag> just var_a != var_b ? why does it matter if theyre not nil/false?
timonv_ has quit [Remote host closed the connection]
<rpag> shevy, goto with joke right?
<rpag> afaik
<shevy> rpag yeah
<shevy> Luser @ivars should be nil by default I think
govg has quit [Quit: leaving]
gaganjyot has quit [Ping timeout: 245 seconds]
<shevy> Luser I don't think you can write this shorter, you have to check on three conditions
<Luser> Ok, thank you.
<shevy> hmm
Lewix has joined #ruby
<shevy> what if we could simply check
<shevy> unless var_a == var_b
ndrei___ has quit [Ping timeout: 272 seconds]
tesaf has joined #ruby
o0oo0o has joined #ruby
timonv_ has joined #ruby
Takle has quit [Ping timeout: 260 seconds]
binaryhat has quit [Ping timeout: 244 seconds]
bmurt has joined #ruby
Takle has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
theotherstupidgu has joined #ruby
aspiers has quit [Ping timeout: 265 seconds]
byteoverfl0w has joined #ruby
Lewix has quit [Ping timeout: 255 seconds]
aspiers has joined #ruby
unshadow has joined #ruby
it0a has joined #ruby
<unshadow> So, I want to check if a is "" or nil, do I have to do "if a != "" && a!= nil" or can I do something like "if a != "" && != nil" ?
sambao21 has joined #ruby
tkuchiki has joined #ruby
sanguisdex has quit [Quit: Leaving.]
<tobiasvl> no, the latter is a syntax error
<unshadow> so I have to repeat the "question" twice ?
enebo has joined #ruby
<tobiasvl> yes, or do something else
<tobiasvl> like for example
<tobiasvl> >> a = ""; [nil, ""].include? a
<eval-in__> tobiasvl => true (https://eval.in/211969)
timonv_ has quit [Remote host closed the connection]
fmcgeough has joined #ruby
<unshadow> Ok, thanks :)
<tobiasvl> >> a = ""; puts "yes" if a.nil? || a.empty?
<eval-in__> tobiasvl => yes ... (https://eval.in/211970)
shazaum_ has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest23029 has joined #ruby
sanguisdex has joined #ruby
<rpag> unshadow, nil.to_s => "", so you could say if a.to_s != "".
<rpag> less explicit/obvious though
ndrei has joined #ruby
shazaum has quit [Ping timeout: 258 seconds]
dkphenom has joined #ruby
mary5030 has joined #ruby
thsig has quit [Remote host closed the connection]
it0a has quit [Quit: WeeChat 1.0.1]
thsig has joined #ruby
jerius has joined #ruby
it0a has joined #ruby
timonv_ has joined #ruby
shazaum_ has quit [Client Quit]
jobewan has joined #ruby
triple_b has joined #ruby
timonv_ has quit [Remote host closed the connection]
dkphenom has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: zzz]
phutchin1 has joined #ruby
gtrak has joined #ruby
Zer0The0rem has joined #ruby
timonv_ has joined #ruby
Kricir has joined #ruby
hiyosi has quit [Read error: Connection reset by peer]
Avahey has joined #ruby
JohnBat26 has joined #ruby
rylev has quit [Remote host closed the connection]
SilkFox has joined #ruby
Wolland has joined #ruby
ursooperduper has joined #ruby
rylev has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
Kricir has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
gsd has joined #ruby
rylev has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
razieliyo has quit [Quit: Saliendo]
timonv_ has joined #ruby
Takle has quit [Remote host closed the connection]
<unshadow> rpag: nice idea ! this will help me shorten it up a bit
alem0lars|away is now known as alem0lars
slester has joined #ruby
jottr has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
devdazed has joined #ruby
rshetty has joined #ruby
theotherstupidgu has quit [Ping timeout: 265 seconds]
zB0hs has joined #ruby
zB0hs has quit [Max SendQ exceeded]
dblessing has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
theotherstupidgu has joined #ruby
i_s has joined #ruby
Parker0 has joined #ruby
nateberkopec has joined #ruby
tier has quit [Remote host closed the connection]
thsig_ has joined #ruby
vickleford has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
thsig has quit [Read error: Connection reset by peer]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
Takle has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
dblessing has joined #ruby
tlarevo has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
Parker0 has quit [Client Quit]
Macaveli has joined #ruby
i_s has quit [Ping timeout: 245 seconds]
jusmyth has joined #ruby
mikecmpb_ is now known as mikecmpbll
Takle has joined #ruby
rylev has joined #ruby
Xeago_ has joined #ruby
rylev has quit [Remote host closed the connection]
nanderoo has joined #ruby
tier has joined #ruby
rylev has joined #ruby
Versality has quit [Quit: Be back later ...]
ferr has joined #ruby
Versality has joined #ruby
relix has joined #ruby
Timgauthier has joined #ruby
shortCircuit__ has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
workmad3 has joined #ruby
alex88 has joined #ruby
mary5030 has quit [Remote host closed the connection]
Versality has quit [Ping timeout: 244 seconds]
rshetty has quit [Remote host closed the connection]
Photism has joined #ruby
Timgauthier has quit [Read error: Connection reset by peer]
Timgauthier has joined #ruby
theotherstupidgu has quit [Ping timeout: 240 seconds]
carlyle has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tobiasvl> rpag: nice
bruno- has joined #ruby
moritzs has joined #ruby
nanderoo has quit [Read error: Connection reset by peer]
gregf has joined #ruby
ferr has quit [Quit: Lost terminal]
nanderoo has joined #ruby
Lewix has joined #ruby
<nanderoo> lo all -- anyone mind helping out with a (what I'm sure is simple) spec/fixtures question? https://gist.github.com/anonymous/69e63e7da6b137cd8c3e
atmosx has joined #ruby
<Macaveli> Can i run ruby 2.X.X with rails 3?
BadQuanta has quit [Ping timeout: 265 seconds]
<rpag> nanderoo, might have more lucky in #rubyonrails
<rpag> Macaveli, yes
<atmosx> Hello, what is a first class function?
Kricir has joined #ruby
Lewix has quit [Remote host closed the connection]
<nanderoo> rpag: thanks
<atmosx> and second do you use parethensis on your code to pass argument to methods? I mean which style is *better* ?
<atmosx> hm first class functions == functions that can be passed around as objects ... hm
Lewix has joined #ruby
<rpag> lambda/Proc
<rpag> ruby has them
lolmaus has quit [Quit: Konversation terminated!]
<benzrf> first class functions is generally used to mean a lisp-1
Timgauth_ has joined #ruby
<ericwood> gonna try building this MacVim Yosemite pull request...
<ericwood> too impatient for it to get merged :o
<rpag> switch to emacs!
tkuchiki has quit [Remote host closed the connection]
lessless has quit [Remote host closed the connection]
<ericwood> the door is that way --->
<soahccc> atmosx: I personally mix it. especially short variable names are usually wrapped or if there is a complex call in general. otherwise I don't put them
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<rpag> atmosx, style is a subjective thing, i usually use parenthesis when calling/defining a method
<rpag> seattlerb style is to omit them in method definition, and when calling too, unless it removes ambiguity
<atmosx> soahccc: yeah, to me the code looks nicer without them, but with them makes it more readable to newcommers(!) (that's about the only pro argument I've seen)
<sanguisdex> HOLY WAR
Timgauthier has quit [Read error: Connection reset by peer]
gr33n7007h has quit [Remote host closed the connection]
Timgauth_ has quit [Read error: Connection reset by peer]
<atmosx> rpag: seattlerb is the Seattle ruby group?
<rpag> yeah
alem0lars is now known as alem0lars|away
<rpag> rubygems has that style as well
Timgauthier has joined #ruby
<atmosx> rpag: I see
<rpag> never seen def foo(); end
bMalum has quit [Quit: bMalum]
<rpag> id agree its weird/bad
<atmosx> rpag: good to know.
<soahccc> atmosx: yeah the sugar is confusing for a lot of newcomers. sugar shock
<atmosx> lol
jasooon has joined #ruby
jespada has quit [Ping timeout: 255 seconds]
<benzrf> so weird
<benzrf> so bad
Timgauthier has quit [Client Quit]
seitensei has quit [Ping timeout: 240 seconds]
<ericwood> ugh () in method defs without args >:(
oleo has joined #ruby
axl_ has joined #ruby
<ericwood> also: people who do single-line method definitions
seitensei has joined #ruby
<rpag> def foo() "bar" end
<rpag> its kinda growing on me
tier has quit [Remote host closed the connection]
<rpag> >> def foo() "bar" end; foo
<eval-in__> rpag => "bar" (https://eval.in/212172)
<canton7> I tend to use () or lack thereof to indicate whether it's behaving as a method or a property
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
allcentury has joined #ruby
krz has joined #ruby
<rpag> canton7, does that mean you call a method with no args, like, foo() ?
hamakn_ has quit [Remote host closed the connection]
<ericwood> I prefer to leave it off, doen't make it any less readable
jasooon has quit [Ping timeout: 255 seconds]
jusmyth has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
<canton7> rpag, depends on whether it's a method or property. properties are lightweight and can't change state. methods can do whatever
<canton7> very useful distinction to make
<rpag> never seen that style before
theotherstupidgu has joined #ruby
hellangel7 has joined #ruby
<ericwood> idk, in usage it doesn't really matter all that much unless args are required
<rpag> guess its not that unusual when you consider JS
fmcgeough has quit [Quit: fmcgeough]
timonv_ has quit [Remote host closed the connection]
<shevy> people who use foo() are to be considered enemies of the state
<atmosx> shevy: I agree
<rpag> for some reason i like it in JS
<atmosx> shevy: we should torture them before proceeding with anihilation
<rpag> but in ruby it doesnt seem to fit
<ericwood> we fire people who do that
sk87 has joined #ruby
carlyle has quit [Remote host closed the connection]
<atmosx> ericwood: fire or throw to the fire?
exadeci has joined #ruby
fmcgeough has joined #ruby
<exadeci> Hello, How can I add the 0x to a int and still be able to do : ( myintwith0x & 0x001FFFFFFFFFFFFE).to_s(16).hex.to_s(2) ?
<rpag> is there a ruby implementation of javascript out there?
<rpag> quick google says no but i thought i saw one
bMalum has joined #ruby
endash has left #ruby [#ruby]
shazaum has joined #ruby
jusmyth has joined #ruby
timonv_ has joined #ruby
mary5030 has joined #ruby
jhwhite has joined #ruby
Xeago_ has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
<rpag> ah
hellangel7 has quit [Remote host closed the connection]
<rpag> there's one on rubinius
IceDragon has joined #ruby
beef-wellington has joined #ruby
SilkFox has quit [Ping timeout: 244 seconds]
timonv_ has joined #ruby
patrick99e99 has joined #ruby
VanillaGoat__ has joined #ruby
<rpag> two actually
jespada has joined #ruby
maletor has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
lmickh has quit [Remote host closed the connection]
kp666 has quit [Quit: Konversation terminated!]
Xeago has joined #ruby
thumpba has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
_lexjm has joined #ruby
VanillaGoat_ has quit [Ping timeout: 255 seconds]
timonv_ has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 245 seconds]
<shevy> opal
tkuchiki has quit [Remote host closed the connection]
<rpag> i mean an actual implementation of javascript
agjacome has quit [Quit: leaving]
tkuchiki has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<rpag> opal is ruby-like language that compiles to JS afaik
atmosx has quit [Quit: Lost in trance]
Helious has joined #ruby
ylluminarious has joined #ruby
arclitgold has joined #ruby
Xeago_ has joined #ruby
<apeiros> exadeci: what?
<workmad3> rpag: the closest I know of is therubyracer, but that's really just a ruby binding to v8
<workmad3> rpag: so it's only any good if you don't mind it being non pure-ruby
<rpag> workmad3, i guess ruby isnt a natural choice for creating a language, but could be fun
tkuchiki has quit [Ping timeout: 265 seconds]
<apeiros> rpag: it's a fine choice for prototyping
<apeiros> however, for the actual implementation it's probably a poor choice :)
<shevy> !!!
<rpag> yeah
Spami has quit [Quit: This computer has gone to sleep]
<workmad3> rpag: also, more people seem interested in going the other way atm... 'lets get everything running on JS so we can run it in the browser!'
last_staff has quit [Quit: last_staff]
<rpag> definitely true
Xeago has quit [Ping timeout: 265 seconds]
carlyle has joined #ruby
hydrajump has quit [Quit: WeeChat 0.4.3]
arup_r has joined #ruby
<rpag> livescript, typescript, coffeescript, opal, dart, ....
<shevy> :(
taptapdan has joined #ruby
<rpag> probably others i havent heard of
<shevy> hey wait
<shevy> if dart can pull it off
<shevy> everyone can!
<exadeci> apeiros: I want to apply a mask on a hex value
<apeiros> exadeci: example?
<rpag> i think google want dart to have a native implementation that doesnt compile to JS, but probably not gonna happen, because browsers
thumpba has quit [Remote host closed the connection]
<apeiros> exadeci: but I guess I see your problem already - numbers don't have a base. only the representation of numbers has.
thumpba has joined #ruby
Takle has quit [Remote host closed the connection]
<apeiros> i.e. an *integer* is not hex. it's just an integer. only when you have a string it has a base.
carlyle_ has joined #ruby
tier has joined #ruby
Versality has joined #ruby
<exadeci> apeiros: if I do (0x0035081091153150 & 0x001FFFFFFFFFFFFE) it works
<exadeci> but not without the 0x
<apeiros> sure does
<apeiros> >> 14927041012248912 & 0x001FFFFFFFFFFFFE
<eval-in__> apeiros => 5919841757507920 (https://eval.in/212207)
<apeiros> >> 14927041012248912 & 0x001FFFFFFFFFFFFE == 0x0035081091153150 & 0x001FFFFFFFFFFFFE
<eval-in__> apeiros => true (https://eval.in/212208)
Takle has joined #ruby
ahmadajmi has quit [Ping timeout: 245 seconds]
moritzs has quit [Ping timeout: 272 seconds]
<apeiros> 0xff, 10, 0b11111111 and two-hundred fifty five are all just different ways to describe the same value (the integer)
* apeiros always forgets where english has hyphens in numbers :-|
carlyle has quit [Ping timeout: 244 seconds]
benzrf is now known as benzrf|offline
stunder has joined #ruby
spider-mario has quit [Ping timeout: 244 seconds]
St_Marx has quit [Remote host closed the connection]
<exadeci> apeiros: but if I do 0035081091153150 & 001FFFFFFFFFFFFE it gives me a syntax error
<snzmn> rpag, workmad3: someday, people writing javascript runtimes will discover bytecode. and it will change the world
<apeiros> exadeci: yes, because leading zero is octal
toordog has joined #ruby
<apeiros> exadeci: why do you write a leading zero there? why don't you write 35081091153150 & 001FFFFFFFFFFFFE ?
<rpag> snzmn, i think its because its the most cross-platform(browser) way to do it
<apeiros> exadeci: also, 35081091153150 is NOT the same number as 0x35081091153150
<apeiros> >> 0x35081091153150
<eval-in__> apeiros => 14927041012248912 (https://eval.in/212212)
carlyle_ has quit [Ping timeout: 244 seconds]
hamakn has joined #ruby
wpp has joined #ruby
jarto has joined #ruby
wpp has quit [Max SendQ exceeded]
georgschlenkhoff has joined #ruby
ta has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
carlyle has joined #ruby
ahmadajmi has joined #ruby
spider-mario has joined #ruby
Channel6 has joined #ruby
timonv_ has joined #ruby
rbrs has joined #ruby
thsig_ has quit [Remote host closed the connection]
thsig has joined #ruby
tier has quit [Remote host closed the connection]
byteoverfl0w has quit [Quit: Leaving... have a good one...]
mroth_ is now known as mroth
mroth has quit [Changing host]
mroth has joined #ruby
mroth has joined #ruby
gtrak has quit [Remote host closed the connection]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
vanderh0ff has quit [Quit: Leaving]
anarang has quit [Quit: Leaving]
<shevy> guys
<shevy> let's hug and kiss one another!
timonv_ has quit [Remote host closed the connection]
jdrumheller has joined #ruby
renderful has joined #ruby
tagrudev has quit [Remote host closed the connection]
lxsameer has joined #ruby
dkphenom has joined #ruby
timonv_ has joined #ruby
<sanguisdex> shevy: could we play rugby instead?
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Versality has quit [Quit: Be back later ...]
HolyWinner has joined #ruby
<ismell> hello
<ismell> OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:ssl_version] = "TLSv1"
<ismell> is that the correct way to set tls as the default?
Versality has joined #ruby
Versality has quit [Client Quit]
bauruine_ has joined #ruby
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<exadeci> apeiros: got it thanks
sevenseacat has quit [Remote host closed the connection]
<apeiros> yw
MightyFrogMan22 has joined #ruby
<shevy> sanguisdex dunno
timonv_ has quit [Ping timeout: 255 seconds]
rylev has quit [Ping timeout: 255 seconds]
rylev_ has joined #ruby
<shevy> sanguisdex depends on your weight and age :>
<Lewix> I think I'm dreaming
<shevy> I'll rugby against thin old men
sk87 has joined #ruby
<shevy> good Lewix
<shevy> ruby is the language for dreaming
<shevy> also aplty called "prototyping" by mr. apeiros
<Lewix> I thought that was javascript
<shevy> omg
<shevy> please don't let it spread
<sanguisdex> shredding: 32 6'2" 195 lbs. I can teach you to scrum for real
<Lewix> ah right
<Lewix> shevy: can I see your github
<shredding> ?
<sanguisdex> shevy: ^
<sanguisdex> shredding: sorry wrong auto complete
<shredding> :)
sk87 has quit [Client Quit]
fsapo has quit [Remote host closed the connection]
<Lewix> lol
sk87 has joined #ruby
tkuchiki has joined #ruby
xjiujiu has quit [Ping timeout: 244 seconds]
BBBThunda has joined #ruby
sailias has quit [Quit: Leaving.]
sambao21 has quit [Ping timeout: 258 seconds]
chipotle has quit [Quit: cya]
rkalfane has joined #ruby
snath has joined #ruby
<shevy> Lewix sure but I don't use git, I have not managed to include it into my workflow. I am more active on rubygems.org https://github.com/shevegen
<shevy> damn
<shevy> your nicks confused me
<Lewix> wow you're a beast
<shevy> nah, 95% are tiny. there are only about ... 4 larger projects
chipotle has joined #ruby
<shevy> they also suck away more time than the small ones, even if one combines all the small ones :(
<twohlix> damn shevy, you've got so many empty repos on github. lol
<shevy> twohlix yeah
<shevy> I was inactive for a long time
<shevy> only since 2 years am I using rubygems
moritzs has joined #ruby
<shevy> eventually I'll combine git but right now I am learning C (but for real this time, I am working through the dennis Ritchie book page by page)
<twohlix> shevy, so you dont use version control, you just push to rubygems a lot?
<Lewix> shevy: why are you learning C
<Lewix> learn haskell
jdrumheller has quit [Ping timeout: 264 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
fred-inRio has quit [Remote host closed the connection]
jasooon has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doev has quit [Ping timeout: 244 seconds]
j2p2 has quit [Ping timeout: 265 seconds]
chrishough has joined #ruby
Takle has quit [Remote host closed the connection]
<shevy> twohlix yeah kinda
crazydiamond has quit [Ping timeout: 256 seconds]
Neozonz|Disc2 has joined #ruby
<shevy> twohlix for single-dev projects version control isn't that important. because what am I to do if I rewrite a project from scratch?
<shevy> and for small classes I don't need version control, I have tests to ensure their functionality (should) work(s)
dermot has joined #ruby
<twohlix> lol, its just funny that you use rubygems as a form of version control
<Lewix> shevy: im debating what language to learn too actually
moritzs has quit [Ping timeout: 265 seconds]
<twohlix> rather than just using version control
<shevy> Lewix C is like the mother language
ahmadajmi has quit [Ping timeout: 250 seconds]
<Lewix> shevy: the thing that pisses me off with C is that it's not gonna make me more marketable I think, and I don't have the luxury to
<shevy> why would it not make you more marketable?
<Lewix> shevy: It's the first language I learned actually, however I forgot it all
renderfu_ has joined #ruby
<shevy> I grok all things of C so far - except for pointers
<Neozonz|Disc2> I really need some help trying to run a ruby script inside cron specifically this one here https://github.com/99designs/vacuumetrix - I keep getting no such file to load -- fog (LoadError) yet it runs fine on bash
<Neozonz|Disc2> any help appreciated!
<twohlix> shevy: a guy who disagrees with your "single dev projects version control isn't that important" sentiment: http://www.cimgf.com/2009/11/07/why-version-control-is-important-for-solo-developers/
<Lewix> shevy: not a lot of C jobs?
<Lewix> except in hardware
Guest8964 is now known as JerryRishna
<ericwood> fuck I just did the coolest thing
jasooon has quit [Ping timeout: 250 seconds]
<ericwood> ever wanted to pull items out of an array and store them elsewhere?
<shevy> twohlix except that I write a lot of comments
<twohlix> that isn't changing the argument at all
<shevy> twohlix "Compile before commit" - how does this apply to ruby
<Lewix> ericwood: like in the db?
<ericwood> removed, array = array.partition(block)
<twohlix> shevy: that doesnt.
<ericwood> nah just in arrays
<shevy> twohlix and I make small commits anyway. You agree that this can be done with or without version control?
<shevy> except for one thing - rewrites
<ericwood> idk why I like that line so much
<ericwood> probably because it uses enumarable AND parallel assignment
<Lewix> because it's gorgeous
<ericwood> it really is
<ericwood> and unlike some "functional" shenanigans it's actually quite readable
<ericwood> <3 parallel assignment, I wish more people took advantage of it
<shevy> twohlix I also think it will not apply equally well to different languages. Some programming languages are harder than others. I actually found php harder to be than ruby (if you keep your ruby code simple and use only the subset you really want or need)
AlexRussia has quit [Ping timeout: 255 seconds]
<shevy> or C++
<pontiki> i disagree with the notion that version control is unimportant even in small, single dev projects
<twohlix> shevy: I disagree completely that version control is affected by language, unless you're doing non-text programming
<pontiki> but then, i put nearly everything into version control
<twohlix> pontiki: yes I agree, I'm just trying to point out to him that he uses rubygems as a version control
<ericwood> version control is fantastic on single-dev projects
<ericwood> I've saved myself many times with it
<lsone> version control all the things
timonv_ has joined #ruby
<lsone> literally all of them
renderful has quit [Ping timeout: 256 seconds]
<shevy> what for
<ericwood> allows you to have things in a good state, try out stupid shit, then put them back if it doesn't work
<apeiros> version control irc?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pontiki> i don't put my images into a version control system, but i do use good old file system versions
<canton7> it means you don't have to worry the morning after about drunk coding the night before
<ericwood> I keep my whole HDD in git
<shevy> so how do you use version control when you decide to rewrite a project from scratch
<apeiros> sending a message = write message, add, commit, push :D
<twohlix> apeiros: the clients + servers for irc? sure, the data no :)
<canton7> shevy, new repo?
<ericwood> shevy: I delete everything and say fuck it all
<ericwood> or branch
<twohlix> shevy: new repo, new branch
<ericwood> ¯\_(ツ)_/¯ do whatever you want
<shevy> yeah, ericwood is my man
<ericwood> I'm my own man
<shevy> canton7 so you end up maintaining two different projects? :)
<canton7> depends whether you're abandoning the old one
<shevy> sure I do! I decide to rewrite it because it stinks!
<canton7> if you're starting from very scratch, you *do* have two projects
<canton7> if you're diverging, then new branch
<pontiki> when i decide to rewrite something from scratch, i don't delete the old one
<ericwood> exactly
<ericwood> I keep the old one around until I'm completely sure things are all set with the new one
<ericwood> OR you leave the old one on a branch
<pontiki> disk space is far to cheap to worry about such things
<twohlix> also, then you have that old codebase to go back to and go "how the fuck did i solve this before?"
<ericwood> so you can still get to it later
xjiujiu has joined #ruby
toordog has quit [Ping timeout: 240 seconds]
mrjensen has joined #ruby
<pontiki> this is hardly a reason to say "fuck version control"
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> one of you shows me some real example there please
noop has quit [Ping timeout: 264 seconds]
<ericwood> tl;dr version control is a tool, and a useful one at that
<pontiki> hang on
<ericwood> it's a great way to unfuck projects you fucked up
<twohlix> shevy: my argument is that you are already using version control in the form of publishing to rubygems
<shevy> twohlix aha do I? why can we use yank then?
<twohlix> shevy: so you might as well use a more powerful version control tool (git/hg/svn/etc...)
<pontiki> here's one i had fun with a friend on: https://github.com/tamouse/stupid-simple-monit
zB0hs has joined #ruby
<twohlix> you can delete stuff in version control too?
<twohlix> its just not called yank.
<ericwood> you can do whatever you want with it
dkb20k has quit [Remote host closed the connection]
<ericwood> depends on the system
<shevy> that is 6.3 kb as a .zip!
<ericwood> git lets you delete things
<shevy> pontiki!!!
<ericwood> although they remain in history
jdrumheller has joined #ruby
<shevy> twohlix ok so then why do you need version control if you keep only one version?
<twohlix> shevy, I do not.
<ericwood> if you say version control is not a good idea you are flat out wrong
<twohlix> shevy: I have every single version of the tool I've built.
<twohlix> shevy, I can just go back to a commit/tag
<ericwood> I'm sorry, but this is something I'm going to be absolute on
Takle has joined #ruby
<pontiki> nah, don't be sorry
<pontiki> just never work with shevy
<twohlix> ericwood, he doesnt think its a bad idea, he uses version control
xcesariox has joined #ruby
<twohlix> ericwood, his version control is Rubygems.org.
<shevy> I fail to see why you need to keep old variants in a version-control system
<shevy> nope that is your statement
<shevy> I never said that I use rubygems.org as a version control in any way
nor has joined #ruby
<shevy> I simply update the latest and greatest whenever I feel like doing so
<twohlix> shevy oh, so you delete old versions?
treehug88 has joined #ruby
<shevy> twohlix sometimes
<ericwood> y'all are weird
TomyWork has quit [Ping timeout: 250 seconds]
<twohlix> shevy, my misunderstanding then
<shevy> twohlix it is not important though
aspires has joined #ruby
<shevy> twohlix I mean other people can use older variants if they want to but I just keep on concentrating on the most current code
thsig has quit [Read error: Connection reset by peer]
chipotle has quit [Quit: cya]
thsig has joined #ruby
sussman has joined #ruby
<shevy> git + github is significantly more open to accepting patches than is rubygems.org
gsd has joined #ruby
i_s has joined #ruby
stunder has quit [Remote host closed the connection]
<apeiros> that'd probably be because rubygems.org is a distribution platform, and not a collaboration platform
unshadow has quit [Quit: leaving]
geggam has joined #ruby
droidburgundy has joined #ruby
mrjensen has quit [Remote host closed the connection]
<pontiki> probably
stunder has joined #ruby
iamjarvo has joined #ruby
rylev_ has quit [Remote host closed the connection]
AlexRussia has joined #ruby
ferr has joined #ruby
ferr has quit [Client Quit]
andrius has joined #ruby
andrius has quit [Client Quit]
i_s has quit [Ping timeout: 264 seconds]
7GHAAG9P2 has joined #ruby
7GHAAG9P2 has quit [Client Quit]
ferr_ has joined #ruby
jjasonclark has joined #ruby
govg has joined #ruby
ferr_ has quit [Client Quit]
timonv^ has joined #ruby
mrjensen has joined #ruby
spyderman4g63 has joined #ruby
alem0lars|away is now known as alem0lars
xymbol has quit [Quit: Lingo: www.lingoirc.com]
jheg has quit [Quit: jheg]
xymbol has joined #ruby
<ismell> hrmm, looking for some OpenSSL help
<Senjai> ismell: RUN AWAY ! :P
<Senjai> openssl is hard
zorak8 has joined #ruby
andrius has joined #ruby
<ismell> I updated to 2.0.0-p594 and doing RestClient.get('https://www.wdesk.com') throws an ssl error because it's sending an sslv3 hello message
andrius has quit [Client Quit]
ELLIOTTCABLE has quit [Ping timeout: 245 seconds]
ferr has joined #ruby
<ismell> the OpenSSL docs state that it should send a tlsv1 hello message if the cipher suite does not contain any sslv2 ciphers
timonv_ has quit [Ping timeout: 250 seconds]
ferr has quit [Client Quit]
mrjensen has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ELLIOTTCABLE has joined #ruby
ferr has joined #ruby
ta has joined #ruby
dblessing has joined #ruby
ferr has quit [Client Quit]
ferr has joined #ruby
baroquebobcat has joined #ruby
rshetty has joined #ruby
tkuchiki has quit [Remote host closed the connection]
spyderman4g63 has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby
mattmcclure has joined #ruby
bal has quit [Quit: bal]
Macaveli has quit [Ping timeout: 244 seconds]
j_mcnally has joined #ruby
sethen has quit [Quit: Leaving...]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arclitgold has quit [Quit: leaving]
mrjensen has joined #ruby
spacemud has quit [Ping timeout: 250 seconds]
ELLIOTTCABLE has quit [Ping timeout: 272 seconds]
Ankhers has joined #ruby
ELLIOTTCABLE has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
it0a has quit [Ping timeout: 255 seconds]
preller has quit [Ping timeout: 245 seconds]
benzrf|offline is now known as benzrf
mrjensen has quit [Remote host closed the connection]
carlyle has quit [Remote host closed the connection]
bauruine_ has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
freerobby has joined #ruby
slester has quit [Read error: Connection reset by peer]
mrjensen has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
tuelz has joined #ruby
tuelz has left #ruby [#ruby]
i_s has joined #ruby
djbkd has joined #ruby
tojani has joined #ruby
parametaortho has joined #ruby
spyderman4g63 has joined #ruby
<parametaortho> Any clue to how someone might redirect stdout/stderr to a function?
tuelz has joined #ruby
pauly_oc has joined #ruby
Zer0The0rem has quit [Remote host closed the connection]
bricker`work has joined #ruby
Ankhers has quit [Remote host closed the connection]
rippa has joined #ruby
triple_b has joined #ruby
<Senjai> parametaortho: You can replace STDOUT and STDERR in your application
<Senjai> err
<Senjai> $stdout and $stderr
<Senjai> just assign them different values
<Senjai> ARuba has an example fof that
<parametaortho> Duh! It was so obvious!
<parametaortho> Thanks man, I need a coffee.
Avahey has quit [Quit: Connection closed for inactivity]
ta has quit [Ping timeout: 264 seconds]
aewffwea has quit [Ping timeout: 256 seconds]
<Senjai> parametaortho: You'll have to use IO objects, or StringIO if you dont want to dump to a file or something
MightyFrogMan22 has quit [Quit: MightyFrogMan22]
pietr0 has joined #ruby
Lewix has quit [Remote host closed the connection]
<parametaortho> Senjai: yah, copy the interface and I should be good. Thanks. :)
anaeem1 has joined #ruby
mrjensen has quit [Remote host closed the connection]
Ankhers has joined #ruby
<Senjai> I would start with StringIO if you want to copy the interface
<Senjai> and go from there
MightyFrogMan22 has joined #ruby
<parametaortho> That looks like the best way.
IceDragon has quit [Ping timeout: 265 seconds]
IcyDragon has joined #ruby
ahmadajmi has joined #ruby
tier has joined #ruby
RichardLitt has joined #ruby
<RichardLitt> What does << mean?
<jhass> RichardLitt "append"
spyderman4g63 has quit [Remote host closed the connection]
<RichardLitt> jhass: thanks. So, @foo << bar
<RichardLitt> will append foo to bar, or bar to foo/
spyderman4g63 has joined #ruby
<jhass> bar to @foo
<tuelz> RichardLitt: pretty well documented if you want a pretty good explination I would suggest you may be well suited to read the docs for common operators
<jhass> ^ String#<<, Array#<<
<RichardLitt> tuelz: Thanks. Wasn’t sure what to google, blanked on the word ‘operator'
<RichardLitt> thanks guys!
<tuelz> not that I'm saying RTFM, just letting you know it's a common operator
<jhass> RichardLitt: symbolhound.com ;)
<RichardLitt> tuelz: Literally, forgot the word operator
<RichardLitt> :P
<tuelz> happens to the best of us :)
<RichardLitt> early morning. urg.
<RichardLitt> thanks guys
mrjensen has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Lewix has joined #ruby
nateberkopec has quit [Quit: Leaving...]
IcyDragon is now known as IceDragon
poguez has joined #ruby
beef-wellington has quit [Ping timeout: 250 seconds]
spyderman4g63 has quit [Ping timeout: 265 seconds]
xymbol has quit [Quit: Be back later ...]
nateberkopec has joined #ruby
ta has joined #ruby
thagomizer has joined #ruby
kireevco has joined #ruby
omosoj has joined #ruby
jheg has joined #ruby
flagg0204 has quit [Ping timeout: 244 seconds]
preller has joined #ruby
chipotle has joined #ruby
freerobby has quit [Quit: Leaving.]
<apeiros> jhass, RichardLitt: NOWAY! it means shift left!
<Lewix> yo Senjai
jasooon has joined #ruby
<apeiros> in other words: it's a method and meaning depends on the receiver
<Senjai> Lewix: yo Lewix
<RichardLitt> apeiros: hmm? What’s the difference?
<Lewix> Senjai: how are you
<Senjai> Good you?
<jhass> RichardLitt: he's talking about Fixnum#<< (or is it Integer#<<?)
<apeiros> though, not to forget the syntax constructs using << - `class << obj` to open singleton class, and `<<HERE_DOC` to start a here-doc
<RichardLitt> @bad_keys = [].to_set
<RichardLitt> @bad_keys << @API_KEYS.delete(@current_api_key)
<apeiros> >> 1.method(:<<).owner
<eval-in__> apeiros => Fixnum (https://eval.in/212366)
<RichardLitt> @API_KEYS = ApiKey.all.uniq.pluck(:key)
<apeiros> jhass: seems it's implemented on the specific classes, not Integer :)
<jhass> RichardLitt: so that's Set#<<
toordog has joined #ruby
beef-wellington has joined #ruby
* apeiros wonders over [].to_set instead of Set.new
<RichardLitt> je ne sais quoi - I’m a javascript guy, we don’t have a rails dev and I’m trying to fix it
<RichardLitt> A set is different than an array?
<apeiros> yes
<apeiros> a set is a) unordered and b) can contain a value only once
freerobby has joined #ruby
<Xeago_> RichardLitt: do you know the mathematical properties of a set?
<RichardLitt> cool, got it.
<RichardLitt> Xeago_: good comparison. nice.
<RichardLitt> Set.new is better?
<apeiros> (though, a) does not really apply since it's backed by a Hash which is ordered in ruby since 1.9)
Liendre has joined #ruby
starkhalo has joined #ruby
<apeiros> RichardLitt: define "better". I'd prefer it. there's no measurable advantage.
j_mcnally has quit [Ping timeout: 244 seconds]
<RichardLitt> k.
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
<jhass> implementation details vs contract, I don't think Set's contract says ordered
<RichardLitt> So… what << is doing is taking the @current_api_key, deleting it from @API_KEYS, and then adding it to @bad_keys
<apeiros> jhass: it doesn't (and shouldn't)
<Liendre> hello
<RichardLitt> I don’t understand the different between shift left and append
ismell has left #ruby [#ruby]
<jhass> << doesn't delete but the whole expression does
<apeiros> >> 1 << 16
<eval-in__> apeiros => 65536 (https://eval.in/212369)
<apeiros> this is left-shift
jasooon has quit [Ping timeout: 244 seconds]
Hightower666 has joined #ruby
<apeiros> it's a mathematical operation on integers
Hightower666 has quit [Excess Flood]
<RichardLitt> apeiros: What’s >> doing?
<apeiros> RichardLitt: again, >> is a method
<apeiros> its meaning depends on the receiver
mrjensen has quit [Remote host closed the connection]
<apeiros> for integers, it's right-shift
danku has joined #ruby
<RichardLitt> what’s shift?
<jhass> binary shift
<RichardLitt> … I might just RTFM. I don’t have the low-level knowledge fo this
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
<apeiros> >> "%08b" % (0b00000001 << 8)
<eval-in__> apeiros => "100000000" (https://eval.in/212375)
<apeiros> moves the bit to the left by 8 digits
<apeiros> filling it from the right with zeros
j2p2 has joined #ruby
sailias has joined #ruby
<RichardLitt> OK.
Hijiri has joined #ruby
<RichardLitt> Cool.
<ericwood> it's much faster than doing multiplication
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
<ericwood> if you're writing highly scalable ruby you should be using bit shifting for multiplication
<RichardLitt> I don’t understand how the current_api_key is being shifted into @bad_keys when it is being deleted
<apeiros> ericwood: method call overhead is probably larger than the diff
<RichardLitt> to me, that seems like two operations happening at once
<ericwood> apeiros: I'm terrified that you acknowledged my statement and gave it any thought :)
mrjensen has joined #ruby
<apeiros> ericwood: I even investigated it
<ericwood> D:
<apeiros> but that's already a couple of years ago :)
kobain has joined #ruby
danjordan has quit [Quit: danjordan]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
<workmad3> apeiros: isn't the method call overhead going to occur on both * and << though? :)
<jhass> RichardLitt: Array#delete returns the removed element
<apeiros> workmad3: yes
<RichardLitt> jhass: ahh. Ok.
<apeiros> workmad3: but if method call overhead is 1ms, and * is 1.1ns while << is 1.0ns, then the diff is irrelevant
<apeiros> (randomly made up numbers)
aganov has quit [Quit: Leaving]
<twohlix> and ericwood: if you're writing highly scalable ruby code, write for readibility until you profile where you need to improve it the most :)
<RichardLitt> so, shift left (<<) actually means add bar to foo, (ex: foo << bar)
Hightower666 has joined #ruby
<RichardLitt> how is that different from append?
Hightower666 has quit [Excess Flood]
<apeiros> RichardLitt: no, no
<RichardLitt> hahahaha
<apeiros> RichardLitt: << is a method. what it does depends on what you call it on.
<apeiros> RichardLitt: in javascript, you can't tell from reading `obj.foo()` what foo does. can you?
<apeiros> it depends on what obj is
<jhass> RichardLitt: let's do something together. Visit http://ruby-doc.org/core-2.1.4/ please
<RichardLitt> Fair.
<workmad3> twohlix: and always make sure you understand your profiling too ;)
<RichardLitt> jhass: there
sycr is now known as jdjkelly
<jhass> RichardLitt: scroll down to Methods on the right side
<apeiros> RichardLitt: and in your case, you have a Set. Set#<< is "add"
<RichardLitt> yep
<apeiros> no shift happening there
<jhass> and enter << into the search
<workmad3> twohlix: I'm always reminded of an anecdote of a team writing an OS on that front - they profiled their code and discovered one routine where it was spending 80%+ of the time
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
<twohlix> workmad3: idle.
<twohlix> lol
<RichardLitt> returned nothing
<workmad3> twohlix: yup
<RichardLitt> done
<jhass> meh, docs are broken again
<workmad3> twohlix: but they didn't realise that until after they'd optimised it ;)
<twohlix> wow, lol
<apeiros> workmad3: somebody told them what CPU vs. IO bound means and taught them concurrency? :)
hellangel7 has joined #ruby
<workmad3> twohlix: I have no idea of the truth of said anecdote
<IceDragon> >> a = 0xF << 0xF0; b = [1, 2, 3] << 4; STDOUT << 'ZOMG RRRRUBYYYYY'; STDOUT << ['%08b' % a, b]
<eval-in__> IceDragon => ZOMG RRRRUBYYYYY["111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ... (https://eval.in/212376)
<IceDragon> o_e
kireevco has quit [Quit: Leaving.]
* IceDragon facepalms
<workmad3> twohlix: but I can easily believe a team managed it at one point :)
<IceDragon> right
IceDragon was kicked from #ruby by apeiros [no spam]
<RichardLitt> jhass, apeiros: I think I got it.
IceDragon has joined #ruby
<twohlix> workmad3: but it makes sense, "WHY ARE WE SPENDING 3seconds in this function?!?!" "Oh it waits on user input."
Tranquility____ has quit [Ping timeout: 244 seconds]
<IceDragon> apeiros, my bad
<apeiros> IceDragon: yes. your bad.
danjordan has joined #ruby
<jhass> RichardLitt: let's take this one: http://www.rubydoc.info/stdlib/core/file/README Method List on the top right, enter << there
ewilliam has quit [Ping timeout: 260 seconds]
<apeiros> or you're bad?
<apeiros> :-p
spacemud has joined #ruby
<IceDragon> apeiros: I actually meant to use | or on the 0xF
bcavileer_ has quit [Ping timeout: 265 seconds]
<apeiros> IceDragon: lol
<RichardLitt> the left element determines what << will do. Since it is a set, it adds the returned value
huddy has quit [Ping timeout: 244 seconds]
callenb__ has quit [Ping timeout: 244 seconds]
kaspergrubbe has quit [Read error: Connection reset by peer]
n1ftyn8 has quit [Ping timeout: 272 seconds]
MiracleBlue has quit [Ping timeout: 260 seconds]
jeregrine has quit [Read error: Connection reset by peer]
hellschreiber has quit [Read error: Connection reset by peer]
kaspergr_ has joined #ruby
<RichardLitt> jhass: Cool. Entered
mattmcclure has quit [Ping timeout: 265 seconds]
joshingly has quit [Ping timeout: 265 seconds]
ceej has quit [Ping timeout: 265 seconds]
inffcs00 has quit [Ping timeout: 265 seconds]
bjeanes has quit [Ping timeout: 265 seconds]
<apeiros> I regret having mentioned left-shift.
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
skmp has quit [Ping timeout: 265 seconds]
maZtah has quit [Ping timeout: 265 seconds]
tiagonobre_ has quit [Ping timeout: 244 seconds]
alol__ has quit [Ping timeout: 244 seconds]
spyderman4g63 has joined #ruby
<RichardLitt> Don’t! Learning stuff.
<IceDragon> apeiros: yes, yes you should ;3
Hightower666 has joined #ruby
cstrahan has quit [Ping timeout: 272 seconds]
Hightower666 has quit [Excess Flood]
<twohlix> apeiros: next up you should mention the hack for inverse squares
garbanotas has joined #ruby
Helious has quit [Quit: Be back later ...]
adambeynon has quit [Ping timeout: 265 seconds]
chrisseaton has quit [Ping timeout: 260 seconds]
tarcwynne__ has quit [Ping timeout: 260 seconds]
charles81 has quit [Ping timeout: 260 seconds]
tmoore has quit [Ping timeout: 272 seconds]
parametaortho has left #ruby [#ruby]
pusewicz has quit [Ping timeout: 265 seconds]
ZucchiniZe has quit [Ping timeout: 265 seconds]
<RichardLitt> apeiros: I’m getting there. Slow on the uptake.
vcoinminer______ has quit [Ping timeout: 260 seconds]
rfv has quit [Ping timeout: 260 seconds]
featheryahn has quit [Ping timeout: 260 seconds]
casual has quit [Ping timeout: 265 seconds]
Darryl_ has quit [Ping timeout: 265 seconds]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
<Liendre> I want to push an hash inside one array the is inside other hash. and I think I need some help there. I am reading ruby docs but I cant figure out.
<RichardLitt> jhass: In those docs, I don’t see #<< (Set). Am I missing something?
flagg0204 has joined #ruby
unshadow has joined #ruby
<Liendre> the array inside the hash is the value of the second key
<jhass> RichardLitt: that's because it's not in core but a library that's shipped with ruby
<RichardLitt> Got it.
<RichardLitt> Ok, cool.
<RichardLitt> I’m good.
<RichardLitt> thanks apeiros, jhass
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
<unshadow> Hi, does any one knows any gem or library that gives NTLM version 2 authentication capabilities ?
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
livathinos has quit []
<unshadow> All the ones I found only support NTLM vesrion 1
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
danku has quit []
d4nku has joined #ruby
olivier_bK has quit [Ping timeout: 244 seconds]
jespada has quit [Ping timeout: 250 seconds]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
krz has quit [Read error: Connection reset by peer]
cndiv has joined #ruby
maestrojed has joined #ruby
<Liendre> ok forget it I did it finally :)
xymbol has joined #ruby
<Liendre> It is always easier than you think ;\
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
flagg0204 has quit [Ping timeout: 244 seconds]
ahmadajmi has quit [Ping timeout: 265 seconds]
Hightower666 has joined #ruby
einarj has quit [Remote host closed the connection]
Hightower666 has quit [Excess Flood]
kaspergr_ has quit [Remote host closed the connection]
theotherstupidgu has quit [Ping timeout: 256 seconds]
skolman_ has joined #ruby
icarus has joined #ruby
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
atmosx has joined #ruby
skolman_ has quit [Remote host closed the connection]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
92AAAAESG has joined #ruby
92AAAAESG has quit [Read error: Connection reset by peer]
skolman has joined #ruby
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
lmickh has joined #ruby
shredding has quit [Quit: shredding]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
Hightower666 has joined #ruby
zorak8 has quit [Ping timeout: 265 seconds]
jobewan has quit [Ping timeout: 265 seconds]
Pupeno_ has joined #ruby
jheg has quit [Ping timeout: 265 seconds]
Hijiri has quit [Ping timeout: 245 seconds]
jusmyth has quit [Ping timeout: 245 seconds]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
sinkensabe has quit [Remote host closed the connection]
AFKGeek has quit [Quit: Leaving]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
tvw has quit []
Pupeno has quit [Ping timeout: 264 seconds]
kireevco has joined #ruby
iamjarvo has joined #ruby
EMoreth has joined #ruby
phutchins has joined #ruby
RitterJack has quit [Remote host closed the connection]
<unshadow> no one ? :(
fantazo has joined #ruby
jfran has joined #ruby
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
mrjensen has quit [Remote host closed the connection]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
AlexRussia has quit [Ping timeout: 250 seconds]
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has quit []
apeiros has joined #ruby
aspires has joined #ruby
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
gaussblurinc1 has quit [Quit: Leaving.]
renderful has joined #ruby
boombadaroomba has joined #ruby
x1337807x has joined #ruby
AlexRussia has joined #ruby
x1337807x has quit [Max SendQ exceeded]
timonv^ has quit [Remote host closed the connection]
whatasunnyday has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
hamakn has quit [Remote host closed the connection]
Hightower666 has joined #ruby
wallerdev has joined #ruby
Hightower666 has quit [Excess Flood]
allcentury has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
yfeldblum has joined #ruby
benzrf is now known as benzrf|offline
Hightower666 has joined #ruby
apeiros has quit [Ping timeout: 244 seconds]
Hightower666 has quit [Excess Flood]
geggam has quit [Ping timeout: 264 seconds]
renderfu_ has quit [Ping timeout: 258 seconds]
ptrrr has joined #ruby
jarjar_prime has joined #ruby
michael_mbp has quit [Excess Flood]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
pietr0 has quit [Quit: pietr0]
ferr has quit [Quit: leaving]
djbkd has quit [Quit: My people need me...]
Trynemjoel has quit [Ping timeout: 265 seconds]
jobewan has joined #ruby
ndrei has joined #ruby
nateberkopec has quit [Ping timeout: 264 seconds]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
Trynemjoel has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<headius> rpag: I don't believe any of those javascript impls actually exist
michael_mbp has joined #ruby
godd2 has joined #ruby
<headius> for rubinius
<rpag> headius, they exist on github but no commits for >4 years
towski has quit [Ping timeout: 245 seconds]
<headius> which one is that? I'm looking at https://github.com/neonius/neonjs
anaeem1_ has joined #ruby
<headius> the one brixen announced at RubyConf two years ago
pietr0 has joined #ruby
ferr has joined #ruby
ringarin has quit [Ping timeout: 244 seconds]
St_Marx has joined #ruby
Pupeno has joined #ruby
jespada has joined #ruby
<rpag> maybe they no longer work since it's so long ago
emmesswhy has joined #ruby
Hobogrammer has joined #ruby
Dr3amc0d3r|away has quit [Ping timeout: 245 seconds]
Pupeno_ has quit [Ping timeout: 244 seconds]
<headius> yeah, I don't believe any of them were ever really functional
<headius> proofs of concept
govg has quit [Remote host closed the connection]
thsig has quit [Remote host closed the connection]
Dr3amc0d3r|away has joined #ruby
thsig has joined #ruby
anaeem1_ has quit [Ping timeout: 255 seconds]
danjordan has quit [Quit: danjordan]
ephemerian has quit [Quit: Leaving.]
<rpag> yeah, i'm not sure javascript on ruby would ever take off it'd be fun to implement though
niklasb_ has joined #ruby
drkyro has joined #ruby
<rpag> from my point of view
yfeldblum has quit [Ping timeout: 256 seconds]
gregf has quit [Quit: WeeChat 1.0.1]
allcentury has joined #ruby
thsig_ has joined #ruby
atmosx has quit [Quit: computer went to sleep...]
cmckee has joined #ruby
thsig_ has quit [Remote host closed the connection]
ahmadajmi has joined #ruby
jerius has quit []
aspires has quit []
atmosx has joined #ruby
carlyle has joined #ruby
Takle has quit [Remote host closed the connection]
niklasb_ has quit [Quit: WeeChat 1.0.1]
thsig has quit [Ping timeout: 255 seconds]
dkphenom has joined #ruby
Takle has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
aspires has joined #ruby
jerius has joined #ruby
Dr3amc0d3r|away has quit [Ping timeout: 240 seconds]
pusewicz has joined #ruby
Takle_ has joined #ruby
anaeem1 has joined #ruby
moritzs has joined #ruby
tier has quit [Remote host closed the connection]
jasooon has joined #ruby
Takle_ has quit [Remote host closed the connection]
carlyle has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
wallerdev has quit [Quit: wallerdev]
ta has quit [Read error: Connection reset by peer]
<headius> rpag: absolutely...especially if it wasn't tied to a single implementation of Ruby :-)
ta has joined #ruby
<headius> might be able to bootstrap off one of these to get an AST
alol__ has joined #ruby
roolo has quit [Remote host closed the connection]
vcoinminer______ has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
xjiujiu has quit [Read error: Connection reset by peer]
jeregrine has joined #ruby
Pupeno_ has joined #ruby
tlarevo has joined #ruby
Tranquility____ has joined #ruby
joshingly has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alex88 has quit []
tiagonobre_ has joined #ruby
govg has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
rshetty has quit [Remote host closed the connection]
huddy has joined #ruby
featheryahn has joined #ruby
bjeanes has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
ringarin has joined #ruby
mfmfmfmfmfmf has joined #ruby
Dr3amc0d3r|away has joined #ruby
wallerdev has joined #ruby
tvw has joined #ruby
pauly_oc has joined #ruby
hellschreiber has joined #ruby
adambeynon has joined #ruby
mattmcclure has joined #ruby
boombadaroomba has quit [Remote host closed the connection]
mpistone has joined #ruby
jlebrech has quit [Remote host closed the connection]
ta has quit [Ping timeout: 245 seconds]
n1ftyn8 has joined #ruby
qba73 has quit []
it0a has joined #ruby
Xeago_ has quit [Remote host closed the connection]
preller has quit [Ping timeout: 250 seconds]
ta has joined #ruby
timonv_ has joined #ruby
roolo has joined #ruby
apeiros has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
ceej has joined #ruby
maZtah has joined #ruby
theotherstupidgu has joined #ruby
preller has joined #ruby
Neozonz has quit [Ping timeout: 255 seconds]
gaganjyot has joined #ruby
sinkensabe has joined #ruby
mikesplain has joined #ruby
mikesplain has quit [Client Quit]
elaptics is now known as elaptics`away
unshadow has quit [Quit: leaving]
jjasonclark has quit [Quit: jjasonclark]
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ZucchiniZe has joined #ruby
alem0lars is now known as alem0lars|away
renderful has quit [Read error: Connection reset by peer]
Trynemjoel has quit [Quit: Quitting]
renderful has joined #ruby
ndrei has quit [Read error: Connection reset by peer]
tmoore has joined #ruby
EMoreth has quit [Quit: (null)]
mfmfmfmfmfmf has quit [Remote host closed the connection]
casual has joined #ruby
elaptics`away is now known as elaptics
georgschlenkhoff has left #ruby [#ruby]
Trynemjoel has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! (www.adiirc.com)]
adw has joined #ruby
adw has left #ruby [#ruby]
charles81 has joined #ruby
ChoiKyuSang has joined #ruby
nateberkopec has joined #ruby
callenb__ has joined #ruby
rfv has joined #ruby
bcavileer_ has joined #ruby
elaptics is now known as elaptics`away
S85B50 has joined #ruby
robbyoconnor has joined #ruby
Darryl_ has joined #ruby
j_mcnally has joined #ruby
ndrei has joined #ruby
S85B50 has left #ruby [#ruby]
Luser has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
Liendre has quit [Read error: Connection reset by peer]
omosoj has quit [Ping timeout: 265 seconds]
tojani has left #ruby [#ruby]
pauly_oc has joined #ruby
omosoj has joined #ruby
tommyvyo has quit [Remote host closed the connection]
skmp has joined #ruby
Trynemjoel has quit [Quit: Quitting]
genpaku has joined #ruby
genpaku has quit [Client Quit]
chthon has quit [Ping timeout: 255 seconds]
t_mmyv has joined #ruby
JDHankle has quit [Ping timeout: 240 seconds]
Trynemjoel has joined #ruby
jobewan has quit [Ping timeout: 250 seconds]
xerox357_ has joined #ruby
xerox357_ has quit [Client Quit]
cstrahan has joined #ruby
graft has quit [Quit: Lost terminal]
ndrei has quit [Read error: Connection reset by peer]
aspires has quit []
rkalfane has joined #ruby
ewilliam has joined #ruby
MiracleBlue has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aspires has joined #ruby
chrisseaton has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
chrishough has joined #ruby
iamjarvo has joined #ruby
tarcwynne__ has joined #ruby
wjimenez5271 has joined #ruby
maletor has joined #ruby
maletor has quit [Client Quit]
mike32 has joined #ruby
ndrei has joined #ruby
fabrice31 has joined #ruby
renderfu_ has joined #ruby
yetanotherdave has joined #ruby
graydot has joined #ruby
Guest7 has joined #ruby
jimmyhoughjr has joined #ruby
patrick99e99 has joined #ruby
neoxquick has joined #ruby
Mars` has joined #ruby
Guest7 has quit [Max SendQ exceeded]
dumdedum has quit [Read error: Connection reset by peer]
fmcgeough has quit [Quit: fmcgeough]
razrunelord has joined #ruby
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderful has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
melik has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
nanderoo has quit [Read error: Connection reset by peer]
nanderoo has joined #ruby
jobewan has joined #ruby
Mars` has quit [Ping timeout: 256 seconds]
carlyle has joined #ruby
econerd4ever has joined #ruby
jjasonclark has joined #ruby
Mars` has joined #ruby
<shevy> hmm
<shevy> can I do ... def counter; 'test string'; end; puts counter+' yo'; counter = 5; print counter
<shevy> ok I can but
<shevy> hmm counter will be the local variable
fr1eza has joined #ruby
Ankhers has quit [Remote host closed the connection]
<shevy> is there a way to delete it, and then use counter() as before, but without having to use the () parens?
red_horned_rihno has quit [Ping timeout: 265 seconds]
inffcs00 has joined #ruby
carlyle has quit [Ping timeout: 244 seconds]
<j416> shevy: just avoid using the same name, fix the design instead :P
DLSteve has joined #ruby
<shevy> yeah
<shevy> so it is not possible
timonv_ has quit [Read error: Connection reset by peer]
geggam has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
omosoj has quit [Ping timeout: 258 seconds]
Sonny|3oy has joined #ruby
wjimenez5271 has quit [Ping timeout: 256 seconds]
omosoj has joined #ruby
fr1eza has quit [Ping timeout: 240 seconds]
Mars` has quit [Ping timeout: 245 seconds]
tier has joined #ruby
ki0 has quit [Ping timeout: 256 seconds]
Ankhers has joined #ruby
fr1eza has joined #ruby
fr1eza has joined #ruby
tyll has quit [Ping timeout: 256 seconds]
tyll has joined #ruby
Mars` has joined #ruby
red_horned_rihno has joined #ruby
fr1eza has quit [Ping timeout: 265 seconds]
wjimenez5271 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yxhuvud has quit [Remote host closed the connection]
tier has quit [Ping timeout: 245 seconds]
VanillaGoat has joined #ruby
jasooon has joined #ruby
RichardLitt has quit [Quit: RichardLitt]
VanillaGoat__ has quit [Ping timeout: 255 seconds]
shadeslayer has quit [Ping timeout: 265 seconds]
mfmfmfmfmfmf has joined #ruby
tier has joined #ruby
wjimenez5271 has quit [Read error: Connection reset by peer]
ghr has joined #ruby
eat_multi has quit [Ping timeout: 256 seconds]
shadeslayer has joined #ruby
razrunelord has quit [Read error: Connection reset by peer]
wjimenez5271 has joined #ruby
pauly_oc has joined #ruby
skolman has quit [Remote host closed the connection]
razrunelord has joined #ruby
skolman_ has joined #ruby
fmcgeough has joined #ruby
jasooon has quit [Ping timeout: 265 seconds]
dseitz_ has joined #ruby
fsapo has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wjimenez5271 has quit [Read error: Connection reset by peer]
wjimenez5271 has joined #ruby
bluenemo has quit [Ping timeout: 265 seconds]
ghr has quit [Ping timeout: 264 seconds]
joonty has quit [Ping timeout: 256 seconds]
jimmyhoughjr has joined #ruby
entrenador has joined #ruby
hdrv has joined #ruby
skolman_ has quit [Ping timeout: 240 seconds]
omosoj has quit [Ping timeout: 260 seconds]
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Remote host closed the connection]
RichardLitt has joined #ruby
noop has joined #ruby
omosoj has joined #ruby
wjimenez5271 has quit [Ping timeout: 256 seconds]
yxhuvud has joined #ruby
chrisja has joined #ruby
chipotle_ has joined #ruby
djbkd has joined #ruby
chishiki has quit [Quit: WeeChat 1.0.1]
mikecmpbll has joined #ruby
chipotle has quit [Ping timeout: 244 seconds]
chishiki has joined #ruby
yxhuvud has quit [Remote host closed the connection]
_lazarevsky_ has joined #ruby
<_lazarevsky_> howdy all
<_lazarevsky_> a quick question if I may
wjimenez5271 has joined #ruby
<_lazarevsky_> I keep getting the following error in my rails app -> undefined method `to_i=' for (1/1):Rational
<_lazarevsky_> however, when in the console I run th efollowing code -> (1/1).to_i it returns 1
Hijiri has joined #ruby
razrunelord has quit []
<_lazarevsky_> can anyone pls tell me what the heck is going on??
<_lazarevsky_> :)
banister has joined #ruby
yxhuvud has joined #ruby
troyready has joined #ruby
<Mars`> What line is it on? What does that look like?
<pipework> _lazarevsky_: There's a slight difference between 'to_i=' and 'to_i'
banister has quit [Max SendQ exceeded]
jdj_dk has joined #ruby
<_lazarevsky_> pipework: you're absolutely correct
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<_lazarevsky_> my apologise for wasting your time
<_lazarevsky_> apologies*
Morkel_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
tercenya has quit []
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
f0ster has quit [Ping timeout: 265 seconds]
ferr has quit [Ping timeout: 264 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ferr has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
jbueza has joined #ruby
bluenemo has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
kirun has joined #ruby
VanillaGoat_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
VanillaGoat has quit [Ping timeout: 265 seconds]
Kricir has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
PeterBoy has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
chipotle_ has quit [Quit: cya]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
max96at is now known as max96at|off
banister has joined #ruby
banister has quit [Max SendQ exceeded]
JDHankle has joined #ruby
eat_multi has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
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]
banister has joined #ruby
Pupeno has joined #ruby
banister has quit [Max SendQ exceeded]
SolarSailor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
gregf has joined #ruby
aspires has quit []
gerep has joined #ruby
<gerep> Hi all. Can someone please tell me if there is a way to improve this code? https://gist.github.com/gerep/1cae2146316c6ccfd27b
Pupeno_ has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
<gerep> I receive something like: A-B-C and I need to return an Array ["AB", "BC"]
<gerep> The code is already doing this but I think it is not good
<_lexjm> is it safe to sudo chown -R `whoami` /usr/local to install gems locally, this way sudo is not needed?
aspires has joined #ruby
eat_multi has quit [Quit: leaving]
<pipework> _lazarevsky_: I would just consider using chruby and ruby-install instead
<pipework> _lexjm: ^
<pipework> In local development at least
Zer0The0rem has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
crazydiamond has joined #ruby
Synthead has joined #ruby
musl has quit [Quit: BRB]
carlyle has joined #ruby
<_lazarevsky_> when concatenating date must I always call to_s ?
<gerep> I just updates the gist, there was a mistake: https://gist.github.com/gerep/1cae2146316c6ccfd27b
kshah has joined #ruby
otherj has joined #ruby
otherj has quit [Client Quit]
treehug8_ has joined #ruby
otherj has joined #ruby
j_mcnally has joined #ruby
jenrzzz has joined #ruby
smcquaid has joined #ruby
smcquaid has quit [Max SendQ exceeded]
tlarevo has quit [Remote host closed the connection]
cassianoleal has joined #ruby
<kshah> in Ruby 2.1.1 I’m using CSV.foreach as I have very large CSV files I’m parsing, the file is pipe delimited, CLRF line separated, and uses escaped double quotes rather than “”. I am unsure if I can pass CSV.foreach a converter or if I will be forced to sed the file ahead of time, which I’d like to avoid
<shevy> _lazarevsky_ when do you have to call to_s
treehug88 has quit [Ping timeout: 256 seconds]
<_lazarevsky_> shevy: when concatenating a string
<_lazarevsky_> one of the dynamic elements in the string is a date
<_lazarevsky_> but something that value can be nil
<shevy> to convert an object into a string representation
<_lazarevsky_> so when I call nil.to_s I get an exception
<shevy> >> nil.to_s
<eval-in__> shevy => "" (https://eval.in/212480)
<shevy> cool
smcquaid has joined #ruby
<shevy> the bot gets an empty string
carlyle has quit [Ping timeout: 244 seconds]
<_lazarevsky_> hrmmm..
<shevy> :>
wjimenez_ has joined #ruby
smcquaid has quit [Max SendQ exceeded]
<_lazarevsky_> shevy: im getting this error aye can't convert nil into String
<shevy> nah
<shevy> >> nil + 'foo'
<eval-in__> shevy => undefined method `+' for nil:NilClass (NoMethodError) ... (https://eval.in/212481)
<pipework> _lazarevsky_: Use render_to_string with a partial or a view.
<pipework> Stop making kittens die.
smcquaid has joined #ruby
<shevy> >> 'foo' + nil
<eval-in__> shevy => no implicit conversion of nil into String (TypeError) ... (https://eval.in/212482)
<shevy> _lazarevsky_ how do you get such an error message as the one you described above?
<_lazarevsky_> haha that's brutal bru.. just got the visual
claymore has joined #ruby
atmosx has quit [Quit: Lost in trance]
<_lazarevsky_> shevy: that's exactly what im doing.. concatenating variables in a massive string
<_lazarevsky_> shevy: I get your point
<_lazarevsky_> let me debug further
jgrevich has joined #ruby
<pipework> rendah_to_string, brah
AlSquire has quit [Quit: This computer has gone to sleep]
iamjarvo has joined #ruby
<_lazarevsky_> render to string
<_lazarevsky_> let me google that
omosoj has quit [Ping timeout: 264 seconds]
<pipework> It's exactly what you need.
<shevy> _lazarevsky_ no I mean - that error strikes me as non-default ruby, so probably some other program gives you that error
<smcquaid> question about paths
<pipework> can even pass in locals to the render_to_string so you don't have to use instance variables.
wjimenez5271 has quit [Ping timeout: 258 seconds]
<smcquaid> opt/chef/embedded/bin/gem is different than /usr/bin/gem
<smcquaid> any ideas how to link it?
<_lazarevsky_> pipework: im not returning this from the controller dude
<pipework> smcquaid: The best ones to walk are the hardest ones to follow.
jenrzzz has quit [Ping timeout: 255 seconds]
<pipework> _lazarevsky_: You said you're in the context of a controller.
<shevy> smcquaid that is bad, I have only one gem "binary"
<smcquaid> haha @pipework
<pipework> Doesn't matter if you return it, look up what #render_to_string is
<_lazarevsky_> yes.. but I call a function called send_email to which I send (mail_to, subject, html)
<_lazarevsky_> which calls a mailing server
omosoj has joined #ruby
<pipework> _lazarevsky_: So? Pass the string in then.
jdj_dk has quit [Remote host closed the connection]
aspires has quit []
<pipework> render_to_string returns a string of the HTML after it's been rendered with the view.
mkaesz has joined #ruby
<pipework> Literally what you're doing by hand, but much better.
jheg has joined #ruby
<pipework> Also, you can make a view for a mailer as well, you don't need to pass in the HTML.
<shevy> wow
<shevy> pipework is a rails guru
<pipework> Also also, god will kill more kittens if you don't provide a plaintext version of your email body.
<pipework> shevy: It pays bills.
fr1eza has joined #ruby
kshah has quit [Quit: kshah]
<csmrfx> It is true, I will!
<shevy> lol
jheg has left #ruby [#ruby]
<shevy> man please
<shevy> kittens will die because of this
<shevy> all one huge fat string
<shevy> no linebreak
<_lazarevsky_> pipework: well Amazon's SMS allows me to either pass in raw html or a content. I opted for the latter as it allows me to beautify the mail body with fancy colours and shit
<pipework> _lazarevsky_: Turn that whole thing into a view in your app/views/ somewhere appropriate and make a file ending in .html.erb
<pipework> Then convert to ERB.
<pipework> _lazarevsky_: When using a rails mailer, they also render views like a controller does.
jheg has joined #ruby
govg has quit [Quit: leaving]
govg has joined #ruby
mfmfmfmfmfmf has quit [Remote host closed the connection]
<pipework> You can still pass in objects and things if you want, but you should generally treat the mailer itself like a controller that you can define nice methods around, in that you can set values, assign variiables, and it will look for a view to render by default.
Insanity133 has joined #ruby
<pipework> Read about mailers in the rails guides.
mkaesz has quit [Client Quit]
<_lazarevsky_> shevy: found the error btw
<shevy> KILL IT WITH FIRE!!!
<_lazarevsky_> pipework: I dont wanna sound like an unappreciative jerk.. but I really wanna first get this thing running,, and then beautify the code and do it properly..
<shevy> also spank pipework for good measure after you fixed that bug :>
yxhuvud has quit [Remote host closed the connection]
<pipework> well, good luck then
<_lazarevsky_> pipework: i've been working for 13 hours straight and I must at least demo to my manager first thing tomorrow morning that correct emails are being sent..
<_lazarevsky_> I hope you don't hate me for saying this :) I do wanna learn Ruby as I'm relatively new to it..
<_lazarevsky_> but I gotta prioritiese
<shevy> now you have done it
<pipework> With a view you'd just call <%= some_object_like_a_date %> and not have to handle if it's nil.
<shevy> he will hate you for the rest of his life
<pipework> It'll automatically call #to_s for you and everything.
<_lazarevsky_> one of the values im concatenating is nil
<pipework> You can even do your normal view conditions.
<_lazarevsky_> so im basically doing ... + nil + ... just as you assumed @ shevy
<shevy> well
troulouliou_dev has joined #ruby
<shevy> the bot showed the two possible errors
<_lazarevsky_> ya.. sounds like a good idea pipework
<shevy> (1) no implicit conversion of nil into String (TypeError)
<shevy> (2) undefined method `+' for nil:NilClass (NoMethodError)
yfeldblum has joined #ruby
Insanity133 has quit [Remote host closed the connection]
<shevy> (3) <_lazarevsky_> shevy: im getting this error aye -> "can't convert nil into String"
<shevy> (3) sounds similar to (1) though
govg has quit [Client Quit]
govg has joined #ruby
<shevy> but unless one can show me where it shows up, I will assume it is a custom Exception
<shevy> how stupid would it be to be unable to convert nil into a String anyway!
wallerdev has quit [Quit: wallerdev]
<shevy> >> 'abc ' + nil.to_s + ' def '
<eval-in__> shevy => "abc def " (https://eval.in/212483)
<shevy> see _lazarevsky_ it all works
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jshultz has quit [Quit: Connection closed for inactivity]
wallerdev has joined #ruby
wjimenez5271 has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
troulouliou_dev has quit [Quit: Leaving]
timonv_ has joined #ruby
User458764 has joined #ruby
omosoj has quit [Ping timeout: 250 seconds]
jasooon has joined #ruby
claymore has quit [Ping timeout: 245 seconds]
aspires has joined #ruby
gerep has quit [Ping timeout: 255 seconds]
hatzopoulos has joined #ruby
vickleford has quit [Quit: vickleford]
omosoj has joined #ruby
carraroj has joined #ruby
hatzopoulos has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
carraroj has quit [Changing host]
wjimenez_ has quit [Ping timeout: 265 seconds]
Pupeno_ has joined #ruby
User4587_ has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
vickleford has joined #ruby
dseitz_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
matchaw_ has joined #ruby
Juanchito has joined #ruby
claymore has joined #ruby
Pupeno has quit [Ping timeout: 256 seconds]
<graydot> anybody know how i can use the openssl lib to connect via a https proxy?
ringarin has quit [Ping timeout: 265 seconds]
WormDr1nk has quit [Ping timeout: 265 seconds]
yxhuvud has joined #ruby
matchaw has quit [Ping timeout: 245 seconds]
ForkingPaths has joined #ruby
ferr has quit [Remote host closed the connection]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<shevy> csmrfx is in a funny mood!
jimmyhoughjr has joined #ruby
<csmrfx> ask a funny question, get a funny answer!
jasooon has quit [Ping timeout: 272 seconds]
<_lazarevsky_> pipework: you still there?
workmad3 has quit [Ping timeout: 260 seconds]
<graydot> no, that is probably not what i want. I have a squid proxy, and i need to connect to the apple apns gateway through that. I dont want to create a proxy tunnel.
Pupeno has joined #ruby
<graydot> shevy: csmrfx is a bot?
tercenya has joined #ruby
<pipework> _lazarevsky_: Mostly dead.
* csmrfx command "is" not defined
thoraxe has quit [Ping timeout: 255 seconds]
<_lazarevsky_> so I iterate over an array of strings
<_lazarevsky_> users.each do |user|
<_lazarevsky_> during the first iteration all is dandy
<csmrfx> _lazarevsky_: pastie.org
<_lazarevsky_> at the begining of the second iteration, user is undefined
<_lazarevsky_> kk
<shevy> graydot half the nicks here are bots
razieliyo has joined #ruby
razieliyo has joined #ruby
<graydot> shevy: any thoughts about my question? :)
<shevy> I found the openssl docu awful
Pupeno_ has quit [Ping timeout: 244 seconds]
<shevy> I tried to get my IRC bot with openssl support
<shevy> there was some snippet on the www
<shevy> I did not understand it
<shevy> the docu was crap too
sinkensabe has quit [Remote host closed the connection]
<shevy> so I stopped dealing with ruby + *ssl
lampd1 has joined #ruby
wallerdev has quit [Quit: wallerdev]
sinkensabe has joined #ruby
chinaski has joined #ruby
<graydot> ok
<shevy> I think it was something similar to this but a bit more complicated: http://pastie.org/pastes/9684021/text
chinaski has quit [Client Quit]
fmcgeough has quit [Quit: fmcgeough]
<shevy> somewhere there must be options where you can set gateways
chinaski has joined #ruby
Neozonz has joined #ruby
Neozonz has joined #ruby
freerobby has joined #ruby
<shevy> if you can find the doc
<shevy> hahaha
<graydot> i dont think we can set gateways.
RichardLitt has quit [Quit: RichardLitt]
<graydot> what i am trying to do is to create a tcpsocket to the squid server, and then try to write openssl encrypted data over that socket.
<graydot> the tcpsocket is already connected to apple’s gateway
<graydot> i have got to the part where openssl has a reference to the tcp socket, but not sure how to start the handshake to the remote server.
<graydot> over the same tcp socket
bluOxigen has quit [Ping timeout: 264 seconds]
towski has joined #ruby
gaganjyot has quit [Quit: Leaving]
sinkensabe has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
spyderman4g63 has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
spyderman4g63 has joined #ruby
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
rubie has joined #ruby
alvaro_o has joined #ruby
<csmrfx> good thing you wrote a problem description
[[vedic]] has quit [Ping timeout: 265 seconds]
hellangel7 has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
thoraxe has joined #ruby
chinaski has quit [Quit: Leaving]
Lewix has joined #ruby
anaeem1 has quit [Remote host closed the connection]
skolman has joined #ruby
MightyFrogMan22 has left #ruby [#ruby]
wallerdev has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<rubie> hi all: im having a hard time figuring out a while loop that will keep a program running until the user enters the word "quit" anyone willing to take a look? https://gist.github.com/gabrie30/0ac5cd26d695bba9aa2d
<csmrfx> graydot: is that a clear handshake scenario?
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
godd2 has quit [Ping timeout: 255 seconds]
<graydot> csmrfx: yes
ldnunes has quit [Read error: Connection reset by peer]
nanderoo has quit [Quit: Leaving.]
graft has joined #ruby
dseitz_ has joined #ruby
anaeem1 has joined #ruby
<csmrfx> rubie: so, what happens, instead?
<rubie> it keeps going back into the loop
<rubie> or maybe it never leaves the while loop im not sure
anaeem1 has quit [Remote host closed the connection]
<csmrfx> well
<csmrfx> rubie: think about "while" for a while
<csmrfx> what are its rules?
Lewix has quit [Ping timeout: 255 seconds]
<rubie> it runs until a certain condition is met
rafadc has joined #ruby
ldnunes has joined #ruby
fabrice31 has joined #ruby
<rubie> thats all i got
fsapo has quit [Remote host closed the connection]
<csmrfx> so, do you get "exiting program" when you type quit?
<rubie> no thats the problem
gerep has joined #ruby
<rubie> it seems like it goes into the else statment
rkalfane has joined #ruby
<csmrfx> indeed
<rubie> but the if never gets executed
<rubie> even if the input is "quit"
claymore has quit [Ping timeout: 256 seconds]
<csmrfx> um, you mean, the first block of that if statement on line 37
bluenemo has quit [Ping timeout: 256 seconds]
<rubie> correct
fabrice31 has quit [Ping timeout: 245 seconds]
<rubie> are you saying its not an if statemnt?
<csmrfx> well actually the problem is not as simple as I thouight
<csmrfx> anyway, first of all, I would *never* use a while statement without a variable that holds a state
anaeem1 has joined #ruby
havenwood has quit [Remote host closed the connection]
<j2p2> one sec.
<rubie> what do you mena
micahjam97 has joined #ruby
<csmrfx> rubie: perhaps you could just use the "input" variable
<csmrfx> rubie: I mean "while true" is bad ruby.
<micahjam97> anybody here use rvm?
lightstalker has quit [Remote host closed the connection]
<sanguisdex> micahjam97: I bet people have but rvm has its own channel
djbkd has quit [Remote host closed the connection]
claymore has joined #ruby
jimbach has quit [Remote host closed the connection]
<csmrfx> rubie: second, once you fix that, you will not need to use "break" -- which inside another block is confusing -- will it break from the inner block or the outer? Do you know?
<micahjam97> I tried connecting to the rvm channel but it didn't connect
<csmrfx> so
<j2p2> rubie, strip the input
wallerdev has quit [Quit: wallerdev]
<j2p2> input = gets.to_s.strip
<j2p2> that'll fix it
ctp has joined #ruby
lightstalker has joined #ruby
<j2p2> also puts instead of put
xaxisx_ has quit [Remote host closed the connection]
<csmrfx> and yeah, there might be control chars in the inputted strings
jimbach has joined #ruby
<csmrfx> j2p2 will help you finish the job, rubie
<csmrfx> micahjam97: what is your rvm problem?
<rubie> csmrfx: i've also tried while input != "quit"
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rubie> same thing
<j2p2> I actually disagree with while true being poor form but I'm willing to be wrong :p
<csmrfx> rubie: sure, because what j2p2 said before
<csmrfx> (probably=
<csmrfx> *)
<sanguisdex> micahjam97: is your user name registerd?
<micahjam97> I was wondering if you could install a ruby version from source code that you downloaded
ringarin has joined #ruby
<csmrfx> to add more detail, whats the point of using while if you have to use if and break
<micahjam97> sanguisdex: what do you mean?
ForkingPaths has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hellangel7 has joined #ruby
<j2p2> well you don't need break, you can just return
<j2p2> or exit
<csmrfx> or, just set the state variable for the while
<sanguisdex> micahjam97: some channels will loong allow someone that has registered their handle with freenode
<jokke> hey
Zer0The0rem has quit [Quit: Leaving]
<micahjam97> sanguisdex: how do you register to freenode
mengu has joined #ruby
mengu has joined #ruby
<csmrfx> ask google
<pipework> tell google to tell you. Don't ask a bot for anything, they'll see it as weakness.
<jokke> i'm having problems with different ruby versions (including current 2.1.4). No matter what I execute, the program goes into infinite recursion of forks calling sh -c /usr/bin/ruby extconf.rb 2>&1
<j2p2> ok csmrfx I agree with you
<jokke> it quickly consumes all ram
<jokke> making the system completely unresponsive
Lewix has joined #ruby
<rubie> j2p2: your solution only works if the first thing you type is quit. if you enter another word to be translated, then hit quit it doesn't break
<csmrfx> wow, how did you manage that, jokke!
renderful has joined #ruby
rodfersou has quit [Quit: leaving]
<jokke> csmrfx: yeah.. you tell me!
<csmrfx> jokke: $ which ruby
<j2p2> hm, this one stacks the end of the calls
<jokke> csmrfx: /usr/bin/ruby
<j2p2> so you get 'exiting program' a bunch
<micahjam97> i got it registered, thanx
<csmrfx> jokke: $ ls -lA /usr/bin/ruby
<csmrfx> and repeat that until you find it
<rubie> j2p2: yes this works
<jokke> csmrfx: -rwxr-xr-x 1 root root 6280 Oct 27 20:17 /usr/bin/ruby
<gerep> Can someone please help me improve this code? https://gist.github.com/gerep/1cae2146316c6ccfd27b
<jokke> csmrfx: repeat what?
RichardLitt has joined #ruby
micahjam97 has quit [Quit: Page closed]
Lewix has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
ndrei has joined #ruby
Lewix has joined #ruby
<csmrfx> jokke: ok so it is your ruby executable spawning those. my which ruby points to a link, which points to ruby1.9.1 executable...
renderfu_ has quit [Ping timeout: 250 seconds]
vickleford has quit [Quit: vickleford]
darkness has joined #ruby
<jokke> hm ok
darkness has quit [Max SendQ exceeded]
<csmrfx> jokke: so you have not installed rvm or rbenv
<jokke> i'm using arch linux
<csmrfx> +?
<jokke> i've got chruby
<jokke> but using system ruby in this case
ramfjord has quit [Ping timeout: 272 seconds]
<jokke> (which is why `which ruby` points to /usr/bin/ruby)
unshadow has joined #ruby
<csmrfx> and simple test like 'ruby -v' fails too?
pauly_oc has joined #ruby
<jokke> nope
<jokke> that works
<unshadow> what does $2 means ?
<jokke> csmrfx: hm and ruby -e 'puts "foo"' works too
<csmrfx> ok so its your proggy, then, likely
sambao21 has joined #ruby
<bricker`work> jokke: sounds like a problem with glibc
rafadc has quit [Remote host closed the connection]
<bricker`work> jokke: I've had a similar problem before, it was that Passenger was calling a c function that was buggy in the specific version of glibc that was installed
<jokke> bricker`work: ouch
<bricker`work> upgrading glibc fixed it
<jokke> ok
<jokke> i'm running latest glibc though
<csmrfx> is this for vim?
Lewix has quit [Ping timeout: 256 seconds]
ldnunes has quit [Quit: Leaving]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jokke> huh?
hellangel7 has quit [Remote host closed the connection]
thrillagorilla has joined #ruby
<csmrfx> need. more. data.
<Hanmac> unshadow: global variable, regexpmatching, 2rd group
<pipework> csmrfx: stop channeling the NSA.
<unshadow> Hanmac: ohhh ok, that makes sense (kinda) like in perl...
<jokke> bricker`work: glibc version is 2.20
* csmrfx : pipework unknown command "stop"
<jokke> bricker`work: but i just reinstalled it
<jokke> still no change
<csmrfx> restart your shell?
<jokke> nope
<csmrfx> yepe
<pipework> csmrfx: Would have been funnier if you had used the make error for unknown target
<jokke> csmrfx: i mean didn't help
<pipework> Imagine an IRC bot that just calls `make $COMMAND_FROM_IRC`.
thrillagorilla has quit [Client Quit]
noop has quit [Ping timeout: 265 seconds]
thrillagorilla has joined #ruby
SolarSailor has joined #ruby
altamic has joined #ruby
EminenceHC has joined #ruby
chrishough has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
gerep has quit [Remote host closed the connection]
adriancb has joined #ruby
thrillagorilla has quit [Client Quit]
<EminenceHC> How can I sort an array of dates chronologically? They were passed to an array as a date object, I am not sure if it retains its date status after it is in the array. For example I want to sort: [Mon, 20 Oct 2014, Mon, 06 Oct 2014, Mon, 13 Oct 2014]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<pipework> Call sort?
<csmrfx> how about using a sort with a block containing your own logic?
<pipework> Or call sort and call reverse?
jdj_dk has quit [Ping timeout: 258 seconds]
<Hanmac> >> require "date";Date.today.respond_to?(:<=>)
<eval-in__> Hanmac => true (https://eval.in/212492)
<pipework> EminenceHC: Learn yourself what Comparable is in ruby.
<apeiros> EminenceHC: objects don't change their class
<EminenceHC> pipework: I will done learned it
nor has quit [Ping timeout: 256 seconds]
<pipework> EminenceHC: good learnings to you
akamel has quit [Quit: Leaving.]
<apeiros> EminenceHC: adding an object to an array also does not change it. would be rather horrible if that was the case.
<EminenceHC> pipework: ahah thanks
<EminenceHC> apeiros: Oh good!
<csmrfx> EminenceHC: do you use "ri"?
<EminenceHC> csmrfx: Not sure what ri is?
<csmrfx> $ ri Comparable
reinaldob has quit [Remote host closed the connection]
chrishough has joined #ruby
<EminenceHC> csmrfx: I dont think so.
<csmrfx> it is good, install it
entrenador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> and after that, also ri Comparable
<EminenceHC> Alrighty
<csmrfx> also, irb
<csmrfx> those are your friends
nullsign has joined #ruby
<nullsign> when you install a new version of ruby via rvm, how to make you make it copy all the files to the normal bin dirs, like /usr/bin ?
niklasb_ has joined #ruby
niklasb_ has quit [Remote host closed the connection]
<nullsign> * /usr/bin/ruby is missing, etc
niklasb_ has joined #ruby
<Hanmac> nullsign: rvm does not install binaries into /usr/bin ...
SolarSailor has quit [Ping timeout: 256 seconds]
<csmrfx> nullsign: did you read the rvm documentation first?
<pipework> EminenceHC: It's a command line ruby documentation tool.
jasooon has joined #ruby
<nullsign> so.. how does one get ruby into /usr/bin and such?
<nullsign> for consistency?
<pipework> I don't use it because I'm lame, use a Mac, and love the everloving shit out of Dash.app
<pipework> nullsign: You have your system install it.
<nullsign> i cant do that
<pipework> Otherwise you install it to /usr/local
<nullsign> my package managaer wants to install an ancient version of ruby
<nullsign> thats why i used rvm
<pipework> nullsign: For development, don't install it to /usr/local, use chruby and ruby-install
djbkd has joined #ruby
<nullsign> ruby-install?
chrishou_ has joined #ruby
<csmrfx> look
<pipework> It'll install it to a place in your home directory and chruby will handle setting rubies in path for you.
<pipework> csmrfx: where
<csmrfx> if you dont read the rvm docs, forget it
<nullsign> let me ask this question this way then
<nullsign> if rvm is not meant for installing ruby to centos, what is?
<nullsign> since i can't use yum.
chrishough has quit [Ping timeout: 264 seconds]
<csmrfx> rvm is only meant for installing with humans that can rtfm.
<pipework> nullsign: RVM is one way to install rubies.
<nullsign> csmrfx: please blow me.
pyx has joined #ruby
<pipework> ruby-install is smaller, simpler, and lacks features you probably don't need.
<nullsign> sounds good.
<csmrfx> nullsign: actually, your mom did, and you are now ignored
<nullsign> oh dear, the horror, a rude and unhelpful people is ignoring me.
<nullsign> how ever shall i go on...
<jhass> nullsign: did you read rvm docs?
<pipework> csmrfx: It makes me sad when you publicly announce you're ignoring him. It's much more fun to say something and then leave him hanging thinking you're just pretending not to see his messages.
niklasb_ has quit [Client Quit]
<nullsign> i already wrote csmrfx off as useless 4 lines back.
<nullsign> typical channel brute.
<pipework> nullsign: So, anyways, `rvm implode` and look into ruby-install. Is this a development machine?
kireevco1 has joined #ruby
<nullsign> nah prod.
kireevco has quit [Read error: Connection reset by peer]
<pipework> nullsign: Ah then don't do either of these things.
<pipework> nullsign: So, for production you'll want to get a repo with recent rubies.
<pipework> Let your system handle packages. I don't ever use CentOS ever, so I don't know where recent repos are for that.
jasooon has quit [Ping timeout: 260 seconds]
<nullsign> most of my crap is deb, i just have this crappy centos box now
<pipework> But if you don't mind having a compiling toolchain installed in production (ew), I guess ruby-install won't hurt.
<pipework> I'd suggest the system package manager with up to date ruby repos though. Which way do you want to go?
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
Guest23029 has quit [Remote host closed the connection]
rkalfane has joined #ruby
jimbach has quit [Quit: Leaving...]
Lewix has joined #ruby
m8 has joined #ruby
econerd4ever has quit [Read error: Connection reset by peer]
altamic has quit [Quit: altamic]
<philwantsfish> All of the articles i've about about using popen say you have to write, close_write, read or else the read may hang. But how do I read input, then write? Or read,write, read, write, etc? I can't find any information on this
<philwantsfish> and my little test scripts keep hanging :(
* philwantsfish is confused
jimmyhoughjr has joined #ruby
jdrumheller has quit [Quit: Leaving]
pen has joined #ruby
Kricir has quit [Remote host closed the connection]
jzinedine has joined #ruby
entrenador has joined #ruby
<csmrfx> philwantsfish: which popen are you using?
<csmrfx> IO.popen?
Kricir has joined #ruby
<philwantsfish> i've tried IO.popen and popen3. Im okay with using any implementation
<csmrfx> mind me asking, what are you using it for?
jokke has quit [Quit: WeeChat 1.0.1]
ahmadajmi has quit [Ping timeout: 272 seconds]
<philwantsfish> Im just running a .bat file, reading and printing each line to stdout. Eventually when the bat file pauses i want to send a keystroke to it so it finishes executin
entrenador has quit [Client Quit]
mikepack has joined #ruby
nor has joined #ruby
<csmrfx> well, me, anyhow
jokke has joined #ruby
jdj_dk has joined #ruby
<philwantsfish> this guy has the exact problem! ill try this out :), ty. Though his solution is using PTY, is that Windows friendly? Sounds Linuxy
rbrs has quit [Remote host closed the connection]
jjasonclark has quit [Quit: jjasonclark]
Kricir has quit [Ping timeout: 265 seconds]
<csmrfx> hm, I don't know why not, should work
ariera has joined #ruby
mfmfmfmfmfmf has joined #ruby
mfmfmfmfmfmf has quit [Client Quit]
mfmfmfmfmfmf has joined #ruby
<csmrfx> ok, I'm going for a walk, ta!
<philwantsfish> bye
failshell has joined #ruby
aclearman037 has quit [Quit: I'm out!]
Ankhers has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
djbkd has quit [Remote host closed the connection]
jimbach has joined #ruby
jack_rabbit has quit [Quit: Leaving]
iamjarvo has joined #ruby
jottr has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
fr1eza has quit [Ping timeout: 255 seconds]
allcentury has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
tesaf has quit [Quit: Lost terminal]
fantazo has quit [Quit: Verlassend]
chipotle has quit [Quit: cya]
pen has quit []
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dermot has quit [Quit: Lost terminal]
hamakn has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
pauly_oc has joined #ruby
geggam has quit [Ping timeout: 255 seconds]
jhwhite has quit [Quit: jhwhite]
rafadc has joined #ruby
kireevco has joined #ruby
rafadc has quit [Client Quit]
jimbach has quit [Remote host closed the connection]
kireevco1 has quit [Read error: Connection reset by peer]
bmurt has quit []
jimbach has joined #ruby
zorak8 has joined #ruby
hamakn has quit [Ping timeout: 258 seconds]
failshel_ has joined #ruby
pyx has quit [Quit: WeeChat 0.4.3]
ramfjord has joined #ruby
agjacome has joined #ruby
Insanity133 has joined #ruby
mikepack has quit [Remote host closed the connection]
bluenemo has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
kamilc__ has quit [Quit: Leaving...]
havenwood has joined #ruby
failshell has quit [Ping timeout: 260 seconds]
jdj_dk has quit [Read error: Connection reset by peer]
skolman has quit [Remote host closed the connection]
arup_r has quit [Quit: Leaving.]
otherj has quit [Quit: .]
failshel_ has quit [Ping timeout: 256 seconds]
skolman_ has joined #ruby
treehug8_ has quit [Ping timeout: 256 seconds]
Insanity133 has quit [Ping timeout: 265 seconds]
zB0hs has quit [Quit: Textual IRC Client: www.textualapp.com]
x1337807x has joined #ruby
iamjarvo has joined #ruby
jzinedine has quit [Ping timeout: 265 seconds]
Xeago has joined #ruby
skolman_ has quit [Ping timeout: 255 seconds]
skolman_ has joined #ruby
workmad3 has joined #ruby
treehug88 has joined #ruby
chrishou_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jespada has quit [Quit: Leaving]
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
mike32 has quit [Quit: Leaving]
aspires has quit []
sdrew has joined #ruby
nfk has quit [Quit: yawn]
workmad3 has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
Soda has quit [Remote host closed the connection]
shazaum has quit [Quit: This computer has gone to sleep]
aspires has joined #ruby
freerobby has joined #ruby
xymbol has quit [Quit: Be back later ...]
Synthead has quit [Read error: Connection reset by peer]
allcentury has joined #ruby
weaksauce has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago has quit [Ping timeout: 264 seconds]
jjasonclark has joined #ruby
graydot has quit [Quit: graydot]
charliebr73 has joined #ruby
jenrzzz has joined #ruby
ghr has joined #ruby
hamakn has joined #ruby
ki0 has joined #ruby
Sonny|3oy has quit [Remote host closed the connection]
VanillaGoat has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
skolman_ has quit [Remote host closed the connection]
skolman_ has joined #ruby
ndrei has joined #ruby
adriancb has quit [Remote host closed the connection]
it0a has quit [Quit: WeeChat 1.0.1]
VanillaGoat_ has quit [Ping timeout: 255 seconds]
pskosinski has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
CorySimmons has joined #ruby
skolman_ has quit [Ping timeout: 250 seconds]
RichardLitt has left #ruby [#ruby]
jobewan has quit [Quit: Leaving]
jhwhite has joined #ruby
nor has quit [Quit: Lost terminal]
omosoj has quit [Quit: leaving]
Morkel has quit [Quit: Morkel]
mrjensen has joined #ruby
emmesswhy has joined #ruby
sussman has quit [Read error: Connection reset by peer]
carlyle has joined #ruby
beef-wellington has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
jdj_dk has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
wjimenez5271 has quit [Remote host closed the connection]
chrishough has joined #ruby
alem0lars|away is now known as alem0lars
carlyle has quit [Client Quit]
sinkensabe has joined #ruby
St_Marx has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
skolman has joined #ruby
freerobby has quit [Quit: Leaving.]
hmsimha has joined #ruby
diegoviola has joined #ruby
charliebr73 has quit [Quit: Leaving]
Synthead has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
pauly_oc has joined #ruby
kireevco1 has joined #ruby
moritzs has quit [Remote host closed the connection]
kireevco has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
tier has quit [Remote host closed the connection]
jimmyhoughjr has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
jerius has quit []
jenrzzz has joined #ruby
sussman has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
andrewlio has quit [Quit: Leaving.]
doodlehaus has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Channel6 has joined #ruby
sailias has quit [Quit: Leaving.]
claymore has quit [Quit: Leaving]
wjimenez5271 has joined #ruby
spyderman4g63 has quit [Ping timeout: 240 seconds]
n_blownapart has joined #ruby
axl_ has quit [Quit: axl_]
oleo__ has joined #ruby
benzrf is now known as benzrf|offline
ki0 has quit [Remote host closed the connection]
koderok has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo is now known as Guest39691
ki0 has joined #ruby
Guest39691 has quit [Ping timeout: 255 seconds]
ursooperduper has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Quit: Computer has gone to sleep.]
godd2 has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
jhwhite has quit [Quit: jhwhite]
jdj_dk has quit [Ping timeout: 258 seconds]
sambao21 has joined #ruby
l3ck has joined #ruby
dkphenom has joined #ruby
pskosinski__ has joined #ruby
unshadow has quit [Quit: leaving]
treehug88 has quit []
mary5030 has quit [Remote host closed the connection]
snath has quit [Ping timeout: 256 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
genpaku has joined #ruby
l3ck has quit [Quit: Bye!]
freerobby has quit [Quit: Leaving.]
pskosinski__ is now known as pskosinski
banister has joined #ruby
pskosinski has joined #ruby
pskosinski has joined #ruby
pskosinski has quit [Changing host]
davasaurous has joined #ruby
l3ck has joined #ruby
n_blownapart has quit [Remote host closed the connection]
ringarin has quit [Ping timeout: 255 seconds]
l3ck has quit [Client Quit]
wallerdev has joined #ruby
ptrrr has quit [Quit: ptrrr]
crazydiamond has quit [Ping timeout: 265 seconds]
musl has joined #ruby
anaeem1 has joined #ruby
kirun has quit [Quit: Client exiting]
mrjensen has quit [Remote host closed the connection]
manzo has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
wallerdev has quit [Ping timeout: 260 seconds]
narcan has joined #ruby
codecop has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
Stuffness has quit []
musl has quit [Quit: WeeChat 1.0.1]
narcan has quit [Read error: Connection reset by peer]
graydot has joined #ruby
fmcgeough has joined #ruby
lxsameer has quit [Quit: Leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
emmesswhy has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
siwica has joined #ruby
jdj_dk has joined #ruby
jasooon has joined #ruby
sdwrage has joined #ruby
ki0 has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 256 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bMalum has quit [Quit: bMalum]
fmcgeough has quit [Quit: fmcgeough]
greenride has joined #ruby
alem0lars is now known as alem0lars|away
greenride has left #ruby [#ruby]
relix has joined #ruby
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jasooon has quit [Ping timeout: 244 seconds]
Channel6 has quit [Quit: Leaving]
n_blownapart has joined #ruby
workmad3 has joined #ruby
musl has joined #ruby
fmcgeough has joined #ruby
levity_island has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
Pupeno has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
melik has quit [Quit: (null)]
m8 has quit [Quit: Sto andando via]
danijoo_ has joined #ruby
pauly_oc has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
aspires has quit []
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stunder has quit [Quit: peace out bitches]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
jimbach has quit [Remote host closed the connection]
chrishough has joined #ruby
aspires has joined #ruby
tuelz has quit [Ping timeout: 256 seconds]
Insanity133 has joined #ruby
lmickh has quit [Remote host closed the connection]
aspires has quit [Client Quit]
kireevco1 has quit [Quit: Leaving.]
benzrf|offline is now known as benzrf
djbkd has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 260 seconds]
jenrzzz_ has joined #ruby
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
Insanity133 has quit [Ping timeout: 245 seconds]
havenwood has quit []
CorySimmons has quit [Quit: Bye!]
davasaurous has quit [Remote host closed the connection]
aspires has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdj_dk has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
freerobby has quit [Client Quit]
graydot has quit [Quit: graydot]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
Rhainur1 has joined #ruby
spider-mario has quit [Remote host closed the connection]
Seich has quit [Ping timeout: 272 seconds]
Rhainur has quit [Ping timeout: 240 seconds]
phutchins has quit [Ping timeout: 265 seconds]
timonv_ has joined #ruby
pentanol has joined #ruby
tkuchiki has joined #ruby
einarj has joined #ruby
timonv_ has quit [Remote host closed the connection]
thsig has joined #ruby
thsig has quit [Remote host closed the connection]
thsig has joined #ruby
cmckee has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
Pupeno has joined #ruby
ariera has quit [Remote host closed the connection]
ndrei has joined #ruby
skolman has quit [Remote host closed the connection]
skolman_ has joined #ruby
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davasaurous has joined #ruby
thsig_ has joined #ruby
banister has joined #ruby
aspires has quit []
skolman_ has quit [Ping timeout: 240 seconds]
renderful has quit [Remote host closed the connection]
skolman_ has joined #ruby
thsig has quit [Read error: Connection reset by peer]
thsig__ has joined #ruby
Pupeno_ has joined #ruby
JDHankle has quit [Remote host closed the connection]
adamnbowen has joined #ruby
banister has quit [Ping timeout: 240 seconds]
Joufflu has joined #ruby
Spami has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
thsig__ has quit [Client Quit]
wjimenez5271 has quit [Remote host closed the connection]
thsig_ has quit [Ping timeout: 260 seconds]
wjimenez5271 has joined #ruby
adamnbowen has quit [Client Quit]
adamnbowen has joined #ruby
djbkd has joined #ruby
<pentanol> someone around?
<pentanol> hello
Tranquility____ has quit [Quit: Connection closed for inactivity]
<pentanol> if someone can help me with ruby..
<pentanol> I don't know why this error happening:
<pentanol> /www/redmine-2.4.7/config.ru:1:in `<main>': cannot load such file -- rack/builder (LoadError)
zorak8 has quit [Read error: Connection reset by peer]
zorak_ has joined #ruby
mengu has quit [Remote host closed the connection]
<pentanol> I've installed all from bundle install and bundle update, but this error anyway happening
spastorino has quit [Quit: Connection closed for inactivity]
nateberkopec has quit [Quit: Leaving...]
tkuchiki has quit [Remote host closed the connection]
wjimenez5271 has quit [Ping timeout: 255 seconds]
pen has joined #ruby
tkuchiki has joined #ruby
pskosinski has left #ruby [#ruby]
robbyoconnor has quit [Quit: Konversation terminated!]
chipotle has joined #ruby
fabrice31 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
jdj_dk has joined #ruby
icarus has quit [Remote host closed the connection]
Neozonz|Disc2 has quit [Ping timeout: 244 seconds]
tuelz has joined #ruby
ghr has joined #ruby
cndiv has quit [Ping timeout: 244 seconds]
skolman_ has quit [Remote host closed the connection]
PeterBoy has quit [Quit: Bye Bye]
skolman has joined #ruby
<riceandbeans> any women around who wear makeup, I need to ask a question
Pupeno_ has quit [Remote host closed the connection]
<riceandbeans> would that be lipstick or red paint?
<csmrfx> pentanol: have you checked your paths
tkuchiki has quit [Ping timeout: 256 seconds]
skolman has quit [Remote host closed the connection]
skolman_ has joined #ruby
<csmrfx> riceandbeans: off topic in #off-topic
nateberkopec has joined #ruby
aspires has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
adamnbowen has quit [Ping timeout: 255 seconds]
enebo has quit [Quit: enebo]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
aspires has quit [Client Quit]
_lazarevsky_ has quit [Quit: Page closed]
ghr has quit [Ping timeout: 258 seconds]
davasaurous has quit [Remote host closed the connection]
JDHankle has joined #ruby
<pentanol> csmrfx what paths?
<csmrfx> like, $̛PATH in bash
bruno- has quit [Ping timeout: 265 seconds]
jjasonclark has quit [Quit: jjasonclark]
n_blownapart has quit []
justinmburrous has joined #ruby
<pentanol> yes, nothing specian in there /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
<csmrfx> from the perspective of the failing process, that is
<pentanol> - GEM PATHS:
aspires has joined #ruby
<pentanol> - /usr/lib/ruby/gems/1.9.1
<pentanol> that's from gem env
<csmrfx> well, must be some reason rack cannot be loaded
<csmrfx> heh, would trying the last line there help?
<pentanol> puma -p 3000 -e production ? this?
<csmrfx> yeah
<csmrfx> you forgot some
DLSteve has quit [Quit: Leaving]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has joined #ruby
Channel6 has joined #ruby
jheg has quit [Quit: jheg]
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
jottr_ has joined #ruby
<pentanol> puma notfound on my system
aspires has quit [Ping timeout: 260 seconds]
Photism has quit [Quit: Leaving]
<pentanol> I use thin for that
<pentanol> and hin say so...
<pentanol> thin*
<csmrfx> ok
jottr has quit [Ping timeout: 255 seconds]
Kricir has joined #ruby
ariera has joined #ruby
<csmrfx> well, you leave me guessing
byprdct has joined #ruby
reinaldob has joined #ruby
<nullsign> anyone know what gem provides this? "active_support/core_ext/object/to_query"
smcquaid has quit [Ping timeout: 255 seconds]
<nullsign> for some reason; activesupport-core-ext doesnt do it.
ndrei has quit [Ping timeout: 250 seconds]
cassianoleal has quit [Ping timeout: 258 seconds]
<pentanol> csmrfx no other mindes?
banister has joined #ruby
<csmrfx> pentanol: mindes?
ariera has quit [Ping timeout: 244 seconds]
kireevco1 has joined #ruby
sussman has quit [Ping timeout: 255 seconds]
kireevco has quit [Read error: Connection reset by peer]
weaksauce has joined #ruby
reinaldob has quit [Ping timeout: 258 seconds]
agjacome has quit [Ping timeout: 272 seconds]
<pentanol> ideal, I mean
<pentanol> ideas*
<csmrfx> sure
<csmrfx> let us hire a psychic, so we can telepathically try to find out what you are doing
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> haha so it is actually me who leaves guessing!
csmrfx has left #ruby ["ta!"]
ixti has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
sussman has joined #ruby
<pentanol> I do thin start --config /www/redmine-2.4.7/config/redmine.yml and gets: http://pastebin.ca/2865925
banister has quit [Ping timeout: 250 seconds]
tkuchiki has joined #ruby
charliesome has joined #ruby