<Authenticator>
How do I let the built-in JSON satisfy a requirement? Specifically rdoc requires json ~>1.4, and 1.5.5 is included in Ruby 1.9.3+
<tmoore>
Authenticator: you mean instead of Bundler trying to fetch the latest version?
<Authenticator>
In this case rdoc requires json ~> 1.4 and bundler satisfies itself by downloading json 1.8.1...? It seems I either need a 1.4.x from the ~> operator, or the 1.5.5 should cover it.
<Authenticator>
Yeah
<Authenticator>
I'd like to avoid the issue of having another dependency altogether by just using the built-in, and indeed when I uninstall the gem manually and test, this works.
<Authenticator>
afk 20m
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
briangonzalez has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adaleigh has joined #bundler
havenwood has quit [Remote host closed the connection]
<Authenticator>
back
<Authenticator>
Is there a way to tell bundler to ignore a dep? rdoc seems to play well with just the built-in json...
havenwood has joined #bundler
ixti has quit [Quit: WeeChat 0.4.3]
x1337807x has joined #bundler
jaimef has quit [Excess Flood]
jaimef has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has joined #bundler
axl_ has quit [Client Quit]
havenn has joined #bundler
havenwood has quit [Ping timeout: 264 seconds]
<tmoore>
Authenticator: Bundler will try to get the latest version of everything that satisfies the requirements, rather than trying to do the least work possible to satisfy the requirements
<tmoore>
if you do bundle install --local I think it will use the default version, but that will only work if you have *all* of the gems installed locally that you need
<tmoore>
otherwise, you'd have to add a version constraint to your Gemfile like gem "json", "=1.5.5"
chouhoulis has joined #bundler
dwradcliffe has quit [Quit: Bye]
x1337807x has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #bundler
x1337807x has quit [Max SendQ exceeded]
havenn has quit [Remote host closed the connection]
x1337807x has joined #bundler
mdub has joined #bundler
woollyams has quit [Ping timeout: 272 seconds]
woollyam_ has joined #bundler
chouhoulis has quit [Remote host closed the connection]
mdub has quit [Read error: Connection reset by peer]
x1337807x has quit [Ping timeout: 245 seconds]
havenwood has joined #bundler
woollyam_ has quit [Ping timeout: 272 seconds]
woollyams has joined #bundler
baburdick1 has joined #bundler
baburdick has quit [Read error: Connection reset by peer]
baburdick1 has quit [*.net *.split]
heroux has quit [*.net *.split]
hagabaka has quit [*.net *.split]
hagabaka has joined #bundler
heroux has joined #bundler
hagabaka has quit [Max SendQ exceeded]
hagabaka has joined #bundler
adaleigh has quit [Remote host closed the connection]
ohcibi has quit [Remote host closed the connection]
samphippen has joined #bundler
woollyams has quit [Ping timeout: 272 seconds]
woollyams has joined #bundler
Jamo has quit [Disconnected by services]
jamo_ is now known as Jamo
Jamo has quit [Quit: leaving]
Jamo has joined #bundler
jamo_ has joined #bundler
havenwood has quit [Remote host closed the connection]
chouhoulis has joined #bundler
chouhoulis has quit [Ping timeout: 240 seconds]
ohcibi has joined #bundler
havenwood has joined #bundler
havenwood has quit [Ping timeout: 264 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
R13ckJ has joined #bundler
R13ckJ is now known as habitullence
habitullence has quit [Quit: habitullence]
R13ckJ has joined #bundler
R13ckJ is now known as habitullence
habitullence has quit [Client Quit]
habitullence has joined #bundler
habitullence has quit [Client Quit]
habitullence has joined #bundler
woollyams has quit [Ping timeout: 272 seconds]
samphippen has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
woollyams has joined #bundler
habitullence has quit [Quit: habitullence]
habitullence has joined #bundler
habitullence has quit [Quit: habitullence]
babatz has joined #bundler
babatz has quit [Quit: Page closed]
woollyams has quit [Ping timeout: 272 seconds]
woollyams has joined #bundler
dwradcliffe has joined #bundler
Olipro has quit [Ping timeout: 246 seconds]
Olipro has joined #bundler
woollyams has quit [Ping timeout: 272 seconds]
habitullence has joined #bundler
chouhoulis has joined #bundler
chouhoulis has quit [Ping timeout: 264 seconds]
habitullence has quit [Quit: habitullence]
habitullence has joined #bundler
brisbane_ has joined #bundler
<brisbane_>
hi, we want to use bundler to install gems when deploying a project. It want to use sudo to set the correct permissions, but it includes the wrong username (-u projectname). How can I fix this? https://gist.github.com/thomasmeeus/26cb4c07170d87aaebf7
<brisbane_>
nobody nows how to exclude the -u option from the chmod?
axl_ has joined #bundler
baburdick has joined #bundler
tubbo has quit [Ping timeout: 252 seconds]
ixti has joined #bundler
tubbo has joined #bundler
brisbane_ has quit [Remote host closed the connection]
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #bundler
chouhoulis has joined #bundler
axl_ has quit [Quit: axl_]
havenwood has joined #bundler
axl_ has joined #bundler
axl_ has quit [Client Quit]
axl_ has joined #bundler
jaimef has quit [Excess Flood]
axl_ has quit [Ping timeout: 240 seconds]
jaimef has joined #bundler
baburdick has quit [Quit: Leaving.]
axl_ has joined #bundler
axl_ has quit [Quit: axl_]
axl_ has joined #bundler
Pupeno has quit [Remote host closed the connection]
briangonzalez has joined #bundler
axl_ has quit [Quit: axl_]
habitullence has quit [Quit: habitullence]
Pupeno has joined #bundler
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #bundler
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #bundler
Pupeno has quit [Remote host closed the connection]
<indirect>
Authenticator: you want to either explicitly tell bundler to use the version that is including with ruby (by putting the version number in your Gemfile) or run `bundle install --local` the very first time so that you lock to the version that's already installed
<indirect>
because different versions of json ship with different versions of ruby, it's not possible to say "just use the json that shipped with ruby"
<indirect>
but you can explicitly use the version that is already included with the ruby you happen to have installed on that machine
x1337807x has joined #bundler
Pupeno has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
adaleigh has joined #bundler
Pupeno has quit [Remote host closed the connection]
pothibo has joined #bundler
havenwood has joined #bundler
Pupeno has joined #bundler
havenwood has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
x1337807x has joined #bundler
briangonzalez has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<|jemc|>
I'm trying to figure out how/where keys get their default values in Bundler::Settings
<|jemc|>
for example, if we were adding Bundler.settings['gem_git'], we would want it to default to true for the compatibility with the current behavior
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<|jemc|>
but if I try to access a key which has not been set, the return value is nil
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samphippen has joined #bundler
samphippen has quit [Client Quit]
x1337807x has joined #bundler
<indirect>
|jemc|: you can check for either == false or the string false
<indirect>
I'm not sure how it gets stored
<indirect>
nil is distinct from false when using ==
<indirect>
(but they are both "false" from the perspective of if, etc)
adaleigh has quit [Remote host closed the connection]
baburdick has quit [Quit: Leaving.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #bundler
<|jemc|>
yeah, it's stored as the string 'false'
<|jemc|>
it just seemed counterintuitive to have Bundler.settings['foo']==nil to be the "true" form of the setting 'foo' so I wanted to double check I wasn't missing something
<|jemc|>
I've revise the PR tonight. Thanks for your time :)