samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
huoxito_ has joined #bundler
huoxito has quit [Ping timeout: 255 seconds]
zz_Cidan is now known as Cidan
huoxito_ has quit [Remote host closed the connection]
odigity has joined #bundler
<odigity>
If I'm creating a gem with an executable that will be installed, should I require 'bundler/setup' in my executable to ensure the versions specified in the gemspec are used?
Cidan is now known as zz_Cidan
zz_Cidan is now known as Cidan
houhouli_ has joined #bundler
houhoulis has quit [Ping timeout: 256 seconds]
djbkd has joined #bundler
houhouli_ has quit [Remote host closed the connection]
Cidan is now known as zz_Cidan
djbkd has quit [Remote host closed the connection]
samphippen has joined #bundler
heroux has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
heroux has quit [Ping timeout: 244 seconds]
heroux has joined #bundler
<jhass>
odigity: no
samphippen has joined #bundler
houhoulis has joined #bundler
<odigity>
jhass, after looking at examples, that's what I concluded. What I did instead: 1) in my executable, I just require one file from my gem (a Thor app) and run start 2) in my gem repo, I run "bundle --binstubs" to generate a binstub for my exe in my gem's bin/ dir after installing the gem to the system, so now it runs with the not-checked-in Gemfile in my gem repo
<odigity>
Does that all seem correct?
<jhass>
idk, I don't follow the silly exe/ convention
<jhass>
just require your gem files in bin/ and use bundle exec bin/foo for dev
<odigity>
jhass, I generated a local binstub in my gem repo to avoid having to type "bundle exec" every time, because that's annoying.
<odigity>
and I don't like to depend on shell aliases, because then things stop working when you move to another system
<jhass>
idk, my up arrow works well still
<odigity>
When a user installs my gem and rubygems installs a wrapper in /usr/local/bin/myapp, what ensures that the command gets run with the gem versions specified in the gemspec?
<jhass>
nothing
<odigity>
Isn't that a problem?
<jhass>
however iirc rubygems will error out when your gem gets activated and other incompatible versions are already activated
<odigity>
jhass, well, I suppose that's something. still, it'd be nice if there was just one good tutorial that covered all these issues from start to finish
kfpratt has joined #bundler
kfpratt has quit []
kfpratt has joined #bundler
huoxito has joined #bundler
axl_ has joined #bundler
chouhoul_ has quit [Ping timeout: 260 seconds]
Scrivener has joined #bundler
samphipp_ has joined #bundler
Radar_ has joined #bundler
samphippen has quit [*.net *.split]
atom3 has quit [*.net *.split]
kellabyte has quit [*.net *.split]
cstrahan has quit [*.net *.split]
dcolebatch has quit [*.net *.split]
Radar has quit [*.net *.split]
cstrahan has joined #bundler
chouhoulis has joined #bundler
kellabyte has joined #bundler
dcolebatch has joined #bundler
dstarh has joined #bundler
valarissa has joined #bundler
samphipp_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
axl_ has joined #bundler
samphippen has joined #bundler
zz_Cidan is now known as Cidan
_djbkd has joined #bundler
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
valarissa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has quit [Ping timeout: 252 seconds]
axl_ has joined #bundler
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
valarissa has joined #bundler
huoxito has quit [Remote host closed the connection]
huoxito has joined #bundler
huoxito has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
axl_ has joined #bundler
jrafanie has joined #bundler
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
huoxito has joined #bundler
huoxito has quit [Ping timeout: 240 seconds]
valarissa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_djbkd has quit [Quit: My people need me...]
_djbkd has joined #bundler
Scrivener has quit [Ping timeout: 260 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]