Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemfile.lock out of date? #162

Open
ofZach opened this issue Jan 4, 2013 · 1 comment
Open

Gemfile.lock out of date? #162

ofZach opened this issue Jan 4, 2013 · 1 comment

Comments

@ofZach
Copy link

ofZach commented Jan 4, 2013

I don't understand if this was supposed to automatically load gems for me, but I had to do it manually, and it seems like many of the gem versions listed are older. As I installed them, I had to modify the gemfile.lock.

(I'm super new to ruby, so I might have been doing something wrong here)

this was what I had to install on a clean / machine:

gem install shotgun
gem install posix-spawn
gem install trollop
gem install bundler
gem install trollop
gem install systemu
gem install macaddr
gem install uuid
gem install mustache
gem install rack-protection
gem install redcarpet
gem install rocco
gem install tilt
gem install sinatra

my GEM lock reads like:

  GEM
  remote: http://rubygems.org/
  specs:
    macaddr (1.6.1)
      systemu (~> 2.5.0)
    mustache (0.99.4)
    nokogiri (1.5.6)
    posix-spawn (0.3.6)
    rack (1.4.1)
    rack-protection (1.3.2)
      rack
    redcarpet (2.2.2)
    rocco (0.8.2)
      mustache
      redcarpet
    shotgun (0.9)
      rack (>= 1.0)
    sinatra (1.3.3)
      rack (~> 1.3, >= 1.3.6)
      rack-protection (~> 1.2)
      tilt (~> 1.3, >= 1.3.3)
    systemu (2.5.2)
    tilt (1.3.3)
    trollop (2.0)
    uuid (2.3.6)
      macaddr (~> 1.0)
@runemadsen
Copy link
Owner

Thanks Zach.

The Gemfile.lock is not a file you should necessarily look at, as it's a file that gets overridden every time you install new gems on your machine (in this case we should probably gitignore it).

Instead of installing each gem manually, you should be able to do this:

gem install bundler
bundle install

That will look in the Gemfile, search for the newest versions of all those gems, and install them on your machine.

Let me know if you're stuck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants