<laphlaw>
This is on a OS X Yosemite 10.10 using RVM
<zenspider>
did you look at mkmf.log like it says?
<laphlaw>
I've googled around quite a bit, but haven't been able to figure it out
<laphlaw>
I tried searching for the mkmf.log but it was no where to be found
thagomizer has quit [Quit: Leaving.]
<laphlaw>
the only file in ~/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/debase-0.1.0/ is the 'gem_make.out' file
<bougyman>
laphlaw: did you try CC=clang ?
<zenspider>
it says where the build is
MichD is now known as michd
<laphlaw>
bougyman: not sure what you mean.. as in set an environment variable?
<bougyman>
laphlaw: we've got a few mac devs at work that went up to yosemite, all of them have to use CC=cland, apple-gcc42 is breaking compiling of gems.
<bougyman>
export CC=clang
<bougyman>
then try again.
<bougyman>
yeah.
<zenspider>
apple-gcc42 is ancient and shouldn't be installed/used anymore
<bougyman>
it was default on this dude's box.
<laphlaw>
bougyman: thanks, trying again...
<bougyman>
I thought clang was the default
<bougyman>
but he was definitely compiling with apple-gcc42
<bougyman>
perhaps a brew thing?
<bougyman>
iono much os X
<laphlaw>
how can I tell what compiler its using?
<laphlaw>
I recently updated to the latest Xcode 6.1 as well
<bougyman>
echo $CC if it's set.
<bougyman>
otherwise it will default to _something_
emmesswhy has joined #ruby-lang
<bougyman>
i dunno what.
<bougyman>
probably /usr/bin/cc
<laphlaw>
ok, well, it failed again.. looks like the same error
<bougyman>
balls
<bougyman>
what's the mkmf.log say?
<havenwood>
laphlaw: works on my yosemite
tenderlove has joined #ruby-lang
<laphlaw>
that's the thing... there is no mkmf.log
ender|dkm has quit [Ping timeout: 255 seconds]
<laphlaw>
unless I'm looking for it in the wrong folder
<bougyman>
or /Users/neil/.gem/ruby/2.1.0/extensions/x86_64-darwin-12/2.1.0-static/debase-0.0.9/gem_make.out ?
mikecmpbll has quit [Remote host closed the connection]
<laphlaw>
havenwood: I don't doubt it; i'm sure something's up with my box
<havenwood>
laphlaw: do you have the brew apple-gcc42 package installed?
<zenspider>
bougyman: gems will use whatever the ruby itself was built with
<zenspider>
in rbconfig.rb
mikecmpbll has joined #ruby-lang
<bougyman>
zenspider: ah.
<laphlaw>
havenwood: I'm using RVM
<havenwood>
laphlaw: #rvm is a very helpful channel, especially when mpapis is around
<laphlaw>
bougyman: the gem_make.out file indicates the same error as in my gist paste
<bougyman>
this doesn't seem like an rvm problem.
<havenwood>
laphlaw: rvm get stable && rvm requirements
<laphlaw>
havenwood: done. tried installing the gem again, failed
<havenwood>
worth a shot, but like bougyman said
<laphlaw>
yeah I don't think its RVM either
|jemc| has quit [Ping timeout: 258 seconds]
<laphlaw>
do I need the apple-gcc42 brew?
<havenwood>
no
<havenwood>
ignore me
Averna has joined #ruby-lang
<laphlaw>
Well, maybe there's another way around this. Basically, I'm trying to get the debugger working in 6.3.3
<laphlaw>
It failed installing it using the IDE, so thought I'd try manually on the command line
spastorino has quit [Quit: Connection closed for inactivity]
<laphlaw>
sorry, I should say 6.3.3 of RubyMine. Forgot to mention what application :)
cmckee_ has joined #ruby-lang
AmBienCeD has quit [Read error: Connection reset by peer]
cmckee has quit [Ping timeout: 265 seconds]
cmckee_ is now known as cmckee
jhwhite has quit [Quit: jhwhite]
laphlaw has quit [Ping timeout: 246 seconds]
mistym has quit [Remote host closed the connection]
cmckee has quit [Ping timeout: 245 seconds]
|jemc| has joined #ruby-lang
dvgroc has joined #ruby-lang
tkuchiki has joined #ruby-lang
redgetan has joined #ruby-lang
pastuxso has joined #ruby-lang
shinnya has quit [Ping timeout: 245 seconds]
Steve_Jobs has joined #ruby-lang
Steve_Jobs has quit [Client Quit]
Steve_Jobs has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Steve_Jobs has quit [Client Quit]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
Steve_Jobs has joined #ruby-lang
cmckee has joined #ruby-lang
jimbach has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
j4cknewt has joined #ruby-lang
snsei has joined #ruby-lang
hellangel7 has joined #ruby-lang
gdave_ has joined #ruby-lang
crackity_jones has joined #ruby-lang
diegoviola has quit [Remote host closed the connection]
spastorino has joined #ruby-lang
crackity_jones has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cmckee has quit [Quit: cmckee]
j4cknewt has quit [Remote host closed the connection]
jbardin has quit [Quit: jbardin]
|jemc| has quit [Quit: WeeChat 0.4.3]
Lewix has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
gdave_ has quit []
djbkd has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
tylersmith has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
arrubin has quit []
chris2 has quit [Ping timeout: 265 seconds]
mistym has joined #ruby-lang
cmckee has joined #ruby-lang
hramrach_ has quit [Ping timeout: 246 seconds]
A0v4 has quit [Ping timeout: 265 seconds]
blowmage has quit [Ping timeout: 260 seconds]
Aova has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
chris2 has joined #ruby-lang
j4cknewt has joined #ruby-lang
shemerey has joined #ruby-lang
blowmage has joined #ruby-lang
_lexjm has joined #ruby-lang
_lexjm has quit [Max SendQ exceeded]
j4cknewt has quit [Ping timeout: 265 seconds]
_lexjm has joined #ruby-lang
Asher has quit [Quit: Leaving.]
rkowalick has joined #ruby-lang
mistym_ has joined #ruby-lang
hramrach_ has joined #ruby-lang
mistym has quit [Ping timeout: 265 seconds]
nathanstitt has quit [Ping timeout: 255 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nathanstitt has joined #ruby-lang
zzach has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
zzach has joined #ruby-lang
emmesswhy has joined #ruby-lang
<rkowalick>
So i discovered a neat little trick for testing a flat file of methods in ruby
dvgroc has quit [Ping timeout: 246 seconds]
<rkowalick>
basically testing a bunch of def' in a single file
kiddorails has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
<vrinek>
I would have expected it to throw an NameError
<workmad3>
vrinek: looks similar to the classic 'a = a'
<vrinek>
true
<vrinek>
is 'a = a' considered a bug or a feature?
<vrinek>
or something in-between?
<workmad3>
I consider it in-between personally
<workmad3>
it's a side-effect of a behaviour that enables several useful features
<vrinek>
such as?
<workmad3>
a ||= b
<vrinek>
but this expands to 'a || a = b', no?
<workmad3>
vrinek: try that if 'a' doesn't exist ;)
<apeiros>
vrinek: which would raise, if not for that behavior
<vrinek>
true
<vrinek>
:/
snsei has quit [Ping timeout: 256 seconds]
<workmad3>
vrinek: basically, all assignments will immediately create the local variable on the lhs if it doesn't already exist in the current scope, and initialize it to 'nil'
<Noonipoony>
Is there are stored chat details for yesterday?
<Noonipoony>
Or IRC bot something?
<vrinek>
workmad3, apeiros: thanks for the clarifications
hramrach_ has quit [Write error: Connection reset by peer]
ruby-lang637 has joined #ruby-lang
<ruby-lang637>
i wanna unzip a zip archive which contains one txt file, Could anyone look what I' am doing wrong? I wanna unpack it to the current directory
<laphlaw>
jhass: that gist is the the output of gem_make.out
<havenwood>
laphlaw: http is dead and gone
snsei has quit [Remote host closed the connection]
<havenwood>
https only
<jhass>
mmh, 128. Isn't that a segfault?
q_leonetti has joined #ruby-lang
<laphlaw>
that I'm not sure
<jhass>
can you find the mkmf.log ?
<laphlaw>
yeah that's the problem.. its not there :(
<laphlaw>
so this I have found out: installing that same gem using the built in ruby on Yosemite works.
<laphlaw>
but if I introduce RVM into the mix and install it with that ruby, it fails
snooc has quit [Quit: see-ya]
<laphlaw>
unfortunately, I need this particular build of ruby
<laphlaw>
which is why I'm wondering if I couldn't just copy that gem into the folder of the ruby/gem install i *am* using
<jhass>
does it work under RVM if you install the same version under RVM that yosemite ships?
<jhass>
depends on the versions involved
loinclot_ has quit [Remote host closed the connection]
<laphlaw>
I'll try that now...
loincloth has joined #ruby-lang
Miphix has quit [Quit: Leaving]
q_leonetti has quit [Quit: q_leonetti]
danijoo_ has quit [Remote host closed the connection]
spuk has quit [Ping timeout: 255 seconds]
danijoo has joined #ruby-lang
<laphlaw>
jhass: wow, it does work if i use 2.0.0 on RVM
kiddorails has joined #ruby-lang
<jhass>
so, as havenwood noticed you're trying to install an older version of the gem
danijoo_ has joined #ruby-lang
<jhass>
did you try the latest version on your target ruby?
<laphlaw>
yes, i've tried specifying the newest version
<laphlaw>
strangely, the output you see in that gist sometimes references an old version
spuk has joined #ruby-lang
<laphlaw>
which I think may have something to do with the issue
<jhass>
that's hard to say without watching what you're actually doing ;)
hellangel7 has quit [Remote host closed the connection]
<laphlaw>
literally typing: gem install debase
<jhass>
and that picks different versions?
<jhass>
hard to believe
<laphlaw>
no, I think it does pick 0.1.0, but the output when it fails sometimes references an older version.. I'll look more into that
Quackmatic is now known as Elite6809
danijoo has quit [Ping timeout: 250 seconds]
mistym has quit [Remote host closed the connection]
hellangel7 has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
jgpawletko is now known as jgpawletko_away
brianpWins has joined #ruby-lang
jgpawletko_away has quit [Quit: jgpawletko_away]
jgpawletko has joined #ruby-lang
benlovell has joined #ruby-lang
allomov has quit [Remote host closed the connection]
laphlaw has quit [Ping timeout: 246 seconds]
jds has quit [Quit: Connection closed for inactivity]
benlovell has quit [Ping timeout: 272 seconds]
mbj has quit [Ping timeout: 256 seconds]
mbj has joined #ruby-lang
thagomizer has joined #ruby-lang
_lexjm has joined #ruby-lang
havenwood has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
diegoviola has joined #ruby-lang
imkmf has joined #ruby-lang
dangerousdave has joined #ruby-lang
bradcliffe has joined #ruby-lang
mistym has joined #ruby-lang
diegoviola has quit [Remote host closed the connection]
q_leonetti has joined #ruby-lang
tylersmith has joined #ruby-lang
sepp2k_ has quit [Quit: Konversation terminated!]
<__butch__>
Silly question, because my brain is old and feeble and apparently my memory as well: Prime is in the standard library, right?
bradcliffe has quit [Ping timeout: 255 seconds]
<tbuehlmann>
__butch__, right
diegoviola has joined #ruby-lang
bradcliffe has joined #ruby-lang
q_leonetti has quit [Ping timeout: 265 seconds]
iliketurtles has joined #ruby-lang
<__butch__>
OK, since I am a man-with-very-little-brain (and apparently very-little-memory), I seem to recall being able to use the Prime class without having to require anything. Does this match with reality?
|jemc| has quit [Quit: WeeChat 0.4.3]
<tbuehlmann>
no, since it's standard library you need to require 'prime'
hellangel7 has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
imperator has joined #ruby-lang
<__butch__>
Okey doke. I'm going back to bed and hoping that this was all a bad dream. :-)
goodcodeguy has joined #ruby-lang
<__butch__>
That's what I thought, but somebody was trying to convince me otherwise.
<tbuehlmann>
:)
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
allomov has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
snooc has quit [Quit: see-ya]
mistym has quit [Remote host closed the connection]
cmckee has quit [Ping timeout: 265 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
cmckee has joined #ruby-lang
elia has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
quimrstorres has joined #ruby-lang
Sangwoo has quit [Ping timeout: 255 seconds]
rahul_j has quit [Quit: rahul_j]
cmckee has quit [Quit: cmckee]
AKASkip has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby-lang
jbardin has joined #ruby-lang
futilegames has quit [Quit: futilegames]
Lewix has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mistym has joined #ruby-lang
MichD is now known as michd
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
cmckee has joined #ruby-lang
dangerousdave has joined #ruby-lang
bradcliffe has quit [Remote host closed the connection]
oleo is now known as Guest91476
oleo__ has joined #ruby-lang
oleo__ has quit [Read error: Connection reset by peer]
Guest91476 has quit [Ping timeout: 265 seconds]
oleo__ has joined #ruby-lang
oleo__ is now known as oleo
jgpawletko has quit [Quit: jgpawletko]
robbyoconnor has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]
bradcliffe has joined #ruby-lang
wallerdev has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby-lang
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Asher has quit [Quit: Leaving.]
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
marcel has quit [Ping timeout: 256 seconds]
q_leonetti has quit [Quit: q_leonetti]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradclif_ has joined #ruby-lang
marcel has joined #ruby-lang
bradcliffe has quit [Read error: Connection reset by peer]
gianlucadv has quit [Ping timeout: 245 seconds]
cmckee has quit [Ping timeout: 256 seconds]
cmckee has joined #ruby-lang
thagomizer has quit [Quit: Leaving.]
bradcliffe has joined #ruby-lang
bradclif_ has quit [Remote host closed the connection]
loinclot_ has joined #ruby-lang
bradcliffe has quit [Client Quit]
loincloth has quit [Ping timeout: 258 seconds]
caseydriscoll has joined #ruby-lang
cmckee has quit [Ping timeout: 265 seconds]
j4cknewt has joined #ruby-lang
cmckee has joined #ruby-lang
loincloth has joined #ruby-lang
sarkyniin has quit [Ping timeout: 260 seconds]
loinclot_ has quit [Ping timeout: 265 seconds]
shinnya has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
a1ph4g33k has joined #ruby-lang
momomomomo has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
seank__ has quit []
seank_ has joined #ruby-lang
Asher has joined #ruby-lang
q_leonetti has joined #ruby-lang
q_leonetti has quit [Client Quit]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tallgirltaadaa has joined #ruby-lang
<tallgirltaadaa>
could someone help me get into #rubyonrails
<tallgirltaadaa>
i registered my nick
<tallgirltaadaa>
but i can never get past the front page
<tallgirltaadaa>
not sure what step im missing
<pipework>
I don't know what you mean by page.
<pipework>
Have you identified too?
<tallgirltaadaa>
there is a screen that you reach before you see the list of names.... it hapened when i entered this room, but after a few seconds.. i was able to enter the chat
<womble>
pipework: (tallgirltaadaa's using the webchat)
<pipework>
I don't know what you mean. I don't use whatever client you are using.
ruby-lang918 has joined #ruby-lang
* womble
has no idea how that thing works
<tallgirltaadaa>
im using irc freenode... no special client
<tallgirltaadaa>
in the browser
<jhass>
tallgirltaadaa: /msg NickServ identify your_password and then /join #RubyOnRails
<tallgirltaadaa>
thanks jhass
<tallgirltaadaa>
jhass after i get this:... #rubyonrails Cannot join channel (+r) - you need to be identified with services
<tallgirltaadaa>
i type in my password, the same password that gets verified here
<tallgirltaadaa>
and i get an error
postmodern has quit [Ping timeout: 265 seconds]
<jhass>
what does nickserv answer you?
<tallgirltaadaa>
says my name is not registered although i have registered and verified this afternoon
<tallgirltaadaa>
why the fuck is it so hard to gain access
SuMo_D has joined #ruby-lang
<yorickpeterse>
tallgirltaadaa: you went through the whole verification process right?
<tallgirltaadaa>
yes
<yorickpeterse>
hm
nifoc has quit [Ping timeout: 272 seconds]
<jhass>
what does it say for the explicit form: /msg NickServ identify tallgirltaadaa your_password
<pipework>
tallgirltaadaa: It's not, but you might have to do it once or twice before the process becomes easy.
quimrstorres has joined #ruby-lang
<tallgirltaadaa>
i typed identify my_passwird and then i get :Can't use this command in this window
a1ph4g33k has quit [Quit: Leaving.]
<jhass>
literally type what I write
<jhass>
just replacing the password
ruby-lang918 has quit [Quit: Page closed]
<tallgirltaadaa>
tallgirltaadaa_ is not a registered nickname. now they are putting an underscore at the end of my username... even though i clearly didnt type it
nifoc has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
<jhass>
hard to believe but maybe ask in #freenode
<tallgirltaadaa>
:(
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
michd has quit [Ping timeout: 255 seconds]
Elite6809 has quit [Ping timeout: 260 seconds]
<tallgirltaadaa>
can i just ask my question here
cmhobbs has quit [Remote host closed the connection]
marcel has quit [Ping timeout: 255 seconds]
<yorickpeterse>
shoot
a1ph4g33k has joined #ruby-lang
michd has joined #ruby-lang
marcel has joined #ruby-lang
scampbell has joined #ruby-lang
<zenspider>
tallgirltaadaa: do '/msg nickserv help identify'
<tallgirltaadaa>
im building a small store... with an admin for adding products, .... so i am namespacing admin and using devise, ... attached to the User.rb to create users for the CMS... but the people who access the store need an access code, ... their information and their code are already entered in the db.. so they are just coming to redeem their code and get some free shit.... so when the store patron get to the page all they see is a
<tallgirltaadaa>
in their code
<tallgirltaadaa>
and then they will have access to the store,
<zenspider>
depending on your client, you may need to make sure that you're always doing '/msg nickserv' on the front of your interactions with nickserv
<tallgirltaadaa>
but i still need to track them.. and see if they used the code ... so i wanted to start a session
a1ph4g33k has quit [Client Quit]
<zenspider>
"all they see is a ... in their code"
<tallgirltaadaa>
i dont know what is the best way of going about this..... attaching device to the client.rb.. even though i only need it for the :code or just starting a session some other way not related to device
<tallgirltaadaa>
devise*
quimrstorres has quit [Remote host closed the connection]
a1ph4g33k has joined #ruby-lang
quimrstorres has joined #ruby-lang
<yorickpeterse>
if the codes aren't used to actually log in to the system you can just update some database record
imperator has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 265 seconds]
<yorickpeterse>
e.g. by using something like UserCodesSomething.where(:code => '...').update_all(:used => true)
<yorickpeterse>
Devise no longer does token authentication I believe, at least not out of the box
<tallgirltaadaa>
thanks.. thats helpful
<tallgirltaadaa>
its along the lines where i was going
willywos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fragamus has joined #ruby-lang
postmodern has joined #ruby-lang
a1ph4g33k has quit [Remote host closed the connection]
a1ph4g33k has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
bhaak has quit [Ping timeout: 260 seconds]
SuMo_D has quit [Remote host closed the connection]
mistym_ has joined #ruby-lang
a1ph4g33k has quit [Quit: Leaving.]
mistym has quit [Ping timeout: 240 seconds]
bhaak has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
a1ph4g33k has joined #ruby-lang
scampbell has quit [Quit: Leaving]
imperator has quit [Quit: Valete!]
symm- has quit [Ping timeout: 240 seconds]
imperator has joined #ruby-lang
mistym_ is now known as mistym
cmckee has quit [Ping timeout: 245 seconds]
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
futilegames has joined #ruby-lang
batazor has joined #ruby-lang
cmckee has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]