ruby - Error after 'hub create' cmd for a new rails app -


i created new rails app 'rails new' command line, tried create repo on github 'hub create' gem command usual, got response in terminal :

ignoring bcrypt-3.1.11 because extensions not built.  try: gem pristine bcrypt --version 3.1.11 ignoring binding_of_caller-0.7.2 because extensions not built.  try: gem pristine binding_of_caller --version 0.7.2 ignoring byebug-9.0.5 because extensions not built.  try: gem pristine byebug --version 9.0.5 ignoring curb-0.9.3 because extensions not built.  try: gem pristine curb --version 0.9.3 ignoring debug_inspector-0.0.2 because extensions not built.  try: gem pristine debug_inspector --version 0.0.2 /usr/local/opt/rbenv/versions/2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/dependency.rb:308:in `to_specs': not find 'hub' (>= 0.a) among 122 total gem(s) (gem::missingspecerror) checked in 'gem_path=/users/osx/.rvm/gems/ruby-2.3.0:/users/osx/.rvm/gems/ruby-2.3.0@global', execute `gem env` more information /usr/local/opt/rbenv/versions/2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/dependency.rb:320:in `to_spec' /usr/local/opt/rbenv/versions/2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem' /usr/local/opt/rbenv/versions/2.3.0/bin/hub:22:in `<main>' 

so tried 'gem pristine' commands nothing changed. uninstalled reinstalled ruby, rails, updated gems, made 'brew uninstall hub' reinstalled, response still appears! tried create new rails app in 4.2.0 since thought maybe rails 5 compatibility issue, no, same message.

my hub command worked fine few weeks ago, cannot figure how fix this. if have idea...

thanks!

finally figured out, had :

gem install hub 

but thought had hub installed brew, , hub commands worked few weeks ago, i'm missing here...

however works !


Comments