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
Tymon Tobolski
March 16, 2014
Programming
810
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
300
Fun with Elixir Macros
teamon
1
600
Elixir GenStage & Flow
teamon
2
1.1k
Elixir - Bydgoszcz Web Development Meetup
teamon
2
1k
Sidekiq
teamon
1
210
Git - Monterail style
teamon
1
210
Angular replacements for jQuery-based libraries
teamon
1
430
Angular replacements for jQuery-based libraries
teamon
2
340
Rails Assets LRUG
teamon
0
7.6k
Other Decks in Programming
See All in Programming
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
160
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
740
AIが無かった頃の素敵な出会いの話
codmoninc
1
270
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
200
継続モナドとリアクティブプログラミング
yukikurage
3
650
地域 SRE コミュニティ最前線 - ホンマでっかSRE勉強会
tk3fftk
0
280
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
3
180
テーブルをDELETEした
yuzneri
0
120
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
0
370
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
230
광주소프트웨어마이스터고등학교 DevFest 특강 - 바이브 코딩 시대에서 주니어 개발자로 살아남는 방법
utilforever
1
160
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
150
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
230
We Have a Design System, Now What?
morganepeng
55
8.2k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.3k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Skip the Path - Find Your Career Trail
mkilby
1
170
Utilizing Notion as your number one productivity tool
mfonobong
4
470
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
390
So, you think you're a good person
axbom
PRO
2
2.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
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