Comments (12)
What version of Ruby and Rails are you running?
from twitter-bootstrap-rails.
Ruby 1.9.2-p180 or 1.9.3-p0 (same with the two) and rails 3.1.0
from twitter-bootstrap-rails.
Your versions meet the requirements. Looks like Less cant compile asset files for you.
I just tested on my stack. (Ruby 1.9.3, Rails 3.2 and also with Rails 3.1) everything works.
from twitter-bootstrap-rails.
I've found less/less.js#592 which seems related to my issue but i've no ideas how to test something...
My less and less-rails gems in my bundle are 2.0.9 and 2.1.5.
from twitter-bootstrap-rails.
Looks like problem related to Less.js, also gem updated to less-rails 2.1.5. I hope it fixes.
from twitter-bootstrap-rails.
I have the same issue:
Cannot call method 'charAt' of undefined
(in /usr/lib/ruby/gems/1.8/gems/twitter-bootstrap-rails-2.0.2/vendor/assets/stylesheets/twitter/bootstrap.css.less)
but it happens ONLY on my linux test server, running apache and passenger
in local (webrick, OsX) i haven't any problem
ruby 1.8.7
less 2.0.9
less-rails 2.1.5
from twitter-bootstrap-rails.
I have the same problem:
Cannot call method 'charAt' of undefined
(in /usr/lib/ruby/1.9.1/gems/twitter-bootstrap-rails-2.0.2/vendor/assets/stylesheets/twitter/bootstrap.css.less)
in localhost I don't have any problem but at development I get this error.
ruby 1.9.3
less 2.0.9
less-rails 2.1.6
rails 3.1.0
I tried some solutions but I couldn't solve my problem. what should I do to solve the error?
from twitter-bootstrap-rails.
i solved upgrading to 1.9.3 (rvm).
from twitter-bootstrap-rails.
and I called "rails g bootstrap:install" and solved my problem
from twitter-bootstrap-rails.
I ran into a similar error while trying to use this gem on a clean rails 3.2 app. I was using the latest ruby 1.9.3, via RVM. Searching the web for a solution just kept sending me round and round. It is most likely an issue with LESS, but I could not find a solution that worked. Finally I gave up and used this other, simpler (less features) 'bootstrap-sass' gem by @thomas-mcdonald. It just worked, and presumably because it uses SASS instead of LESS
from twitter-bootstrap-rails.
Issue poped up again after upgrading from 2.2.4
to 2.2.5
from twitter-bootstrap-rails.
I fixed this issue with:
gem 'less-rails', git: 'git://github.com/metaskills/less-rails.git'
from twitter-bootstrap-rails.
Related Issues (20)
- best way i18n way to produce title on scaffold templates
- Bug error_span in template HOT 2
- set navbar collapse breakpoint
- Get 'Could not find commonjs-0.2.7 in any of the sources' Error 'when generate bootstrap:install' HOT 1
- Bootstrap 4 and Rails 5 HOT 4
- Wrong assets paths HOT 1
- jQuery is not defined with Rails 5.1 and Yarn HOT 3
- issue with up-to-date versions of rails HOT 2
- Dependency issues
- No route matches [GET] "/assets/fonts/glyphicons-halflings-regular.woff2"
- Problem with Rails 5.1.4 and apple-touch-icons asset pipeline HOT 7
- The grid system doesn't work; Alerts all look the same (and not like on the bootstrap website)
- How can i figure out version of bootstrap for static implementation?
- Rails 6.0 support? HOT 1
- BadgeLabelHelper autoload Deprecation Warning HOT 2
- Cut new release HOT 1
- Problem with DEPRECATED warnings for Rails 4 HOT 3
- missing release tags > 2.2.7
- Support for newer version of bootstrap
- Breaking changes from v4 to v5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-bootstrap-rails.