Closed BDhackers009 closed 1 year ago
Describe the bug This problem is causing because of gem-2 paths are configured in the wrong way.
To Reproduce
$ gem-2 install bundler
Getting error
Fetching bundler-2.3.26.gem ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /bin directory.
Expected behavior the bundler should be installed correctly 😐ig.
Screenshots
Termux Info
Termux Variables: TERMUX_APP_PACKAGE_MANAGER=apt TERMUX_APP__AM_SOCKET_SERVER_ENABLED=true TERMUX_APP__APK_PATH=/data/app/~~feCJKxkzDu5Fn9vD5M42Rg==/com.termux-7aMATdrGRXYAK5rsfv4Bxg==/base.apk TERMUX_APP__APK_RELEASE=GITHUB TERMUX_APP__FILES_DIR=/data/user/0/com.termux/files TERMUX_APP__IS_DEBUGGABLE_BUILD=true TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false TERMUX_APP__PACKAGE_MANAGER=apt TERMUX_APP__PACKAGE_NAME=com.termux TERMUX_APP__PACKAGE_VARIANT=apt-android-7 TERMUX_APP__PID=30406 TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c116,c257,c512,c768 TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete TERMUX_APP__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c116,c257,c512,c768 TERMUX_APP__TARGET_SDK=28 TERMUX_APP__UID=10372 TERMUX_APP__USER_ID=0 TERMUX_APP__VERSION_CODE=118 TERMUX_APP__VERSION_NAME=0.118.0+be66cff TERMUX_MAIN_PACKAGE_FORMAT=debian TERMUX_VERSION=0.118.0+be66cff Packages CPU architecture: aarch64 Subscribed repositories: # sources.list deb https://grimler.se/termux/termux-main stable main # tur-repo (sources.list.d/tur.list) deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous # x11-repo (sources.list.d/x11.list) deb https://grimler.se/termux/termux-x11 x11 main Updatable packages: All packages up to date termux-tools version: 1.34.1 Android version: 13 Kernel build information: Linux localhost 4.9.329-perf/mi439-gfed1dd17672c #1 SMP PREEMPT Wed Nov 9 02:04:35 UTC 2022 aarch64 Android Device manufacturer: Xiaomi Device model: ASUS_Z01QD
Should be fixed in https://github.com/termux-user-repository/tur/commit/68daac9e5389a7dd4920f41af519612386b422cb. Thanks for your report!
Describe the bug This problem is causing because of gem-2 paths are configured in the wrong way.
To Reproduce
Getting error
Fetching bundler-2.3.26.gem ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /bin directory.
Expected behavior the bundler should be installed correctly 😐ig.
Screenshots
Termux Info