rbenv

22 款好用的 CLI 工具

落爺英雄遲暮 提交于 2020-10-28 15:47:49
点击上方“ 五分钟学算法 ”,选择“星标”公众号 重磅干货,第一时间送达 作者:switowski 策划:万佳 原文链接: https://switowski.com/blog/favorite-cli-tools#mas 作者根据多年的终端使用经验,详细介绍了一些实用的 CLI 工具,希望它们能帮读者提高生产力。 我大部分的时间都花费在终端的使用上,我觉得有必要给大家推荐一下比较好用的终端工具。先给大家列个推荐清单,如下图。 高频 CLI 工具推荐 1 fish shell Shell- 毋庸置疑,在终端中,Shell 是使用最频繁也最重要的工具。过去,我曾经使用过 Bash 和 Z Shell,而如今,我正在使用的是 Fish Shell。这是一个非常优秀的终端 Shell 工具,拥有许多开箱即用的功能,例如语法自动推荐补全、语法高亮显示或使用快捷键在最近访问的文件夹之间来回切换。 一方面,它非常适合初学者使用,因为使用者无需进行任何设置。另一方面,由于它使用的脚本语法与其他 Shell 有所差异,因此通常用户不能把拷贝自网上的脚本直接粘贴使用。你必须将不兼容的命令更改为合法的 Fish 脚本,或者启动一个 Bash 会话以运行 Bash 脚本。 https://fishshell.com/docs/current/index.html#syntax-overview

22款好用的CLI工具

点点圈 提交于 2020-10-28 12:58:54
Python实战社群 Java实战社群 长按识别下方二维码, 按需求添加 扫码关注添加客服 进Python社群▲ 扫码关注添加客服 进Java社群 ▲ 作者丨switowski 策划丨万佳 原文链接: https://switowski.com/blog/favorite-cli-tools#mas 作者根据多年的终端使用经验,详细介绍了一些实用的 CLI 工具,希望它们能帮读者提高生产力。 前段时间,我写过一篇我最喜欢的 Mac 应用的文章。其实,我大部分的时间都花费在终端的使用上,我觉得有必要给大家推荐一下比较好用的终端工具。先给大家列个推荐清单,如下图。 高频 CLI 工具推荐 1 fish shell Shell- 毋庸置疑,在终端中,Shell 是使用最频繁也最重要的工具。过去,我曾经使用过 Bash 和 Z Shell,而如今,我正在使用的是 Fish Shell。这是一个非常优秀的终端 Shell 工具,拥有许多开箱即用的功能,例如语法自动推荐补全、语法高亮显示或使用快捷键在最近访问的文件夹之间来回切换。 一方面,它非常适合初学者使用,因为使用者无需进行任何设置。另一方面,由于它使用的脚本语法与其他 Shell 有所差异,因此通常用户不能把拷贝自网上的脚本直接粘贴使用。你必须将不兼容的命令更改为合法的 Fish 脚本,或者启动一个 Bash 会话以运行 Bash 脚本

How to use rbenv and store gems locally - coming from rvm background

限于喜欢 提交于 2020-07-10 06:54:55
问题 I used to use rvm and I want to start trying out rbenv. From what I understand, rbenv does not have the same isolation built in when it comes to gems, it is only managing your ruby versions. I know there is a rbenv addon that handles gems, but I dont' NEED to get it correct? I can still download gems locally to my project and use bundle exec for each command? Is there a short cut that I don't have to be so verbose when typing my commands? Please explain the workflow as I dont' want to assume

How to use rbenv and store gems locally - coming from rvm background

让人想犯罪 __ 提交于 2020-07-10 06:54:25
问题 I used to use rvm and I want to start trying out rbenv. From what I understand, rbenv does not have the same isolation built in when it comes to gems, it is only managing your ruby versions. I know there is a rbenv addon that handles gems, but I dont' NEED to get it correct? I can still download gems locally to my project and use bundle exec for each command? Is there a short cut that I don't have to be so verbose when typing my commands? Please explain the workflow as I dont' want to assume

LoadError - library not found for class Digest::SHA1 — digest/sha1

匆匆过客 提交于 2020-05-26 04:17:43
问题 When running pod install it runs into a problem when installing yoga . Seems to be a problem with my ruby environment? $ pod install Analyzing dependencies Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec` Fetching podspec for `Permission-Camera` from `../node_modules/react-native-permissions/ios/Camera.podspec` Fetching podspec for `Permission-LocationAlways` from `../node_modules/react-native-permissions/ios/LocationAlways.podspec` Fetching

LoadError - library not found for class Digest::SHA1 — digest/sha1

≡放荡痞女 提交于 2020-05-26 04:16:07
问题 When running pod install it runs into a problem when installing yoga . Seems to be a problem with my ruby environment? $ pod install Analyzing dependencies Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec` Fetching podspec for `Permission-Camera` from `../node_modules/react-native-permissions/ios/Camera.podspec` Fetching podspec for `Permission-LocationAlways` from `../node_modules/react-native-permissions/ios/LocationAlways.podspec` Fetching

LoadError - library not found for class Digest::SHA1 — digest/sha1

余生颓废 提交于 2020-05-26 04:14:41
问题 When running pod install it runs into a problem when installing yoga . Seems to be a problem with my ruby environment? $ pod install Analyzing dependencies Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec` Fetching podspec for `Permission-Camera` from `../node_modules/react-native-permissions/ios/Camera.podspec` Fetching podspec for `Permission-LocationAlways` from `../node_modules/react-native-permissions/ios/LocationAlways.podspec` Fetching

Upgrading Global Ruby Version on macOS

好久不见. 提交于 2020-03-25 22:01:47
问题 I am trying to update Ruby on my computer to version 2.7.0 as that is the latest stable version. Running macOS Catalina Version 10.15.3 Have tried the top two solutions from this StackOverflow post. 1. Using just brew brew upgrade ruby just confirms that "ruby 2.6.5 already installed" 2. Using rbenv rbenv install 2.7.0 rbenv global 2.7.0 After installation I get confirmation that ruby 2.7.0 is installed, but when I close terminal, and check version, 2.6.5 is still the current version.

BUILD FAILED (OS X 10.15.1 using ruby-build 20191124) when installing ruby-2.4.0 with rbenv in OSX catalina(10.15.1)

≡放荡痞女 提交于 2020-02-27 09:44:45
问题 I tried a lot of things from online forums. But never worked. Installed Xcode to see if it works. But it doesn't. At first, there was an issue with the C executables at the time of the OpenSSL installation. But later, I found from here, the error occurred because of Anaconda installation. So I uninstalled anaconda and tried to install again. But now it is throwing a different error. ➜ ~ rbenv install 2.4.0 Downloading openssl-1.1.0j.tar.gz... -> https://dqw8nmjcqpjn7.cloudfront.net

BUILD FAILED (OS X 10.15.1 using ruby-build 20191124) when installing ruby-2.4.0 with rbenv in OSX catalina(10.15.1)

柔情痞子 提交于 2020-02-27 09:44:11
问题 I tried a lot of things from online forums. But never worked. Installed Xcode to see if it works. But it doesn't. At first, there was an issue with the C executables at the time of the OpenSSL installation. But later, I found from here, the error occurred because of Anaconda installation. So I uninstalled anaconda and tried to install again. But now it is throwing a different error. ➜ ~ rbenv install 2.4.0 Downloading openssl-1.1.0j.tar.gz... -> https://dqw8nmjcqpjn7.cloudfront.net