ruby - How do I set up my rubygems environment correctly? -
i have following error when try run shotgun
(this more gem environment specific gem):
/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': not find 'shotgun' (>= 0) among 12 total gem(s) (gem::loaderror) /system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec' /system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem' /usr/local/bin/shotgun:22:in `<main>'
in other words, think looking in wrong area (i don't try run on mac osx's ruby.framework.
i had tried remove thought symlink rm -rf ~
, deleted bunch of things.
i have following rubygems environment, , want have own, separate ruby gem installation directory, not dependent on framework or library. how do that?
however, when @ both ruby executable , installation directory, both in library.
rubygems environment: - rubygems version: 2.0.14 - ruby version: 2.0.0 (2014-05-08 patchlevel 481) [universal.x86_64-darwin13] - installation directory: /library/ruby/gems/2.0.0 - ruby executable: /system/library/frameworks/ruby.framework/versions/2.0/usr/bin/ruby - executable directory: /usr/bin - rubygems platforms: - ruby - universal-darwin-13 - gem paths: - /library/ruby/gems/2.0.0 - /users/angelacode/.gem/ruby/2.0.0 - /system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/gems/2.0.0
Comments
Post a Comment