我尝试在NFS上的mac os上安装rails,并得到了该错误
<No /private/tmp/test_app/Gemfile.lock found>
---模板结束------------------------------------------ ----------------------
不幸的是,发生了意外错误,Bundler无法继续。
首先,尝试此链接以查看是否存在此错误的任何现有问题报告: https://github.com/bundler/bundler/search?q=Operation+not+supported+%40+rb_file_flock+-+%2Fnfs%2F2017%2Fb%2Fbrabo-hi%2F.rvm%2Fgems%2Fruby-2.4.1%2Fbundler.lock&type=Issues
如果还没有针对此错误的报告,请创建复制并将上述报告模板粘贴到新问题中。不要忘记匿名任何私人数据!新发行表格位于:
https://github.com/bundler/bundler/issues/new
运行bundle exec spring binstub --all
bundler:命令未找到:spring
使用bundle install
捆绑环境
## Environment
```
Bundler 1.16.2
Platforms ruby, x86_64-darwin-17
Ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin17]
Full Path /nfs/2017/b/brabo-hi/.rvm/rubies/ruby-2.4.1/bin/ruby
Config Dir /nfs/2017/b/brabo-hi/.rvm/rubies/ruby-2.4.1/etc
RubyGems 2.6.14
Gem Home /nfs/2017/b/brabo-hi/.rvm/gems/ruby-2.4.1
Gem Path /nfs/2017/b/brabo-hi/.rvm/gems/ruby-2.4.1:/nfs/2017/b/brabo-hi/.rvm/gems/ruby-2.4.1@global
User Path /nfs/2017/b/brabo-hi/.gem/ruby/2.4.0
Bin Dir /nfs/2017/b/brabo-hi/.rvm/gems/ruby-2.4.1/bin
Tools
Git 2.15.1 (Apple Git-101)
RVM 1.29.3 (latest)
rbenv rbenv 1.1.1
chruby not installed
rubygems-bundler (1.4.4)
```
## Bundler Build Metadata
```
Built At 2018-05-16
Git SHA 9f7bf0ac3
Released Version true
```