TheComrade has quit [Quit: TheComrade]
jfoy has quit [Quit: jfoy]
jfoy has joined #rubygems
vertis has joined #rubygems
vertis1 has quit [Ping timeout: 260 seconds]
bjessbrown has joined #rubygems
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
jcaudle has joined #rubygems
T__T has quit [Remote host closed the connection]
jfoy has quit [Quit: jfoy]
jcaudle has quit [Quit: jcaudle]
jcaudle has joined #rubygems
huoxito has quit [Ping timeout: 260 seconds]
huoxito has joined #rubygems
bjessbrown has quit [Remote host closed the connection]
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #rubygems
hasrb has joined #rubygems
jcaudle has quit [Quit: jcaudle]
havenwood has quit [Remote host closed the connection]
DanKnox is now known as DanKnox_away
hakunin has quit [Remote host closed the connection]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
jcaudle has joined #rubygems
DanKnox_away is now known as DanKnox
jonahR has quit [Quit: jonahR]
rhythm_and_code_ has joined #rubygems
rhythm_and_code has quit [Read error: Connection reset by peer]
rhythm_and_code_ is now known as rhythm_and_code
rafaelfranca has joined #rubygems
hasrb has quit [Remote host closed the connection]
rafaelfranca has quit [Remote host closed the connection]
tbuehlmann has joined #rubygems
vertis1 has joined #rubygems
vertis has quit [Ping timeout: 245 seconds]
huoxito has quit [Quit: Leaving]
jcaudle has quit [Quit: jcaudle]
jcaudle has joined #rubygems
jcaudle has quit [Client Quit]
jcaudle has joined #rubygems
jcaudle has quit [Client Quit]
adambeynon has joined #rubygems
dangerousdave has joined #rubygems
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
DanKnox is now known as DanKnox_away
capen has quit [Quit: Connection closed for inactivity]
dwradcliffe has joined #rubygems
clouder`grr has quit [Ping timeout: 260 seconds]
sferik has joined #rubygems
dangerousdave has joined #rubygems
clouder`grr has joined #rubygems
sferik has quit [Quit: Computer has gone to sleep.]
wm3|zzz has quit [Ping timeout: 245 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #rubygems
dangerousdave has quit [Quit: Leaving...]
lsegal has joined #rubygems
imperator2 has joined #rubygems
imperator has joined #rubygems
imperator2 has quit [Ping timeout: 264 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
havenwood has joined #rubygems
danrabinowitz has joined #rubygems
imperator2 has joined #rubygems
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
imperator2 has quit [Ping timeout: 264 seconds]
wm3|zzz has joined #rubygems
corundum has joined #rubygems
wm3|zzz is now known as wm3|eating
corundum has quit [Ping timeout: 256 seconds]
wm3|eating has quit [Ping timeout: 268 seconds]
lsegal has joined #rubygems
wm3|eating has joined #rubygems
sferik has joined #rubygems
TheComrade has joined #rubygems
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
wm3|eating has quit [Ping timeout: 240 seconds]
TheComrade has quit [Quit: TheComrade]
tbuehlmann has quit [Remote host closed the connection]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
hakunin has joined #rubygems
dwradcliffe has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dwradcliffe has joined #rubygems
wm3|eating has joined #rubygems
ecksit has joined #rubygems
<
ecksit>
can anyone confirm whether that /should/ work?
wm3|eating has quit [Ping timeout: 264 seconds]
wm3|eating has joined #rubygems
<
drbrain>
ecksit: it seem sright
<
ecksit>
and it will install (by default) to /usr/bin ?
<
ecksit>
is there a way i could debug this one and see whether it is actually doing anything?
<
drbrain>
it will install into EXECUTABLE DIRECTORY in `gem env`
<
drbrain>
gem install -V will show where the files get written
shevy has left #rubygems ["I'll be back ... maybe"]
<
drbrain>
what does gem spec acquia-toolbelt-0.0.1.gem say?
<
ecksit>
executables is empty.
<
ecksit>
bindir: bin
<
ecksit>
maybe that git ls-files lookup is failing
<
drbrain>
ok, how about: ruby -e 'p `git ls-files`.split($/).grep(%r{^bin})'
<
drbrain>
this is why I use hoe
<
ecksit>
that is also emtpy
<
drbrain>
ok, how about: ruby -e 'p `git ls-files`.split($/)'
<
imperator>
Dir['**/*'].reject{ |f| f.include?('git') }
<
ecksit>
doesn't have it in there ether
<
ecksit>
either* can't type today
<
drbrain>
ecksit: did you commit bin/acquia?
<
ecksit>
i haven't committed any of it at the moment.
<
ecksit>
but i will try and see if that fixes it.
<
drbrain>
that would be why it doesn't show up
<
ecksit>
so i added all files to git and tried to re install it but no luck.
<
drbrain>
and git ls-files shows bin/acquia
<
drbrain>
so did you git add; git commit, or just git add?
<
ecksit>
ah wait, yes it does.
<
ecksit>
let me just try those commands you gave before again
<
drbrain>
so this shows bin/acquia now: ruby -e 'p `git ls-files`.split($/).grep(%r{^bin})'
<
drbrain>
so repackage, and check `gem spec`
wm3|eating is now known as workmad3
T__T has joined #rubygems
<
ecksit>
i am getting an error "undefined local variable or method `metadata' for Gem::Specification:Class" now. any ideas?
<
drbrain>
can you show the file that gives the error?
<
ecksit>
it just says invalid gemspec
<
drbrain>
ecksit: how about a backtrace?
TheComrade has joined #rubygems
<
drbrain>
you might need to `gem build --backtrace ...`
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
<
ecksit>
that's all it gives
havenwood has quit [Read error: Connection reset by peer]
dwradcliffe has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<
drbrain>
is there a place I can check out your source code to try it myself?
<
ecksit>
sure, let me just create a repository for it
<
drbrain>
and, which rubygems are you using?
<
drbrain>
I'm not having the same problem you have with 2.0.3
<
ecksit>
ok, does it install for you?
<
drbrain>
it does have an important warning: WARNING: bin/acquia is missing #! line
<
drbrain>
how are you building the gem?
<
ecksit>
gem build <gem name>
<
drbrain>
not gem build acquia-toolbelt.gemspec?
<
ecksit>
i think i was trying to build the wrong one.
<
ecksit>
*facepalm*
<
ecksit>
i was trying to build the .gem
<
drbrain>
tab completion, always getting in the way!
<
ecksit>
yes. yes it does.
<
ecksit>
anyway, thanks a bunch for the help!
<
ecksit>
i might look at using hoe in the future though
TheComrade has quit [Quit: TheComrade]
workmad3 has quit [Ping timeout: 264 seconds]
TheComrade has joined #rubygems
dwradcliffe has joined #rubygems
<
drbrain>
when you `gem install` rubygems checks for both local and remote sources
<
drbrain>
that's normal output
<
ecksit>
i just read an online guide that said that was a better way of doing it instead of adding in the executable.
<
ecksit>
even when it hangs?
<
drbrain>
you need to declare the dependency in the specification to have it installed automatically
<
drbrain>
you should let rubygems take care of loading the dependencies for you at that point, no need to duplicate the declaration with 'gem "netrc"'
<
drbrain>
but, fetching specs.4.8.gz taking a long time is a separate issue entirely
<
drbrain>
where in the world are you?
<
ecksit>
australia :p
<
drbrain>
evan: do we have an australian mirror?
<
ecksit>
doesn't matter too much. it eventually got there
<
ecksit>
so if my dependencies are defined in the gemspec, can i drop my require statements in the file itself?
<
ecksit>
or do they need to stay?
<
drbrain>
you still need to require
<
drbrain>
so, require 'netrc'
<
drbrain>
but not gem 'netrc'
imperator2 has joined #rubygems
TheComrade has quit [Quit: TheComrade]
TheComrade has joined #rubygems
TheComrade has quit [Client Quit]
TheComrade has joined #rubygems
TheComrade has quit [Client Quit]
dwradcliffe has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dwradcliffe has joined #rubygems
T__T has quit [Remote host closed the connection]