小编And*_*rew的帖子

更新系统范围的更新 Arch Linux 后 Gem 安装不执行

尝试sass --watch scss:css在目标文件夹内执行时,我收到了消息command not found

我知道我安装了 sass。gem list不再显示它已安装。

我运行sudo gem install sass并收到以下消息:

WARNING: You don't have /root/.gem/ruby/2.3.0/bin in your PATH
         gem executables will not run.
Run Code Online (Sandbox Code Playgroud)

我去我的.bashrc档案。我有PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"

我也把它放在/etc/bash.bashrc以防万一。没有什么改变。

我去 /etc/profile 并插入:

#Setting the GEM_PATH and GEM_HOME variables may not be necessary, check 'gem env' output to verify whether both variables already exist 
 GEM_HOME=$(ls -t -U | ruby -e 'puts Gem.user_dir')
 GEM_PATH=$GEM_HOME
 export PATH=$PATH:$GEM_HOME/bin
Run Code Online (Sandbox Code Playgroud)

我重新加载配置文件 . /etc/profile …

linux bash ruby arch-linux

3
推荐指数
1
解决办法
4575
查看次数

无法在 Linux 中安装 iPhone 5 - lsusb 找到设备 / 没有 dmesg / ipheth 命令未找到 / idevicemount 设备未找到

正如标题所规定的,我正在尝试在 Arch Linux 中安装我的 iPhone 5。

lsusb找到设备
并返回
Bus 005 Device 006: ID 05ac:12a8 Apple, Inc. iPHone5/5C/5S/6

dmesg | grep "Apple" 什么都不返回

我安装了 ifuse、libimobiledevice 和 usbmuxd,但ipheth返回"command not found"

idevicepair pair返回"No device found, is it plugged in?"
ideviceinfo也返回"No device found, is it plugged in?"

任何提示?

谢谢

编辑 dmesg | grep ipheth 返回:

   [   20.150489] ipheth 5-6:4.2: Apple iPhone USB Ethernet device attached
    [   20.150578] usbcore: registered new interface driver ipheth
    [   20.155172] ipheth …
Run Code Online (Sandbox Code Playgroud)

linux usb mount iphone

2
推荐指数
1
解决办法
5297
查看次数

标签 统计

linux ×2

arch-linux ×1

bash ×1

iphone ×1

mount ×1

ruby ×1

usb ×1