iagox86 / dnscat2

BSD 3-Clause "New" or "Revised" License
3.43k stars 601 forks source link

gem install ecdsa -v '1.2.0' ERROR #96

Open mehranexpert opened 8 years ago

mehranexpert commented 8 years ago

i using bundle install to install it , i got error ;

An error occurred while installing ecdsa (1.2.0), and Bundler cannot continue. Make sure thatgem install ecdsa -v '1.2.0'succeeds before bundling.

im try gem install ecdsa -v '1.2.0'

i got error ERROR: Error installing ecdsa: ecdsa requires RubyGems version >= 2. Try 'gem update --system' to update RubyGems itself.

and

gem update --system ERROR: While executing gem ... (RuntimeError) gem update --system is disabled on Debian, because it will overwrite the content of the rubygems Debian package, and might break your Debian system in subtle ways. The Debian-supported way to update rubygems is through apt-get, using Debian official repositories. If you really know what you are doing, you can still update rubygems by setting the REALLY_GEM_UPDATE_SYSTEM environment variable, but please remember that this is completely unsupported by Debian.

now what am i doing ?

mehranexpert commented 8 years ago

i fixed that now i got new Error :

/usr/local/lib/site_ruby/1.9.1/rubygems/dependency.rb:308:into_specs': Could not find 'bundler' (>= 0) among 1 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/root/.gem/ruby/1.9.1:/usr/lib/ruby/gems/1.9.1', execute gem env for more information from /usr/local/lib/site_ruby/1.9.1/rubygems/dependency.rb:320:in to_spec' from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_gem.rb:65:ingem' from /usr/local/bin/bundle:22:in <main>'

mirkathaha commented 7 years ago

do a "sudo gem install bundler" and then "sudo bundle install" again