axl_ has joined #bundler
axl_ has quit [Client Quit]
mm3688 has joined #bundler
mm3688 has left #bundler [#bundler]
flowerhack has joined #bundler
axl_ has joined #bundler
axl_ has quit [Client Quit]
havenwood has quit [Remote host closed the connection]
Pupeno has joined #bundler
Pupeno_ has quit [Ping timeout: 255 seconds]
feniix has joined #bundler
feniix has quit [Client Quit]
flowerhack has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 260 seconds]
axl_ has joined #bundler
axl_ has quit [Client Quit]
thumpba_ has joined #bundler
thumpba_ has quit [Remote host closed the connection]
thumpba_ has joined #bundler
duper has joined #bundler
axl_ has joined #bundler
axl_ has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has joined #bundler
thumpba_ has quit [Read error: Connection reset by peer]
axl_ has quit [Client Quit]
thumpba_ has joined #bundler
tbuehlmann has joined #bundler
thumpba_ has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #bundler
ereslibre has quit [Ping timeout: 255 seconds]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #bundler
robbyoconnor has quit [Ping timeout: 272 seconds]
axl_ has joined #bundler
axl_ has quit [Client Quit]
Pupeno_ has joined #bundler
Pupeno has quit [Ping timeout: 244 seconds]
ereslibre has joined #bundler
ereslibre has quit [Changing host]
ereslibre has joined #bundler
Pupeno has joined #bundler
Pupeno_ has quit [Ping timeout: 272 seconds]
Pupeno_ has joined #bundler
Pupeno has quit [Ping timeout: 240 seconds]
axl_ has joined #bundler
axl_ has quit [Client Quit]
ixti has joined #bundler
axl_ has joined #bundler
axl_ has quit [Client Quit]
_whitelogger has joined #bundler
psacrifice|away has joined #bundler
duper has joined #bundler
llimllib has joined #bundler
tbuehlmann has quit [Quit: Leaving]
<
llimllib>
I have a gemfile with a "source <myserver> do... gem <mygem> <version>" block
<
llimllib>
bundler is suddenly telling me it can't find the gem (it's worked for a few months now)
<
llimllib>
the server is up, and has that version
<
llimllib>
gem search <mygem> -v <myversion> -r --source <myserver>
<
llimllib>
shows my gem, with the correct version
<
llimllib>
The error is: Could not find gem '<mygem> (= <myversion>) ruby' in rubygems repository <myserver>.
<
llimllib>
Source does not contain any versions of '<mygem> (= <myversion>) ruby'
<
llimllib>
I'm not asking for how to solve it, I know I'm being general; but are there any useful debugging commands I can use?
axl_ has joined #bundler
axl_ has quit [Client Quit]
axl_ has joined #bundler
havenwood has joined #bundler
<
dwradcliffe>
llimllib: are you using bundler v1.7?
<
llimllib>
I wasn't, but then I read about the sources thing, and now I am
<
llimllib>
and I suspect that contributed to the problem, since my gem shadowed a name on rubygems
<
llimllib>
(I have since got it working, though the "source do" block never worked)
<
llimllib>
...until I tried to push to heroku, which does not allow the :source option
<
llimllib>
do I just put my source repo second and pray, or is there any way to signal to bundler 1.6 which source it should pull the gem from?
<
llimllib>
bundler chose the wrong package, and my app is broken.
llimllib has quit []
llimllib has joined #bundler
hagebake is now known as hagabaka
cmar has joined #bundler
x1337807x has joined #bundler
x1337807x has quit [Read error: Connection reset by peer]
x1337807_ has joined #bundler
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vell has joined #bundler
Vell has quit [Client Quit]
Pupeno has joined #bundler
Pupeno_ has quit [Ping timeout: 245 seconds]
Pupeno_ has joined #bundler
Pupeno has quit [Ping timeout: 245 seconds]
Pupeno has joined #bundler
Pupeno_ has quit [Ping timeout: 244 seconds]
x1337807x has joined #bundler
krutten has joined #bundler
<
krutten>
indirect: and all. Silly question
<
krutten>
when we bundle install we hit an issue
<
krutten>
the issue is that when it's trying to parse the gemspec it spits out
<
krutten>
+ 14s !> $ ruby -S bundle
_1.3.5_ install --gemfile /data/yourfetch/releases/20140815175809/Gemfile --path /data/yourfetch/shared/bundled_gems --binstubs /data/yourfetch/releases/20140815175809/ey_bundler_binstubs --deployment --without test development'\'
<
krutten>
+ 14s !> There was a LoadError while loading feedly_api.gemspec:
<
krutten>
+ 14s !> cannot load such file -- json from
<
krutten>
+ 14s !> /data/yourfetch/shared/bundled_gems/ruby/1.9.1/bundler/gems/feedly_api-c2d2c3b965ff/feedly_api.gemspec:3:in
<
krutten>
+ 14s !> `<main>'
<
krutten>
+ 14s !> Does it try to require a relative path? That's been removed in Ruby 1.9.
<
krutten>
and if we try to manually install jason
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
folippi has joined #bundler
<
folippi>
Is it possible to change the code of a gem installed with bundler locally? I need to change a Const in a gem just for development
<
krutten>
folippi: yes
<
folippi>
krutten: do you know how?
<
krutten>
bundler vendor, looking for a URL
<
krutten>
ignore the anti-RVM rant, this works fine in RVM and rbenv
<
krutten>
and system ruby
<
krutten>
gem 'extracted_library', :path => './vendor/extracted_library'
<
krutten>
gem 'extracted_library', :path => './vendor/extracted_library'
<
krutten>
folippi: so extract the gem to vendor, then add a line like
<
krutten>
so it doesn't need to download a fresh copy
<
krutten>
I'm 99% sure this is what you want
<
krutten>
remove the :path => './vendor/gemname' later when you want to be back on mainline
<
folippi>
krutten: so 1. change Gemfile to add ':path => ...' 2. Make changes in the path 3. bam! ?
<
krutten>
1. extract gem to vendor/gamename 2. add :path => 'vendor/gamename' 3. edit as you wish
<
folippi>
krutten: you're a superstar. Thank you very much!
<
krutten>
Thank the bundler guys for adding that option, makes development easier!
livingstn has quit []
folippi has quit [Remote host closed the connection]
llimllib has left #bundler [#bundler]
havenwood has quit []
Pupeno_ has joined #bundler
Pupeno has quit [Ping timeout: 243 seconds]
sonne has quit [Ping timeout: 272 seconds]
sonne has joined #bundler
lele has quit [Excess Flood]
lele has joined #bundler
axl_ has quit [Quit: axl_]