Posts

Showing posts with the label Installation

Bundle Install Returns "Could Not Locate Gemfile"

Answer : You just need to change directories to your app, THEN run bundle install :) You may also indicate the path to the gemfile in the same command e.g. BUNDLE_GEMFILE="MyProject/Gemfile.ios" bundle install I had this problem as well on an OSX machine. I discovered that rails was not installed... which surprised me as I thought OSX always came with Rails. To install rails sudo gem install rails to install jekyll I also needed sudo sudo gem install jekyll bundler cd ~/Sites jekyll new <foldername> cd <foldername> OR cd !$ (that is magic ;) bundle install bundle exec jekyll serve Then in your browser just go to http://127.0.0.1:4000/ and it really should be running

Can't Install Kali Linux From USB, Fails To Find CD-ROM Drive

Answer : You could resolve the error by repeating the steps : Run the installer. Open a shell ( ALT + F2 ). Create the directory cdrom directly on the root of the file system: mkdir /cdrom Note : If you got problems making the directory /cdrom, disable the CD-rom player in BIOS or disconnect the cable Mount the USB as if it is a CD-ROM: mount -t vfat /dev/sdb1 /cdrom Where sdb1 is your USB device. You could carry on installation now After executing mount -t vfat /dev/sdb1 /cdrom , cd into the /cdrom directory and do an ls to see if the files are there. Then press ALT - F1 to go back, continue and re-select "detect CDROM" Source :ubuntu and debian Another layman solution was : when the Window shows CDROM couldn't be mounted , Unplug your USB from system and re insert it wait for mount/ detection (usb LED glow) Hit Continue You could do what I did. Hit escape, type install, hit enter, skip CD drive. If you ...

Can't Run Curl Command Inside My Docker Container

Answer : curl: command not found is a big hint, you have to install it with : apt-get update; apt-get install curl Ran into this same issue while using the CURL command inside my Dockerfile. As Gilles pointed out, we have to install curl first. These are the commands to be added in the 'Dockerfile'. FROM ubuntu:16.04 # Install prerequisites RUN apt-get update && apt-get install -y \ curl CMD /bin/bash So I added curl AFTER my docker container was running. (This was for debugging the container...I did not need a permanent addition) I ran my image docker run -d -p 8899:8080 my-image:latest (the above makes my "app" available on my machine on port 8899) (not important to this question) Then I listed and created terminal into the running container. docker ps docker exec -it my-container-id-here /bin/sh If the exec command above does not work, check this SOF article: Error: Cannot Start Container: stat /bin/sh: no such file or directory...

Chrome Extension Id - How To Find It

Answer : Use the chrome.runtime.id property from the chrome.runtime API. You get an extension ID when you upload your extension to Google Web Store. Ie. Adblock has URL https://chrome.google.com/webstore/detail/cfhdojbkjhnklbpkdaibdccddilifddb and the last part of this URL is its extension ID cfhdojbkjhnklbpkdaibdccddilifddb . If you wish to read installed extension IDs from your extension, check out the managment module. chrome.management.getAll allows to fetch information about all installed extensions. If you just need to do it one-off, navigate to chrome://extensions . Enable Developer Mode at upper right. The ID will be shown in the box for each extension. Or, if you're working on developing a userscript or extension, purposefully throw an error. Look in the javascript console, and the ID will be there, on the right side of the console, in the line describing the error. Lastly, you can look in your chrome extensions directory; it stores extensions in director...

Cannot Download, $GOPATH Not Set

Answer : [Update: as of Go 1.8, GOPATH defaults to $HOME/go , but you may still find this useful if you want to understand the GOPATH layout, customize it, etc.] The official Go site discusses GOPATH and how to lay out a workspace directory. export GOPATH="$HOME/your-workspace-dir/" -- run it in your shell, then add it to ~/.bashrc or equivalent so it will be set for you in the future. Go will install packages under src/ , bin/ , and pkg/ , subdirectories there. You'll want to put your own packages somewhere under $GOPATH/src , like $GOPATH/src/github.com/myusername/ if you want to publish to GitHub. You'll also probably want export PATH=$PATH:$GOPATH/bin in your .bashrc so you can run compiled programs under $GOPATH . Optionally, via Rob Pike, you can also set CDPATH so it's faster to cd to package dirs in bash: export CDPATH=.:$GOPATH/src/github.com:$GOPATH/src/golang.org/x means you can just type cd net/html instead of cd $GOPATH/src/golang....

Android - Can't Install Previously Installed Apps From Google Play

Image
Answer : The issue here is that the uninstall process wasn't registered at Google Play Store. Without the uninstall process registered, Google Play Store still reports the app as installed on the device that's associated with your Google account. To overcome this, you need to manually trigger the uninstall from the Google Play Store, within the "MY ANDROID APPS" list: Step by Step I have a couple of apps that I've uninstalled from my device and the uninstall process wasn't registered at Google Play Store. I'll use one as a guide: Access "MY ANDROID APPS" list, search for the desired app and click the recycle bin icon to trigger the uninstall: After confirming, the app will get marked as "removed": Now you can access the application at Google Play Store, and install it like you mentioned that you prefer to do: Error message still appearing If you've signed in to your device's Google Play Store app, d...