Я использую ruby 2.2.5 и bundle install
не удается установить драгоценные камни с родным расширением. Вот ошибка, которую я получаю от json gem.Почему все камни с собственными расширениями, которые не могут быть установлены при запуске пакета?
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/Mr_AdeyBee/.rvm/rubies/ruby-2.2.5/bin/ruby -r ./siteconf20160724-3304-1j34bow.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling bcrypt_ext.c
compiling crypt.c
compiling crypt_blowfish.c
compiling crypt_gensalt.c
compiling wrapper.c
linking shared-object bcrypt_ext.bundle
ld: warning: directory not found for option '-L/Users/travis/.sm/pkg/active/lib'
make "DESTDIR=" install
make: /usr/local/bin/gmkdir: No such file or directory
make: *** [.RUBYARCHDIR.time] Error 1
make install failed, exit code 2
Gem files will remain installed in /Users/Mr_AdeyBee/.rvm/gems/ruby-2.2.5/gems/bcrypt-3.1.11 for inspection.
Results logged to /Users/Mr_AdeyBee/.rvm/gems/ruby-2.2.5/extensions/x86_64-darwin-15/2.2.0-static/bcrypt-3.1.11/gem_make.out
Также здесь приведена ошибка для beebug.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/Mr_AdeyBee/.rvm/rubies/ruby-2.2.5/bin/ruby -r ./siteconf20160724-3304-1vjgvan.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling breakpoint.c
compiling byebug.c
compiling context.c
compiling locker.c
compiling threads.c
linking shared-object byebug/byebug.bundle
ld: warning: directory not found for option '-L/Users/travis/.sm/pkg/active/lib'
make "DESTDIR=" install
make: /usr/local/bin/gmkdir: No such file or directory
make: *** [.RUBYARCHDIR.-.byebug.time] Error 1
make install failed, exit code 2
Gem files will remain installed in /Users/Mr_AdeyBee/.rvm/gems/ruby-2.2.5/gems/byebug-9.0.5 for inspection.
Results logged to /Users/Mr_AdeyBee/.rvm/gems/ruby-2.2.5/extensions/x86_64-darwin-15/2.2.0-static/byebug-9.0.5/gem_make.out
Я попытался установить с sudo
и я получаю тот же результат. Я также попробовал несколько результатов из предложений Google, и я, похоже, не нашел подходящего решения.
Рубин Версия -> 2.2.5 Rails версии -> 4.2.5
Как я могу получить за это?
Кто Travis? Откуда это. И у вас есть Xcode и все инструменты командной строки? (Выглядит как OS X на основе/Users) – Doon
У меня нет пользователя с именем Travis, и я действительно не знаю, почему он ищет этот каталог. –
Возможно, переустановка жгута может помочь? – MMachinegun