imathis / octopress

Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?

Home Page:http://github.com/imathis/octopress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency Error:

dgmstuart opened this issue · comments

I've just updated Octopress for the first time in a long time, and on running bundle install I got the following error:

Bundler could not find compatible versions for gem "sass":
  In Gemfile:
    compass (~> 1.0.1) ruby depends on
      sass (< 3.5, >= 3.3.13) ruby

    sass-globbing (~> 1.0.0) ruby depends on
      sass (3.2.19)

Calling bundle update on any of these three gems fixes this, but updates my Gemfile.lock.

I guess this is something which should be fixed at the source, but I'm not sure how. Perhaps a more up-to-date Gemfile.lock? or having more strict dependencies?

i don't see any Gemfile.lock file in the project repository, also i tried to fork, bundle install it and the output didn't produce any errors, is there something i'm missing or didn't get it ?

$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Installing RedCloth 4.2.9
Using blankslate 2.1.2.4
Using hitimes 1.2.2
Using timers 4.0.1
Using celluloid 0.16.0
Installing chunky_png 1.3.4
Using fast-stemmer 1.0.2
Using classifier-reborn 2.0.3
Using coffee-script-source 1.9.1
Using execjs 2.4.0
Using coffee-script 2.3.0
Using colorator 0.1
Using multi_json 1.11.0
Using sass 3.4.13
Installing compass-core 1.0.3
Installing compass-import-once 1.0.5
Using rb-fsevent 0.9.4
Installing ffi 1.9.8
Using rb-inotify 0.9.5
Installing compass 1.0.3
Using tilt 1.4.1
Installing haml 4.0.6
Using jekyll-coffeescript 1.0.1
Using jekyll-gist 1.1.0
Using jekyll-paginate 1.1.0
Using jekyll-sass-converter 1.3.0
Installing listen 2.9.0
Using jekyll-watch 1.2.1
Installing kramdown 1.6.0
Using liquid 2.6.2
Using mercenary 0.3.5
Installing posix-spawn 0.3.10
Using yajl-ruby 1.2.1
Using pygments.rb 0.6.2
Using redcarpet 3.2.2
Using safe_yaml 1.0.4
Using parslet 1.5.0
Using toml 0.1.2
Using jekyll 2.5.3
Installing jekyll-sitemap 0.8.1
Installing octopress-hooks 2.6.0
Installing octopress-date-format 2.0.2
Using rack 1.6.0
Using rack-protection 1.5.3
Installing rdiscount 2.1.8
Installing rubypants 0.2.0
Installing sass-globbing 1.0.0
Using sinatra 1.4.5
Installing stringex 1.4.0
Using bundler 1.8.2
Bundle complete! 14 Gemfile dependencies, 51 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from compass:
    Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
Post-install message from haml:

HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:

* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem

For more info see:

http://rubydoc.info/github/haml/haml/file/CHANGELOG.md

I see that Gemfile.lock is now in .gitignore. I removed it from my local repo and ran 'bundle install' to install the current versions. Then ran "bundle clean --force" to remove the other fluff.

Apologies - I should have closed this ages ago. I had read the thread explaining why Gemfile.lock isn't under version control but forgot to close this.

On a side note, I'm definitely in the camp that thinks that Gemfile.lock should be checked in, but it seems like the decision has been made a long time ago and I doubt it will be changed.