Bundler is the Best! BADCamp https://github.com/bundler/bundler.

Slides:



Advertisements
Similar presentations
Spring Roo and the Cloud Shekhar Gulati.
Advertisements

Information Technology Quiz Questions with Answers Part 9
Using T4Eclipse tool to Analyze Eclipse UI For t4eclipse version Ben Xu July 17,2010.
Copyright © 2007 Knowbility, Inc. Accessibility Testing 1 Code Validators – XHTML & CSS Accessibility Validators – Page by Page Listening to Your Pages.
Bellwork If you roll a die, what is the probability that you roll a 2 or an odd number? P(2 or odd) 2. Is this an example of mutually exclusive, overlapping,
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Scienze dellInformazione Università di Bologna.
1 Chapter 40 - Physiology and Pathophysiology of Diuretic Action Copyright © 2013 Elsevier Inc. All rights reserved.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
4 Copyright © 2005, Oracle. All rights reserved. Creating the Web Tier: Servlets.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
0 - 0.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
Addition Facts
WordPress from Start to Finish Day 3: Working with plugins (
OCNG OpenClinica Next Generation 1. © What Is OCNG? OpenClinica Next Generation A Test Bed For New Technology Developed Independently of OC 3.x Keeping.
Single Page Apps with Breeze and Ruby.
Lesson 6: Configuring Servers for Remote Management
Compaq StorageWorks Virtual Replicator Quick Tour.
ABC Technology Project
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
PaaSing Your Code Around Oct ZendCon
August 2012 This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit
What’s New in Fireware XTM v11.9.1
1 DEV141 Gord Tanner Michael Brooks May 1, 2012 Porting to BlackBerry using Apache Cordova.
1. What is Essex Scheduler? 2. Why Android? 3. Software design 4. Application graphics 5. Releasing to Google Play 6. Application maintenance Essex Scheduler.
PowerPoint Design Quiz True or False By PresenterMedia.comPresenterMedia.com.
Learning the Basics – Lesson 1
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
Addition 1’s to 20.
Start. 5a - 5 = 7a - 19 A. 7 B. 16 C. -7 D. None of these.
25 seconds left…...
1 Institutional Repository Workshop 1 – 3 April 2009 Presented by Leonard Daniels.
Week 1.
Programming Fundamentals 1 st lecture. ELTE 2/ Content  Steps of solving problems – steps of writing a computer.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, September 19, 2013 Session 3: JavaScript.
We will resume in: 25 Minutes.
12. NLTS2 Documentation: Quick References. 1 Prerequisites Recommended modules to complete before viewing this module  1. Introduction to the NLTS2 Training.
Tornado Web and MongoDB An Introduction to AsyncMongo MongoBoston John C. Zablocki Development Manager, HealthcareSource Organizer, Beantown.
CMSC433 Solving Project 0 Getting started with BitBucket, Git and Eclipse CMSC433 - Programming Language Technologies and Paradigms (Spring 2012)
Presenter: James Huang Date: Sept. 29,  HTTP and WWW  Bottle Web Framework  Request Routing  Sending Static Files  Handling HTML  HTTP Errors.
Grouper UI Part 2 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.
Does one size really fit all? Evaluating classifiers in Bag-of-Visual-Words classification Christian Hentschel, Harald Sack Hasso Plattner Institute.
Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
04/24/2014April 2014 Chapter Meeting1 Forcing IE 10 & 11 to play nicely with Retail Link™ Dan Batson Sr. Analyst / Category Advisor Fujifilm North America.
{ OER Management Made Easy …or so I thought. joe hobson / Navigation North.
Many Markets. One Source. Slide 1 RPC & eCommerce January 25, 2000 David Burdett, Commerce One,
Continuous and Visible Security Testing
Tutorial 2 IDE for ARM 7 board (2). Outline Introduce the Debug mode of uVision4 2.
The Future of CSS and JavaScript Today Daniel Laughland Forward Thinking.
Bones – HTML5 Wordpress Theme Development
ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension wwwroot r/w access runs
ASP.NET 5 Visual Studio Code Bill Wolff July 8, 2015.
SharePoint Branding with Design Manager. About James 7 years of SharePoint 2007, 2010, 2013 On-prem deployment planning, infrastructure setup, governance.
THttpServer class Sergey Linev (GSI). Some history Development was inspired by JSRootIO why not achieve similar functionality with online ROOT application?
Lecture 11 Rails Topics SaaSSaaS Readings: SaaS book Ch February CSCE 740 Software Engineering.
Wordpress with Mina Automated Deployment Solution Jonathan Gravato DIG 4104c.
CSS PREPROCESSORS Michael and Miles. Overview What are CSS Preprocessors Why use them? What is LESS and how to use LESS example What is SASS and how to.
APP DESIGN AND DEVELOPMENT WITH THE IONIC FRAMEWORK Chuck Leone
CSCI 3100 Tutorial 5 Bootstrap & Git ZENG, Jichuan Department of Computer Science and Engineering The Chinese University of Hong.
Web Application Development with PHP in Netbeans 6.5 ● Angad Singh Campus Ambassador Tech Lead
Pre-Production Meet with the client to create a project plan:
Information Extraction Review of Übung 2
Accessibility into Automation
Building Web Applications with Microsoft ASP

Debugging Rails 3 Applications
Power-UP YOUR UI WITH WP-API AND REACT.JS
Docker, Drupal and Persistence
Presentation transcript:

Bundler is the Best! BADCamp

Manage the rubygems you need… “Bundler makes sure Ruby applications run the same code on every machine” From

and their dependencies! “and Bundler makes it easy to make sure that your application has the dependencies it needs to start up and run without errors.” From

These are a few of my favorite things! 25.png

What can Bundler do for you?

One developer, working on one project One developer, working on many projects One of many developers, working on one project One of many developers, working on many projects If you are...

Best Practices Create one bundle per theme Add gems to the Gemfile, not the Gemfile.lock Include ALL the gems you are using on the theme in the bundle

Best Practices Specify the version of the gem if you know which one you need, otherwise you can let Bundler handle it Update gems using Bundler, not manually Once you have the bundle set up, use it!

Recommendations State “require/bundler” in config.rb or set up a bash alias so that you don’t have to type “bundle exec…” Use “chruby” to manage your system’s ruby version ( ) Add the ruby version your gems use to your Gemfile

What does it look like?

config.rb # Require Rubygems and Bundler require 'rubygems' require 'bundler/setup' # Require Sass and Compass require 'sass' require 'compass' # Require additional gems require 'breakpoint' require 'fontcustom' # Set this to the root of your project when deployed: http_path = '/' css_dir = 'css' sass_dir = 'sass' fonts_dir = 'fonts' images_dir = 'images' javascripts_dir = 'js' # Enable relative paths to assets relative_assets = true # Disable debugging comments line_comments = false # Indented syntax preferred_syntax = :sass # Add cache buster asset_cache_buster :none

Gemfile # Gemfile source " ruby "2.0.0" gem "sass", "~> rc.2" gem "compass", "~> alpha.13" gem "breakpoint", "~> 2.4.0" gem "fontcustom", "~> 1.3.3"

Gemfile.lock GEM remote: specs: breakpoint (2.4.0) compass (~> alpha.13) sass (~> rc.2) sassy-maps (< 1.0.0) chunky_png (1.2.9) compass (1.0.0.alpha.17) chunky_png (~> 1.2) compass-core (~> alpha.16) compass-import-once (~> 1.0.1) json listen (~> 1.1.0) sass (~> rc.1) compass-core (1.0.0.alpha.16) multi_json (~> 1.0) sass (>= 3.3.rc.1) compass-import-once (1.0.1) ffi (1.9.3) fontcustom (1.3.3) json (~> 1.4) listen (~> 1.0) thor (~> 0.14) json (1.8.1) listen (1.1.6) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) rb-kqueue (>= 0.2) multi_json (1.8.2) rb-fsevent (0.9.3) rb-inotify (0.9.3) ffi (>= 0.5.0) rb-kqueue (0.2.0) ffi (>= 0.5.0) sass (3.3.0.rc.2) listen (~> 1.1.0) sassy-maps (0.3.1) compass (~> alpha.13) sass (~> rc.2) thor (0.19.1) PLATFORMS ruby DEPENDENCIES breakpoint (~> 2.4.0) compass (~> alpha.13) fontcustom (~> 1.3.3) sass (~> rc.2)

Thank You BADCamp