Created
August 11, 2012 20:22
-
-
Save johnnygoodman/3327002 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. CLI: | |
Admins-MacBook-Pro:gemtest johnnygoodman$ rvm gemset create contextio | |
'contextio' gemset created (/usr/local/rvm/gems/ruby-1.9.3-p194@contextio). | |
Admins-MacBook-Pro:gemtest johnnygoodman$ rvm gemset use contextio | |
Using ruby-1.9.3-p194 with gemset contextio | |
Admins-MacBook-Pro:gemtest johnnygoodman$ touch Gemfile | |
Admins-MacBook-Pro:gemtest johnnygoodman$ touch app.rb | |
Admins-MacBook-Pro:gemtest johnnygoodman$ mate . | |
Admins-MacBook-Pro:gemtest johnnygoodman$ bundle install | |
Updating https://github.com/contextio/Ruby-ContextIO.git | |
Using contextio (0.4.0) from https://github.com/contextio/Ruby-ContextIO.git (at dev_2.0) | |
Using bundler (1.1.5) | |
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. | |
Admins-MacBook-Pro:gemtest johnnygoodman$ bundle list | |
Gems included by the bundle: | |
* bundler (1.1.5) | |
* contextio (0.4.0 c927530) | |
2. Gemfile: | |
gem 'contextio', '0.4.0', :git => 'https://github.com/contextio/Ruby-ContextIO.git', :branch => 'dev_2.0' | |
3. Run app.rb: | |
require 'bundler/setup' | |
require 'contextio' | |
4. Error: | |
SyntaxError: /usr/local/rvm/gems/ruby-1.9.3-p194/bundler/gems/Ruby-ContextIO-c927530c11b9/lib/contextio.rb:586: syntax error, unexpected $end, expecting keyword_end | |
method require in app.rb at line 2 | |
method <main> in app.rb at line 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment