bundler

Is there a reliable way to avoid permission denied errors when installing Ruby gems with native extensions on Windows Subsystem for Linux?

久未见 提交于 2020-08-06 11:41:16
问题 I'm hoping that WSL2 solves these problems and makes this question obsolete in the next 6 months or so, but in the meantime, I don't feel comfortable running bleeding edge or other preview releases of Windows on my primary laptop. Sometimes, when I'm installing Ruby gems ( bundle install or bundle install --path=vendor/bundle ) inside of WSL, I get Permission denied errors when installing a gem with a native extension. The most recent incarnation of this error was this: Permission denied @ rb

How can I remove default version of bundler?

这一生的挚爱 提交于 2020-08-04 02:34:29
问题 I tried to change default bundle version but it getting updated with 2 default version. How can I modify to single default? $ gem list bundler *** LOCAL GEMS *** bundler (2.0.1, default: 1.16.6, default: 1.16.2) If I do gem uninstall not removing defaults, $ gem uninstall bundler Successfully uninstalled bundler-2.0.1 $ gem list bundle *** LOCAL GEMS *** bundler (default: 1.16.6, default: 1.16.2) How can I set (like the below) default as single version? bundler (2.0.1, default: 1.16.6) 回答1: I

cannot recover from `sudo bundle install`

独自空忆成欢 提交于 2020-08-04 02:33:49
问题 by mistake I ran sudo bundle install on my project and now when I run it as myself bundle install I am getting permission denied errors (below). I tried the instructions here https://github.com/bundler/bundler/blob/master/ISSUES.md#other-problems, also tried cloning my project into a fresh directory and running bundle from there, no use. Please help! error: cannot open .git/FETCH_HEAD: Permission denied Retrying git fetch --force --quiet --tags "/home/akonsu/.bundler/cache/git/em-postgresql

cannot recover from `sudo bundle install`

时间秒杀一切 提交于 2020-08-04 02:32:49
问题 by mistake I ran sudo bundle install on my project and now when I run it as myself bundle install I am getting permission denied errors (below). I tried the instructions here https://github.com/bundler/bundler/blob/master/ISSUES.md#other-problems, also tried cloning my project into a fresh directory and running bundle from there, no use. Please help! error: cannot open .git/FETCH_HEAD: Permission denied Retrying git fetch --force --quiet --tags "/home/akonsu/.bundler/cache/git/em-postgresql

How can I remove default version of bundler?

混江龙づ霸主 提交于 2020-08-04 02:28:33
问题 I tried to change default bundle version but it getting updated with 2 default version. How can I modify to single default? $ gem list bundler *** LOCAL GEMS *** bundler (2.0.1, default: 1.16.6, default: 1.16.2) If I do gem uninstall not removing defaults, $ gem uninstall bundler Successfully uninstalled bundler-2.0.1 $ gem list bundle *** LOCAL GEMS *** bundler (default: 1.16.6, default: 1.16.2) How can I set (like the below) default as single version? bundler (2.0.1, default: 1.16.6) 回答1: I

Importing images in TypeScript React - “Cannot find module”

心不动则不痛 提交于 2020-07-05 05:17:08
问题 I am trying to import images to use inside a React component with TypeScript. The bundler I'm using is Parcel (not Webpack). I have created a .d.ts file inside the project with the image file extension, and included it inside tsconfig.json . However, when I try to import an image, TS yells at me about Cannot find module . My project structure: + src + assets - image.jpg + components - Box.tsx - App.tsx - index.d.ts - index.html - index.tsx - tsconfig.json - tslint.json I tried to import the