当我尝试通过Homebrew安装R(用于Vim-R-plugin)时:
brew install gcc
brew install r
Run Code Online (Sandbox Code Playgroud)
然后尝试运行R:
R
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
dyld: Library not loaded: /usr/local/lib/gcc/5/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/r/3.2.0_1/R.framework/Versions/3.2/Resources/lib/libR.dylib
Reason: image not found
zsh: trace trap R
Run Code Online (Sandbox Code Playgroud)
我已经搜索了错误并尝试了一些运气不好的"解决方案".任何帮助将非常感激!
我最近更新了我的OS X El Capitan(版本10.11.1)和我的tmux(版本1.9a通过Homebrew)鼠标模式停止工作.我收到错误:
/Users/username/.tmux.conf:57: ambiguous option: mouse
在我的第57行tmux.conf,我有以下代码启用鼠标模式:
set -g mouse on
以下行启用/禁用鼠标模式:
# Toggle mouse on
bind m \
set -g mouse on \;\
display 'Mouse: ON'
# Toggle mouse off
bind M \
set -g mouse off \;\
display 'Mouse: OFF'
# Start copy mode when scrolling up or down
bind -n WheelUpPane copy-mode
bind -n WheelDownPane copy-mode
Run Code Online (Sandbox Code Playgroud)
当我更新tmux时,我以前必须更新mouse-mode以mouse修复鼠标模式.我试图恢复该修复但没有成功.任何帮助将不胜感激!
我在为rails应用程序设置Chef和Vagrant时遇到问题.当我尝试:
$ vagrant up
Run Code Online (Sandbox Code Playgroud)
我收到错误:
Bringing machine 'default' up with 'virtualbox' provider...
The following berks command failed to execute:
/Users/user/.chefdk/gem/ruby/2.1.0/bin/berks --version --format json
The stdout and stderr are shown below:
stdout:
stderr: /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:313:in `to_specs':
Could not find 'berkshelf' (>= 0) among 90 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/user/.vagrant.d/gems:/Applications/Vagrant/bin/../embedded/gems', execute `gem env` for more information
from /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:322:in `to_spec'
from /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:58:in`gem'
from /Users/user/.chefdk/gem/ruby/2.1.0/bin/berks:22:in `<main>'
Run Code Online (Sandbox Code Playgroud)
然后,当我跑gem env,我得到:
RubyGems Environment:
- RUBYGEMS VERSION: 2.2.0
- RUBY VERSION: 2.1.0 (2013-12-25 patchlevel 0) [x86_64-darwin14.0] …Run Code Online (Sandbox Code Playgroud) 在我新创建的 EC2 实例 (Ubuntu 14.04) 上安装 CodeDeploy 代理时,我rpm在执行安装或重新安装 AWS CodeDeploy 代理指南中的步骤时遇到了错误。
命令:
wget https://aws-codedeploy-us-west-2.s3.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto
Run Code Online (Sandbox Code Playgroud)
错误:
sudo: unable to resolve host ip-10-0-88-56
I, [2016-08-12T01:22:00.600236 #30533] INFO -- : Starting Ruby version check.
I, [2016-08-12T01:22:00.600470 #30533] INFO -- : Starting update check.
I, [2016-08-12T01:22:00.600565 #30533] INFO -- : Checking AWS_REGION environment variable for region information...
I, [2016-08-12T01:22:00.600645 #30533] INFO -- : Checking EC2 metadata service for region information...
I, [2016-08-12T01:22:00.627237 #30533] INFO …Run Code Online (Sandbox Code Playgroud)