runemadsen / Magic-Book-Project

DEPRECATED: We are reviving the Magic Book project as a node package: https://github.com/magicbookproject/magicbook
http://itp.nyu.edu
621 stars 59 forks source link

Gemfile.lock out of date? #162

Open ofZach opened 11 years ago

ofZach commented 11 years ago

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 commented 11 years ago

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.