Skip to content

Instantly share code, notes, and snippets.

@bjfish
Created April 30, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjfish/92d734fa34c96171b5f3 to your computer and use it in GitHub Desktop.
Save bjfish/92d734fa34c96171b5f3 to your computer and use it in GitHub Desktop.
Tried some Gem commands
./bin/jruby -X+T -S gem -v
2.4.6
./bin/jruby -X+T -S gem -h
RubyGems is a sophisticated package manager for Ruby. This is a
basic help message containing pointers to more information.
Usage:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
Examples:
gem install rake
gem list --local
gem build package.gemspec
gem help install
Further help:
gem help commands list all 'gem' commands
gem help examples show some examples of usage
gem help gem_dependencies gem dependencies file guide
gem help platforms gem platforms guide
gem help <COMMAND> show help on COMMAND
(e.g. 'gem help install')
gem server present a web page at
http://localhost:8808/
with info about installed gems
Further information:
http://guides.rubygems.org
./bin/jruby -X+T -S gem install --local /Users/brandonfish/Documents/rake
/Users/brandonfish/Documents/jruby/lib/ruby/truffle/mri/rubygems/core_ext/../../../../stdlib/rubygems/core_ext/kernel_require.rb:54: warning: zlib not yet implemented
ERROR: Loading command: install (LoadError)
cannot load such file -- digest
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for NilClass
./bin/jruby -X+T -S gem list
ERROR: Loading command: list (LoadError)
cannot load such file -- net/http
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for NilClass
./bin/jruby -X+T -S gem install rails
/Users/brandonfish/Documents/jruby/lib/ruby/truffle/mri/rubygems/core_ext/../../../../stdlib/rubygems/core_ext/kernel_require.rb:54: warning: zlib not yet implemented
ERROR: Loading command: install (LoadError)
cannot load such file -- digest
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for NilClass
./bin/jruby -X+T -S gem search rails
ERROR: Loading command: search (LoadError)
cannot load such file -- net/http
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for NilClass
./bin/jruby -X+T -S gem which rake
ERROR: Can't find ruby library file or shared library rake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment