Jump to content

User:Ssharm21/sandbox

From Wikipedia, the free encyclopedia

Getting started

[edit]
  1. Open the terminal and install bundler gem using the command
     $ gem install bundler
  2. List the gems required by the application in Gemfile
    source 'https://rubygems.org'
    gem 'nokogiri'
    gem 'rack', '~>1.1'
    gem 'rspec', :require => 'spec'
    you may include gem version in the file
  3. Install the listed gems and their dependencies using command
     $ bundle install
    If Gemfile.lock is not present and bundle install is run for the first time, all remote sources are fetched, dependencies are resolved and all needed gems are installed.
    If Gemfile.lock is present bundler will use all gem versions specified in Gemfile.lock instead of resolving dependencies. In case Gemfile is updated, bundler will re-resolve dependencies for updated gems and use versions from Gemfile.lock for gems which were not updated. [1]
  4. Checkin Gemfile.lock to your repository so that other developers of the application use same version of the third party code. [2]

Primary Commands

[edit]
Command Description
bundle install Install gems listed in your Gemfile and resolve dependencies [3]
bundle update Updates the version of the specified gem, updates all dependencies otherwise [4]
bundle package Copies all .gem files needed by the application to vendor/cache directory [5]
bundle exec Execute the specified command in context of the bundled gems in Gemfile [6]
bundle config To set various bundler configuration options [7]
bundle help Displays help for all subcommands [8]

Supported Frameworks

[edit]

Version History

[edit]
Version Date
1.10 [9] May 28, 2015
1.9.0 [10] March 20, 2015
1.8.0 [11] February 10, 2015
1.7.0 [12] August 14, 2014
1.6.0 [13] March 28, 2014
1.5.0 [14] December 26, 2013
1.3.0 [15] February 25, 2013
1.2.0 [16] August 30, 2012
1.1.0 [17] March 7, 2012
1.0.0 [18] August 29, 2010
0.9.0 February 3, 2010
0.8.0 January 4, 2010
0.7.0 November 5, 2009
0.6.0 September 23, 2009
0.5.0 September 3, 2009
0.4.0 August 18, 2009
0.3.0 July 29, 2009 [19]
  1. ^ "bundle install". Retrieved 13 September 2015.
  2. ^ "Getting Started". Retrieved 13 September 2015. {{cite web}}: Cite has empty unknown parameter: |1= (help)
  3. ^ "bundle install". Retrieved 13 September 2015.
  4. ^ "bundle update". Retrieved 13 September 2015.
  5. ^ "bundle package". Retrieved 13 September 2015.
  6. ^ "bundle exec". Retrieved 13 September 2015.
  7. ^ "bundle config". Retrieved 13 September 2015.
  8. ^ "bundler primary commands". Retrieved 13 September 2015.
  9. ^ "Version 1.10.0 released". Retrieved 14 September 2015.
  10. ^ "Hello, Bundler 1.9!". Retrieved 14 September 2015.
  11. ^ "Git hub CHANGELOG.md 1.8.0". Retrieved 14 September 2015.
  12. ^ "Github CHANGELOG.md 1.7.0". Retrieved 14 September 2015.
  13. ^ "Github CHANGELOG.md 1.6.0". Retrieved 14 September 2015.
  14. ^ "Githib CHANGELOG.md 1.5.0". Retrieved 14 September 2015.
  15. ^ "Github CHANGELOG.md 1.3.0". Retrieved 14 September 2015.
  16. ^ "Github CHANGELOG.md 1.2.0". Retrieved 14 September 2015.
  17. ^ "Github CHANGELOG.md 1.1.0". Retrieved 14 September 2015.
  18. ^ "Github CHANGELOG.md 1.0.0". Retrieved 14 September 2015.
  19. ^ "Version history on RubyGerms.org". Retrieved 14 September 2015.