我的最终目标是在Ubuntu 14.04 Docker容器中使这个工作起来:https://github.com/byalextran/autoluv
当我运行时
m1@9bdc67007b49:~/autoluv$ bundle install --deployment
它说:
Fetching unf_ext 0.0.7.4
Installing unf_ext 0.0.7.4 with native extensions
Errno::EACCES: Permission denied @ rb_sysopen - /home/m1/autoluv/vendor/bundle/ruby/2.4.0/gems/unf_ext-0.0.7.4/.document
An error occurred while installing unf_ext (0.0.7.4), and Bundler cannot continue.
Make sure that `gem install unf_ext -v '0.0.7.4' --source 'https://rubygems.org/'` succeeds before bundling.
但当我运行时
sudo gem install unf_ext -v '0.0.7.4' --source 'https://rubygems.org/'
unf_ext-0.0.7.4能够成功安装吗?
Building native extensions. This could take a while...
Successfully installed unf_ext-0.0.7.4
1 gem installed
Installing ri documentation for unf_ext-0.0.7.4...
Installing RDoc documentation for unf_ext-0.0.7.4...
我无法想出下一步应该怎么做。我已经尝试安装ruby-dev和gcc,但是它们都没有帮助推进这个问题 :(
非常感谢任何形式的帮助!