<tmoore>
j416: the short answer is that require 'bundler/setup' is a shortcut for loading all of the gems in the Gemfile
<tmoore>
j416: if you want to just load some groups, you can require 'bundler' and then call Bundler.setup(:default, :group1, :group2) etc
<tmoore>
braidn: you'll need to update Bundler on the server somehow... you can't upgrade Bundler using Bundler :-)
digitalvapor has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 246 seconds]
digitalvapor has joined #bundler
lele has joined #bundler
nata79 has joined #bundler
<nata79>
Hi! I'm getting the error "Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate" while trying to run bundle from a private server created with Gem in a box. The error only appears while using https.
<nata79>
Any ideas on where to look for a solution?
<tmoore>
Does your server have a valid SSL certificate? :-)
<nata79>
yes, if access it through other medium works fine
samphippen has joined #bundler
<tmoore>
nata79: you might need to update the version of OpenSSL on your machine, or if that doesn't work, put the root certificate into your list of trusted certificates
<j416>
tmoore: could it be that you have rspec and rake installed?
<j416>
and that's why it's working?
<tmoore>
I do have rake, but it's a different version, and no rspec
<tmoore>
let me try switching ruby versions
<j416>
I tried replacing those two with something seemingly unrelated
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<j416>
and I get the same thing, except it's:
<j416>
bundler/resolver.rb:302:in `resolve': Could not find gem 'nokogiri (>= 0) ruby' in the gems available on this machine. (Bundler::GemNotFound)
<j416>
(nokogiri was the one I added)
<j416>
(pushed to that repo)
<j416>
fwiw I'm using chruby
<tmoore>
j416: I can't get it to happen with 1.9.3 either
<j416>
hm :/
<tmoore>
oh wait I might have figured it out
<j416>
!!
<tmoore>
are you running `bundle install --without dev`?
<tmoore>
That's what I was doing, and then it works
<j416>
tmoore: I'm not running bundle install at all
<j416>
I'm just running ./bundler_test
<tmoore>
right OK but in your real app surely there are other gems that need to be installed
<j416>
not currently, no
<j416>
doubt there will be
<tmoore>
then why use Bundler at tall?
<j416>
small app.
<tmoore>
s/tall/all/
<j416>
perhaps I should just remove the require and keep the Gemfile
<j416>
so that I know what is needed for dev at least
<tmoore>
yeah... this may actually be a bug tbh, because I don't think it should be looking at any gems that aren't in the setup groups
<j416>
were you able to reproduce it?
<tmoore>
but if you go through the normal workflow of `bundle install --without (groups you don't care about)` and then Bundle.setup(groups you want) then it reads the ignored groups from the .bundle/config file
<nata79>
tmoore: got it working locally after running 'rvm osx-ssl-certs update' which updates the system trusted certificates. but still having the same issue with heroku.
<tmoore>
nata79: cool glad you worked it out... I don't know too much about Heroku... I think they have a way you can update certs, but you might need to ask their support team
<j416>
tmoore: thanks for the additional comment!
cha1tanya has quit [Ping timeout: 268 seconds]
chouhoulis has joined #bundler
nata79 has quit [Quit: Page closed]
chouhoulis has quit [Ping timeout: 240 seconds]
retro|cz has joined #bundler
chouhoulis has joined #bundler
<j416>
If I have found a gem, on github, which I want to use but I don't want to rely on it not disappearing (that would break our project); is there a way to specify that whatever bundler downloads is to be, say, placed inside our repo?
chouhoulis has quit [Read error: Connection reset by peer]
<j416>
just for that particular gem
chouhoulis has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samphippen has joined #bundler
pyreal has joined #bundler
cha1tanya has joined #bundler
cha1tanya has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #bundler
havenn has joined #bundler
havenwood has quit [Read error: Connection reset by peer]
axl_ has joined #bundler
axl_ has quit [Client Quit]
cwebber has joined #bundler
axl__ has joined #bundler
pyreal has quit [Read error: No route to host]
pyreal has joined #bundler
robbyoconnor has quit [Ping timeout: 265 seconds]
jaimef has quit [Excess Flood]
jaimef has joined #bundler
havenn is now known as havenwood
x1337807x has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mfoo has quit [Ping timeout: 246 seconds]
<slash_nick>
j416: fork the repo, add a big thank you to the author in your readme, change the that_gem.gemspec to use your credentials and repository, change the gem name, push to github, release your version of the gem to rubygems
<slash_nick>
j416: alternatively you can fork it and specify your fork in the Gemfile, as seen here: http://bundler.io/v1.5/git.html
cwebber has quit []
cwebber has joined #bundler
havenwood has quit [Remote host closed the connection]
havenwood has joined #bundler
havenwood has quit [Ping timeout: 268 seconds]
havenwood has joined #bundler
retro|cz has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
pyreal has quit [Quit: pyreal]
<j416>
slash_nick: ah, so that's the way. Thanks.
retro|cz has joined #bundler
samphippen has joined #bundler
ohwhoa has joined #bundler
chouhoul_ has joined #bundler
chouhoulis has quit [Read error: Connection reset by peer]
weaksauce has joined #bundler
ohwhoa has quit [Quit: woah!]
retro|cz has quit [Ping timeout: 240 seconds]
shaileshg has quit [Quit: Connection closed for inactivity]
chouhoulis has joined #bundler
chouhoul_ has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #bundler
chouhoul_ has joined #bundler
chouhoulis has quit [Read error: Connection reset by peer]
woollyams has joined #bundler
havenwood has joined #bundler
chouhoulis has joined #bundler
chouhoul_ has quit [Read error: Connection reset by peer]
chouhoul_ has joined #bundler
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #bundler
chouhoul_ has quit [Read error: Connection reset by peer]
digitalvapor has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]