summaryrefslogtreecommitdiff
path: root/v1.3/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'v1.3/index.html')
-rw-r--r--v1.3/index.html153
1 files changed, 0 insertions, 153 deletions
diff --git a/v1.3/index.html b/v1.3/index.html
deleted file mode 100644
index d4a4932378..0000000000
--- a/v1.3/index.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Bundler: The best way to manage a Ruby application's gems</title>
- <meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
- <meta content='276VSYOko8B8vIu1i8i5qbj7_ql5PXo0dU69XQy-SL' name='globalsign-domain-verification'>
- <link href='/images/favicon.png' rel='shortcut icon' type='image/png'>
- <link href="/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id='body'>
- <div id='header'>
- <a class="image" href="/"><img width="725" alt="The best way to manage your application's dependencies" src="/images/gembundler.png" /></a>
- </div>
- <div id='container'>
- <div id='contents'>
- <h2>What is Bundler?</h2>
- <div id='intro'>
- <p>
- Bundler maintains a consistent environment for ruby applications. It tracks
- an application's code and the rubygems it needs to run, so that an application
- will always have the exact gems (and versions) that it needs to run.
- </p>
- <p>
- We designed bundler to make it easy to share your code across a number
- of development, staging and production machines. Of course, you know how to
- share your own application or gem: stick it on GitHub and clone it where you
- need it. Bundler makes it easy to make sure that your application has the
- dependencies it needs to start up and run without errors.
- </p>
- </div>
- <div class='bullet'>
- <a href="/v1.3/rationale.html">Learn More: Why Bundler exists</a>
- </div>
- <h2 id='getting-started'>
- Getting Started
- </h2>
- <div class='contents'>
- <div class='bullet'>
- <div class='description'>
- Getting started with bundler is easy! Open a terminal window and run this command:
- </div>
- <pre class="highlight plaintext">$ gem install bundler&#x000A;</pre>
- </div>
- <div class='bullet'>
- <div class='description'>
- Specify your dependencies in a Gemfile in your project's root:
- </div>
- <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'https://rubygems.org'</span>&#x000A;<span class="n">gem</span> <span class="s1">'nokogiri'</span>&#x000A;<span class="n">gem</span> <span class="s1">'rack'</span><span class="p">,</span> <span class="s1">'~&gt;1.1'</span>&#x000A;<span class="n">gem</span> <span class="s1">'rspec'</span><span class="p">,</span> <span class="ss">:require</span> <span class="o">=&gt;</span> <span class="s1">'spec'</span></pre>
- <a href="/v1.3/gemfile.html">Learn More: Gemfiles</a>
- </div>
- <div class='bullet'>
- <div class='description'>
- Install all of the required gems from your specified sources:
- </div>
- <pre class="highlight plaintext">$ bundle install&#x000A;$ git add Gemfile Gemfile.lock</pre>
- <a href="/v1.3/bundle_install.html">Learn More: bundle install</a>
- <div class='notes'>
- The second command adds the Gemfile and Gemfile.lock to your repository. This ensures
- that other developers on your app, as well as your deployment environment, will all use
- the same third-party code that you are using now.
- </div>
- </div>
- <div class='bullet'>
- <div class='description'>
- Inside your app, load up the bundled environment:
- </div>
- <pre class="highlight ruby"><span class="nb">require</span> <span class="s1">'rubygems'</span>&#x000A;<span class="nb">require</span> <span class="s1">'bundler/setup'</span>&#x000A;&#x000A;<span class="c1"># require your gems as usual</span>&#x000A;<span class="nb">require</span> <span class="s1">'nokogiri'</span></pre>
- <a href="/v1.3/bundler_setup.html">Learn More: Bundler.setup</a>
- </div>
- <div class='bullet'>
- <div class='description'>
- Run an executable that comes with a gem in your bundle:
- </div>
- <pre class="highlight plaintext">$ bundle exec rspec spec/models</pre>
- <div class='notes'>
- <p>
- In some cases, running executables without <code>bundle exec</code>
- may work, if the executable happens to be installed in your system
- and does not pull in any gems that conflict with your bundle.
- </p>
- <p>
- However, this is unreliable and is the source of considerable pain.
- Even if it looks like it works, it may not work in the future or
- on another machine.
- </p>
- </div>
- <div class='description'>
- Finally, if you want a way to get a shortcut to gems in your bundle:
- </div>
- <pre class="highlight plaintext">$ bundle install --binstubs&#x000A;$ bin/rspec spec/models</pre>
- <div class='notes'>
- The executables installed into <code>bin</code> are scoped to the
- bundle, and will always work.
- </div>
- <a href="/v1.3/man/bundle-exec.1.html">Learn More: Executables</a>
- </div>
- </div>
- <h2 id='use-bundler'>Use Bundler with</h2>
- <div class='buttons'>
- <a href="/v1.3/rails3.html">Rails 3</a>
- <a href="/v1.3/rails23.html">Rails 2.3</a>
- <a href="/v1.3/sinatra.html">Sinatra</a>
- <a href="/v1.3/rubygems.html">Rubygems</a>
- <a href="/v1.3/rubymotion.html">RubyMotion</a>
- </div>
- <h2 id='get-involved'>Get involved</h2>
- <p>Bundler has a lot of contributors and users, and they all talk to each other quite a bit. If you have questions, try the IRC channel or mailing list. If you're interested in contributing to the project (no programming skills needed), read the contributing guide. If you have sponsorship or security questions, please contact the core team directly.</p>
- <div class='buttons'>
- <a href="http://webchat.freenode.net/?channels=bundler">#bundler on IRC</a>
- <a href="http://groups.google.com/group/ruby-bundler">Mailing list</a>
- <a href="https://github.com/bundler/bundler/blob/master/DEVELOPMENT.md">Contributing</a>
- <a href="mailto:andre.arko+terence.lee@gmail.com">Core team</a>
- </div>
- </div>
- </div>
- </div>
- <div id='footer'>
- <img src="/images/emocow.png" />
- <img src="/images/panda.jpg" />
- <div class='spacer'></div>
- <div id='credits'>
- <p>
- Many thanks to Bundler's <a href="/contributors.html">contributors</a>
- and <a href="/sponsors.html">sponsors</a>
- </p>
- </div>
- <div class='spacer'></div>
- <img src="/images/bundler-small.png" />
- </div>
- <a href='http://github.com/bundler/bundler/' id='github'>
- <img alt='Fork me on GitHub' src='http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png'>
- </a>
- <div id='prod-versions'>
- Docs:
- <a href="/v0.9/">v0.9</a>
- <a href="/v1.0/">v1.0</a>
- <a href="/v1.1/">v1.1</a>
- <a href="/v1.2/">v1.2</a>
- <a class="current" href="/v1.3/">v1.3</a>
- <a href="/v1.5/index.html">v1.5</a>
- <a href="/">v1.6</a>
- </div>
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-39559982-1', 'bundler.io');
- ga('send', 'pageview');
- </script>
- </body>
-</html>