bundle update isn't updating to most recent available version

daniel's Avatar

daniel

14 Feb, 2013 08:12 PM

I'm not sure what the problem is, but let me present my observations:

Started with no paperclip version set and no dependencies on paperclip:
$ cat Gemfile | grep paperclip
gem 'paperclip'
$ bundle update paperclip
...
$ cat Gemfile.lock | grep paperclip
    paperclip (3.2.1)
  paperclip

Updated Gemfile to explicitly declare the current paperclip version:
$ cat Gemfile | grep paperclip
gem 'paperclip', '3.4.0'
$ bundle update paperclip
...
$ cat Gemfile.lock | grep paperclip
    paperclip (3.4.0)
  paperclip (= 3.4.0)

  1. Support Staff 2 Posted by Eric Hodel on 14 Feb, 2013 08:25 PM

    Eric Hodel's Avatar

    This is the help form for rubygems itself, not bundler. Please see the #bundler IRC channel on chat.freenode.net or http://github.com/carlhuda/bundler

  2. Eric Hodel closed this discussion on 14 Feb, 2013 08:25 PM.

  3. daniel re-opened this discussion on 14 Feb, 2013 09:37 PM

  4. 3 Posted by daniel on 14 Feb, 2013 09:37 PM

    daniel's Avatar

    I wouldn't think this is a problem with Bundler. Presumably, Bundler is just fetching the most recent version reported by Rubygems. So it seemed to me that Rubygems is reporting the wrong version, even though https://rubygems.org/gems/paperclip shows 3.4.0 as the current version.

  5. Support Staff 4 Posted by Eric Hodel on 14 Feb, 2013 10:04 PM

    Eric Hodel's Avatar

    RubyGems reports 3.4.0 as the most recent version. gem install paperclip installs 3.4.0. You will need to consult with bundler developers to figure out why bundler is not behaving as you expect.

    $ gem search paperclip$
    
    *** REMOTE GEMS ***
    
    paperclip (3.4.0)
    
  6. Eric Hodel closed this discussion on 14 Feb, 2013 10:04 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac