Comments (6)
New version (1.3.0) uses Less and Less Railtie to work with Less CSS (Twitter Bootstrap built with Less).
So, as you know Rails 3.1 execjs requires JavaScript runtime therubyracer is required for it.
Just install execjs and therubyracer in your Gemfile and run bundle after.
from twitter-bootstrap-rails.
And you can install previous version (it's uses static CSS files) if you want
gem "twitter-bootstrap-rails", "~> 0.0.5"
from twitter-bootstrap-rails.
Sorry, I should have phrased that better. I understand why you made it a dependency, I'm just not sure why it's necessary. therubyracer is kind of a heavy dependency for a CSS framework. Personally, it would seem to make more sense that the gem would serve the static assets, and then if you needed to compile them on the fly because you're modifying some of the colors or something, then you could manually require therubyracer. Just a thought.
I was actually pinned to a ref (that doesn't seem to exist any more) because at the time, the latest version on RubyGems (0.0.5) wasn't up to date with Bootstrap.
from twitter-bootstrap-rails.
I decided to create a seperate branch (w/o Less) that just serves latest static CSS, JS files.
You can install from latest build (from branch);
gem 'twitter-bootstrap-rails', :git => "git://github.com/seyhunak/twitter-bootstrap-rails.git", :branch => "static"
Please let me know if have any problems or suggestions.
from twitter-bootstrap-rails.
That's perfect, man. Thanks so much!
from twitter-bootstrap-rails.
Yes, perfect, thanks
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.