indirect changed the topic of #bundler to: Docs! http://bundler.io | Problems? http://bit.ly/bundler-issues | How to help: http://bit.ly/bundler-development | API Dashboard http://cl.ly/SBoH | #bundler logs: http://bit.ly/bundler-logs | Questions will be answered eventually, so hang out for a while
chouhoulis has joined #bundler
stevenharman has joined #bundler
cwebber has quit []
<stevenharman> I tried searching the #bundler logs, but couldn't find an answer. So: binstubs for a Gem... yes/no? And if yes, do you add those to Git?
<stevenharman> i.e., I maintain a few Gems. Is it OK to generate binstubs for things like rspec, rake, etc.? into the `bin/` directory those Gems' source trees?
<stevenharman> rbenv's Wiki (https://github.com/sstephenson/rbenv/wiki/Understanding-binstubs#bundler-generated-binstubs) seems to indicate this is a bad idea:
<stevenharman> "Projects that are themselves gems should use a directory other than bin/, via a command like bundle install --binstubs exec. If you check in bin/rspec to your gem repo, installing your gem will break the rspec command."
<stevenharman> but wouldn't that only be the case if the Gem's .gemspec listed `bin/rspec` as an executable?
<postmodern> stevenharman, bundler currently chooses to overwrite the contents of bin/
<postmodern> stevenharman, even when the executables are local
<stevenharman> I'm not sure I follow. Perhaps an example would be good?
<postmodern> stevenharman, i reported this bug, but indirect has reasons not to change the behavior, although wouldn't specify them
<postmodern> stevenharman, ah your question, it's generally ok to use bin/
<postmodern> stevenharman, but you probably shouldn't commit them
<stevenharman> OK.
<postmodern> stevenharman, otherwise they'd be packaged into the .gem
<stevenharman> But wouldn't they only be packaged if the .gemspec lists them as executables?
<postmodern> stevenharman, be-aware that bundler can overwrite any existing bin/ scripts
<postmodern> stevenharman, correct, they have to be in gemspec.files and gemspec.executables
<stevenharman> OK, so here's really simple example:
<postmodern> stevenharman, you shouldn't have committed the binstubs
<stevenharman> Even though there are no executables for that Gem?
<stevenharman> in the .gemspec, I mean.
<postmodern> stevenharman, correct, do not commit them
<stevenharman> Maybe I'm not understanding what the .gemspec's "executables" list is for. I would assume that ONLY the files in that list would be packaged into the .gem's bindir.
<stevenharman> Doh, I just built a .gem, and then unpacked it. Sure enough, those files are there. Hmm...
<postmodern> stevenharman, they still shouldn't even be in the .gem
<postmodern> yeah had to double check as well
<postmodern> might try testing `gem install` vs. `gem unpack` just to be sure
<stevenharman> Yeah, I seem to have a poor understanding of what all of the parts of the gemspec are for.
<stevenharman> I verified that the installed gem also has the files.
<stevenharman> I was thinking (wishfully, it turns out) that only those files listed as executables would be packaged in the bindir, so I'd be fine. Guess the real answer is to either NOT check those file in, or to make sure they're not in the "files" list.
<stevenharman> thanks for the help, postmodern.
<postmodern> stevenharman, word, also watch out for projects that have their own bin/executables, bundler will overwrite those by accident
<stevenharman> so I have one of those too...
<stevenharman> I need to remove the binstubs from there... doing that in a minute.
<stevenharman> So that gem has it's own execuable: bin/git-tracker
<stevenharman> are you saying that `bundle install --binstubs` w/in that projects working tree would overwrite the legit bin/git-tracker with a binstub for git-tracker?
<postmodern> stevenharman, yep just double-checked
<stevenharman> Yikes. That is surprising.
<stevenharman> Thanks for the heads up.
<stevenharman> I suppose by dumb luck, I've never seen that as I almost always `bundle binstubs FOO BAR ZAA`
<stevenharman> to explicitly generate binstubs for the stuff I use.
<postmodern> hopefully in the future, we could just specify an env variable to activate bundler
postmodern has quit [Quit: Leaving]
havenwood has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has joined #bundler
woollyams has quit [Ping timeout: 252 seconds]
odigity has joined #bundler
<odigity> Can anyone explain this? "Your Ruby version is 2.1.1, but your Gemfile specified 2.1.1"
kgrz has joined #bundler
woollyams has joined #bundler
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kgrz has quit [Remote host closed the connection]
retro|cz has joined #bundler
kgrz has joined #bundler
indirect has joined #bundler
chouhoulis has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 255 seconds]
ixti has joined #bundler
heroux has quit [Ping timeout: 240 seconds]
samphippen has joined #bundler
indirect has quit [Ping timeout: 265 seconds]
indirect has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cha1tanya has joined #bundler
havenn has joined #bundler
samphippen has joined #bundler
havenwood has quit [Ping timeout: 255 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samphippen has joined #bundler
cha1tanya has quit [Remote host closed the connection]
chouhoulis has joined #bundler
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #bundler
chouhoulis has quit [Ping timeout: 252 seconds]
odigity has quit [Ping timeout: 255 seconds]
odigity has joined #bundler
stevenharman has quit [Quit: Leaving...]
stevenharman has joined #bundler
stevenharman has quit [Ping timeout: 240 seconds]
jipiboily has joined #bundler
chouhoulis has joined #bundler
cwebber has joined #bundler
cwebber has quit [Client Quit]
chouhoulis has quit [Remote host closed the connection]
kgrz has quit [Remote host closed the connection]
samphippen has quit [Quit: Textual IRC Client: www.textualapp.com]
samphippen has joined #bundler
kgrz has joined #bundler
kgrz has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 255 seconds]
retro|cz has quit [Ping timeout: 240 seconds]
havenn has quit [Remote host closed the connection]
havenwood has joined #bundler
havenn has joined #bundler
havenn is now known as havenwood_
havenwood has quit [Ping timeout: 268 seconds]
x1337807x has joined #bundler
havenwood_ is now known as havenwood
chouhoulis has joined #bundler
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
stevenharman_ has joined #bundler
retro|cz has joined #bundler
havenwood has quit [Remote host closed the connection]
havenwood has joined #bundler
x1337807x has quit [Ping timeout: 246 seconds]
x1337807x has joined #bundler
jblancett has joined #bundler
<jblancett> is it possible to specify the location of a .gem in your Gemfile? Like an http link?
stevenharman_ has quit [Quit: Leaving...]
stevenharman has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jipiboily has quit [Quit: Computer has gone to sleep.]
stevenharman has quit [Ping timeout: 245 seconds]
jipiboily has joined #bundler
x1337807x has joined #bundler
jipiboily has quit [Client Quit]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
retro|cz has quit [Ping timeout: 240 seconds]
stevenharman has joined #bundler
slash_nick is now known as iitywimwybmab
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #bundler
jipiboily has joined #bundler
drocsid has quit [Quit: bye]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samphippen has joined #bundler
kgrz has joined #bundler
kgrz_ has joined #bundler
kgrz has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #bundler
kgrz_ has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #bundler
akahn has joined #bundler
<akahn> ridiculous n00b question: when I run `bundle install`, my development and test gems don't get installed. why is that?
<indirect> jblancett: no
<indirect> akahn: because once you ran `bundle install --without development:test`
<indirect> akahn: run `bundle config --delete without` and try again
<akahn> indirect: aha, I was looking at my project's .bundle/config and didn't notice I also had a ~/.bundle/config
<akahn> thank you
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #bundler
robbyoconnor has quit [Client Quit]
robbyoconnor has joined #bundler
robbyoconnor has quit [Client Quit]
robbyoconnor has joined #bundler
robbyoconnor has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #bundler
robbyoconnor has quit [Read error: Connection reset by peer]
heroux has joined #bundler
<odigity> Can anyone explain this? "Your Ruby version is 2.1.1, but your Gemfile specified 2.1.1"
robbyoconnor has joined #bundler
stevenharman has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Ping timeout: 255 seconds]
stevenharman has joined #bundler
kgrz has joined #bundler
kgrz has quit [Ping timeout: 268 seconds]
akahn has left #bundler [#bundler]
havenwood has quit [Remote host closed the connection]
havenwood has joined #bundler
jipiboily has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Ping timeout: 245 seconds]
jipiboily has joined #bundler
heroux has quit [Ping timeout: 264 seconds]
heroux has joined #bundler
jipiboily has quit [Quit: Computer has gone to sleep.]
jipiboily has joined #bundler
jipiboily has quit [Ping timeout: 255 seconds]
odigity has quit [Ping timeout: 255 seconds]
jaimef has quit [Ping timeout: 255 seconds]
odigity has joined #bundler
Olipro has quit [Ping timeout: 246 seconds]
Olipro has joined #bundler
havenwood has joined #bundler
jaimef has joined #bundler
havenwood has quit [Remote host closed the connection]
havenwood has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]