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

Mixin grid-core-span is missing argument $gridColumnWidth. #24

Closed
bluebu opened this issue Aug 11, 2012 · 10 comments
Closed

Mixin grid-core-span is missing argument $gridColumnWidth. #24

bluebu opened this issue Aug 11, 2012 · 10 comments

Comments

@bluebu
Copy link

bluebu commented Aug 11, 2012

After updated rails to 3.2.8, it reported "Mixin grid-core-span is missing argument $gridColumnWidth."

Maybe it should be the sass issue , I found the sass gem has updated from 3.1.20 to 3.2.0

When I set the sass version to 3.1.20, it's ok.

But in 3.2.0, the 165 line code in the file "navbar.scss" can't be compressed sucessfully.

and the code is below:

.navbar-fixed-bottom .container {
@include grid-core-span($gridColumns); // here is the code
}

@yury yury closed this as completed in 8cf830a Aug 12, 2012
@yury
Copy link
Member

yury commented Aug 12, 2012

Released anjlab-bootstrap-rails v2.0.4.4 with fix.

Thanks for report.

@sudhirj
Copy link

sudhirj commented Aug 12, 2012

Superb responsiveness - thanks a ton for the quick fix.

@bluebu
Copy link
Author

bluebu commented Aug 13, 2012

so quick! thx a lot ^_^

@zjhui
Copy link

zjhui commented May 3, 2013

I have Rails 3.2.13 and * sass (3.2.8) * sass-rails (3.2.6), * anjlab-bootstrap-rails (2.3.1.1 c778407), It comes the same error: Mixin grid-core-span is missing argument $gridColumnWidth. (in /home/zjhui/.rvm/gems/ruby-2.0.0-p0/gems/anjlab-bootstrap-rails-2.0.3.2/vendor/assets/stylesheets/bootstrap.scss) . It may come the bug again?

@zjhui
Copy link

zjhui commented May 3, 2013

I followed this page, manually add this code @include grid-core-span($gridColumns, $gridColumnWidth, $gridGutterWidth);, than it seems work.

@yury
Copy link
Member

yury commented May 3, 2013

@zjhui that is strange. Can you point exactly line on github that you changed?

@zjhui
Copy link

zjhui commented May 3, 2013

It's so stange. My gemfile is: gem 'anjlab-bootstrap-rails', :require => 'bootstrap-rails', :git => 'git://github.com/anjlab/bootstrap-rails.git'
and the navbar.scss path on my computer is /home/zjhui/.rvm/gems/ruby-2.0.0-p0/gems/anjlab-bootstrap-rails-2.0.3.2/vendor/assets/stylesheets/navbar.scss, however on github the path is: vendor/twitter/scss/navbar.scss and the line 199 on github , the code was .navbar-fixed-bottom .container { @include grid-core-span($gridColumns, $gridColumnWidth, $gridGutterWidth); }. But the computer on my computer is: .navbar-fixed-bottom .container { @include grid-core-span($gridColumns);

@yury
Copy link
Member

yury commented May 3, 2013

This is strange:
/home/zjhui/.rvm/gems/ruby-2.0.0-p0/gems/anjlab-bootstrap-rails-2.0.3.2

Your app is using 2.0.3.2 version on your gems.

Try to bundle update anjlab-bootstrap-rails
and run you app with bundle exec.

Also, can you show your Gemfile.lock?

@zjhui
Copy link

zjhui commented May 3, 2013

Follow your step, it works. And here is my grep -C 5 bootsrap Gemfile.lock:

    GIT
  remote: git://github.com/anjlab/bootstrap-rails.git
  revision: c77840781930eae034d5dbfeb372446e93765bc2
  specs:
    anjlab-bootstrap-rails (2.3.1.1)
      railties (>= 3.0)
      sass (>= 3.2)

GEM
  remote: http://ruby.taobao.org/
--
      activesupport (= 3.2.13)
    activesupport (3.2.13)
      i18n (= 0.6.1)
      multi_json (~> 1.0)
    arel (3.0.2)
    bootstrap-will_paginate (0.0.3)
      will_paginate
    bootstrap_helper (1.4.1)
      railties (~> 3.0)
      thor (~> 0.14)
    builder (3.0.4)
    capybara (2.1.0)
      mime-types (>= 1.16)
--

PLATFORMS
  ruby

DEPENDENCIES
  anjlab-bootstrap-rails!
  bootstrap-will_paginate (= 0.0.3)
  bootstrap_helper (= 1.4.1)
  capybara
  coffee-rails (~> 3.2.1)
  factory_girl_rails
  guard-rspec
  jquery-rails

P.S: i change the navbar.scss back and run rails s without bundle exec, it works too.

@yury
Copy link
Member

yury commented May 3, 2013

cool

Yury Korolev
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Friday, May 3, 2013 at 2:46 PM, zjhui wrote:

Follow your step, it works. And here is my grep -C 5 bootsrap Gemfile.lock:
GIT remote: git://github.com/anjlab/bootstrap-rails.git revision: c778407 specs: anjlab-bootstrap-rails (2.3.1.1) railties (>= 3.0) sass (>= 3.2) GEM remote: http://ruby.taobao.org/ -- activesupport (= 3.2.13) activesupport (3.2.13) i18n (= 0.6.1) multi_json (> 1.0) arel (3.0.2) bootstrap-will_paginate (0.0.3) will_paginate bootstrap_helper (1.4.1) railties (> 3.0) thor (> 0.14) builder (3.0.4) capybara (2.1.0) mime-types (>= 1.16) -- PLATFORMS ruby DEPENDENCIES anjlab-bootstrap-rails! bootstrap-will_paginate (= 0.0.3) bootstrap_helper (= 1.4.1) capybara coffee-rails (> 3.2.1) factory_girl_rails guard-rspec jquery-rails
P.S: i change the navbar.scss back and run rails s without bundle exec, it works too.


Reply to this email directly or view it on GitHub (#24 (comment)).

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

4 participants