zakelfassi / Bootflat-Rails

Bootflat on Rails
30 stars 11 forks source link

Issue running on rails 4.1.6 with ruby 2.1.3 #18

Open cseydel opened 9 years ago

cseydel commented 9 years ago

I am suffering from some error with missing requirements on rails 4.1.6 and ruby 2.1.3.

Error:

vendor/bundle/gems/bootflat-rails-0.1.0/lib/bootflat-rails.rb:4:in `require': cannot load such file -- bootflat-rails/sass_functions (LoadError)
    from /Users/christophseydel/Development/projekte/lituro/vendor/bundle/gems/bootflat-rails-0.1.0/lib/bootflat-rails.rb:4:in `load!'
    from /Users/christophseydel/Development/projekte/lituro/vendor/bundle/gems/bootflat-rails-0.1.0/lib/bootflat-rails.rb:59:in `<top (required)>'
    from /Users/christophseydel/.rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in `require'
    from /Users/christophseydel/.rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
    from /Users/christophseydel/.rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in `each'
    from /Users/christophseydel/.rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in `block in require'
    from /Users/christophseydel/.rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in `each'
    from /Users/christophseydel/.rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in `require'
    from /Users/christophseydel/.rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.4/lib/bundler.rb:133:in `require'
    from /Users/christophseydel/Development/projekte/lituro/config/application.rb:7:in `<top (required)>'
    from /Users/christophseydel/Development/projekte/lituro/vendor/bundle/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:79:in `require'
    from /Users/christophseydel/Development/projekte/lituro/vendor/bundle/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:79:in `block in server'
    from /Users/christophseydel/Development/projekte/lituro/vendor/bundle/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:76:in `tap'
    from /Users/christophseydel/Development/projekte/lituro/vendor/bundle/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:76:in `server'
    from /Users/christophseydel/Development/projekte/lituro/vendor/bundle/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
    from /Users/christophseydel/Development/projekte/lituro/vendor/bundle/gems/railties-4.1.6/lib/rails/commands.rb:17:in `<top (required)>'
    from bin/rails:8:in `require'
    from bin/rails:8:in `<main>'

Gemfile.lock

GIT
  remote: https://github.com/zakelfassi/sass-rails
  revision: 0d4013878dd18440c98da4ffa62208e7700f2477
  specs:
    sass-rails (4.0.2)
      railties (>= 4.0.0, < 5.0)
      sass (~> 3.3.4)
      sprockets (~> 2.8, <= 2.11.0)
      sprockets-rails (~> 2.0.0)

GEM
  remote: https://rubygems.org/
  specs:
    actionmailer (4.1.6)
      actionpack (= 4.1.6)
      actionview (= 4.1.6)
      mail (~> 2.5, >= 2.5.4)
    actionpack (4.1.6)
      actionview (= 4.1.6)
      activesupport (= 4.1.6)
      rack (~> 1.5.2)
      rack-test (~> 0.6.2)
    actionview (4.1.6)
      activesupport (= 4.1.6)
      builder (~> 3.1)
      erubis (~> 2.7.0)
    activemodel (4.1.6)
      activesupport (= 4.1.6)
      builder (~> 3.1)
    activerecord (4.1.6)
      activemodel (= 4.1.6)
      activesupport (= 4.1.6)
      arel (~> 5.0.0)
    activesupport (4.1.6)
      i18n (~> 0.6, >= 0.6.9)
      json (~> 1.7, >= 1.7.7)
      minitest (~> 5.1)
      thread_safe (~> 0.1)
      tzinfo (~> 1.1)
    arel (5.0.1.20140414130214)
    autoprefixer-rails (3.1.2.20141016)
      execjs
    bootflat-rails (0.1.0)
      sass (~> 3.2)
    bootstrap-sass (3.2.0.2)
      sass (~> 3.2)
    builder (3.2.2)
    coffee-rails (4.0.1)
      coffee-script (>= 2.2.0)
      railties (>= 4.0.0, < 5.0)
    coffee-script (2.3.0)
      coffee-script-source
      execjs
    coffee-script-source (1.8.0)
    erubis (2.7.0)
    execjs (2.2.2)
    hike (1.2.3)
    i18n (0.6.11)
    jbuilder (2.2.3)
      activesupport (>= 3.0.0, < 5)
      multi_json (~> 1.2)
    jquery-rails (3.1.2)
      railties (>= 3.0, < 5.0)
      thor (>= 0.14, < 2.0)
    json (1.8.1)
    libv8 (3.16.14.7)
    mail (2.6.1)
      mime-types (>= 1.16, < 3)
    mime-types (2.4.3)
    minitest (5.4.2)
    multi_json (1.10.1)
    pg (0.17.1)
    rack (1.5.2)
    rack-test (0.6.2)
      rack (>= 1.0)
    rails (4.1.6)
      actionmailer (= 4.1.6)
      actionpack (= 4.1.6)
      actionview (= 4.1.6)
      activemodel (= 4.1.6)
      activerecord (= 4.1.6)
      activesupport (= 4.1.6)
      bundler (>= 1.3.0, < 2.0)
      railties (= 4.1.6)
      sprockets-rails (~> 2.0)
    railties (4.1.6)
      actionpack (= 4.1.6)
      activesupport (= 4.1.6)
      rake (>= 0.8.7)
      thor (>= 0.18.1, < 2.0)
    rake (10.3.2)
    ref (1.0.5)
    sass (3.3.14)
    sprockets (2.11.0)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    sprockets-rails (2.0.1)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      sprockets (~> 2.8)
    therubyracer (0.12.1)
      libv8 (~> 3.16.14.0)
      ref
    thor (0.19.1)
    thread_safe (0.3.4)
    tilt (1.4.1)
    turbolinks (2.4.0)
      coffee-rails
    tzinfo (1.2.2)
      thread_safe (~> 0.1)
    uglifier (2.5.3)
      execjs (>= 0.3.0)
      json (>= 1.8.0)

PLATFORMS
  ruby

DEPENDENCIES
  autoprefixer-rails
  bootflat-rails
  bootstrap-sass
  coffee-rails (~> 4.0.0)
  jbuilder (~> 2.0)
  jquery-rails
  pg
  rails (= 4.1.6)
  sass-rails!
  therubyracer
  turbolinks
  uglifier (>= 1.3.0)

I would be glad if you can advice some help. Best, Christoph

zakelfassi commented 9 years ago

Could you remove this line from your Gemfile gem 'sass-rails', :git => 'https://github.com/zakelfassi/sass-rails' and just use gem 'sass-rails' ? (see the latest releases here: https://github.com/rails/sass-rails/releases)

zapnap commented 9 years ago

Same issue here, using the latest gem release of sass-rails (v4.0.4)

zapnap commented 9 years ago

Also it appears that current master of this project depends on Sass 3.3.x but sass-rails master branch and all releases past 4.0.1 depend on Sass 3.2.x. Looks like this dependency requirement changed between sass-rails 4.0.1 and 4.0.2 (fun!). It used to just require >= 3.1.10 release, which would have made it compatible at the time.

https://github.com/rails/sass-rails/blob/master/sass-rails.gemspec
https://github.com/rails/sass-rails/blob/debabfce664370f18e5ed6e6ae2fb3772883a284/sass-rails.gemspec