Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rails Assets wroc_love.rb
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tymon Tobolski
March 16, 2014
Programming
790
1
Share
Rails Assets wroc_love.rb
wroc_love.rb 2014 lighting talk - the state and future of rails-assets.org
Tymon Tobolski
March 16, 2014
More Decks by Tymon Tobolski
See All by Tymon Tobolski
Only possible with Elixir - ubots Case Study
teamon
0
290
Fun with Elixir Macros
teamon
1
570
Elixir GenStage & Flow
teamon
2
1.1k
Elixir - Bydgoszcz Web Development Meetup
teamon
2
970
Sidekiq
teamon
1
200
Git - Monterail style
teamon
1
200
Angular replacements for jQuery-based libraries
teamon
1
410
Angular replacements for jQuery-based libraries
teamon
2
340
Rails Assets LRUG
teamon
0
7.6k
Other Decks in Programming
See All in Programming
ハーネスエンジニアリングとは?
kinopeee
13
6.9k
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
130
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
230
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
5
1.6k
AI-DLC Deep Dive
yuukiyo
9
5.6k
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
330
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
1
680
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
370
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.7k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
290
cloudnative conference 2026 flyle
azihsoyn
0
150
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
170
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
sira's awesome portfolio website redesign presentation
elsirapls
0
230
Fireside Chat
paigeccino
42
3.9k
Claude Code のすすめ
schroneko
67
220k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
240
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Game over? The fight for quality and originality in the time of robots
wayneb77
1
170
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
140
[SF Ruby Conf 2025] Rails X
palkan
2
1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3k
Transcript
Asset Management in Rails
State of the art • /vendor/assets • asset gems Ruby
World JavaScript World • /vendor/assets • bower
So what's the problem? • Asset Gems won't package themselves
• Asset Gems are always step behind official libraries • Unnecessary stuff like ruby helpers :-(
If only I could use bower components in ruby
+ rails-assets.org
source 'https://rubygems.org' +source 'https://rails-assets.org' ! gem 'rails' ! group :assets
do gem 'sass-rails' gem 'uglifier' gem 'coffee-rails' + gem 'rails-assets-bootstrap' + gem 'rails-assets-angular' + gem 'rails-assets-leaflet' end
application.js ! ! ! //= require_self +//= require bootstrap +//=
require angular +//= require leaflet //= require_tree . application.css ! ! /* *= require_self +*= require bootstrap +*= require leaflet *= require_tree . */
None
Is it any good? • No more vendor/assets :-) •
Proper versioning :-D • Dependency resolution x-D • Just works!
What's the catch? • Rails Assets is centralized solution •
Only tag releases are bundled to .gem files • Mixing assets definitions with gem definitions • Long gem names (rails-assets-jquery)
bower-rails source 'https://bower.io' ! asset "angular" asset "underscore", "~> 2.0"
! group :test, :development do asset "karma" end
application.js ! ! ! //= require_self +//= require bootstrap +//=
require angular +//= require leaflet //= require_tree . application.css ! ! /* *= require_self +*= require bootstrap +*= require leaflet *= require_tree . */
We're joining forces! rails-assets + bower-rails = <3
Please help us! Tymon Tobolski !
[email protected]
@iteamon Adam Stankiewicz
!
[email protected]
@sheerun GitHub: rails-assets/rails-assets