天道酬勤,学无止境

github

Bundler could not find compatible versions for gem “bundler”: In Gemfile:

I'm making GitHub blog page with Jekyll. I've failed like numerous times and just forked new one and followed README on the repository. It's https://github.com/janczizikow/sleek/blob/master/README.md and I tried to run inside the directory(master) but this msg keeps coming out. I tried 'gem install bundler' 'gem cleanup' and similar solutions on the internet but still can't fix it. I get that I need another version which is lower one, then how can I remove the current one and install the version I need? I've never used Ruby so I'm SO lost. A little advice will mean a lot. bundle install

2021-06-15 18:15:34    分类:问答    ruby   github   rubygems   jekyll

Git: Only push private config file to test repository and not to github?

I have a Rails app with a config/my_private_data.yml file. I would like to push the entire app both to my test server and to github. However, when I push to the test server, I want to include the private file. When I push to github, I don't want to include the private file. What is the easiest way to go about this?

2021-06-15 16:33:57    分类:问答    git   github   config

Update origin after renaming the repository name

I am trying to push my project files to my repository. But when I do that I get errors as in following screenshot. I had a repository in that project file before and I deleted it. Now I have created another repository with a different name in that project file. But I get these errors now. Please tell me what I should do.

2021-06-15 13:21:16    分类:问答    git   github

How to change the author of a commit in GitHub?

I want to know if there is a way to change the person(account) who pushed changes in a GitHub repository. For example: I push to my private repository under a different name(not email) but I misspell one letter of my name and GitHub marks the commit as commited by userame not username;

2021-06-15 12:23:24    分类:问答    git   github   git-commit   git-push   pull-request

Github for Mac: Pull Request Button is missing

Saturday I installed Github Desktop on my Mac and tried the Github Workflow. Created a branch, committed changes and did a Pull Request. Everything worked. Today I installed Github for Mac at work - and the Pull Request Button is no where to be found. I'm back home now on my private Mac and the button is missing here as well now. As you can see on the last screenshot, the branch is up on github.com and ready for a PR. Also the dots in Github for Desktops Timeline (top right) are small, which means the commits are pushed. And there are changes to the dev branch (second screenshots). Am I doing

2021-06-15 11:41:50    分类:问答    github   github-for-mac

Folium maps not showing up on jupyter notebook uploaded on github

I have successfully rendered folium maps on my jupyter notebook by increasing the data limit when launching jupyter from anaconda prompt like this: "jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10" However, when I have uploaded the notebook to Github, rather than the map I had processed, I got a blank window. How can I render these maps? Is it possible to increase the data_rate_limit on the notebook when it is being launched through github?

2021-06-15 11:32:44    分类:问答    github   jupyter-notebook   folium

update github fork from web only (in other words WITHOUT GIT!)

How do I and/or is it possible to update (pull/rebase/reset --hard branchname) a fork of a project on github ON THE WEBSITE .. WITHOUT GIT Here's the specific problem. I just pulled the upstream changes to my local machine over a very slow internet connection (400meg of changes). It took a long time. I'd like to now start making changes locally and then upload my changes to my fork on github. The problem is, when I go to push to github git is going to upload those 400mb of changes to my fork. If I could go to github.com and tell the fork there to update from the place it forked then those

2021-06-15 11:15:49    分类:问答    github

GitHub ERROR probot: Integration not found, documentation_url

I had issues with authentication when working with GitHub's Probot app. When I ran the app using npm start, I would get github: Github request: GET /app/installations - 404 Not Found and ERROR probot: {"message":"Integration not found", "documentation_url": "https://developer.github.com/v3"} I later found that the reason I was getting this issue was because I was working from a GitHub Enterprise account and needed to add an extra variable to my .env file: GHE_HOST=github.your_company.com After restarting my app, I no longer had those issues.

2021-06-15 10:25:52    分类:问答    github   integration   documentation   probot

Use other than index.html for Github pages

I have recently started using github pages and so far I am using the default index.html as my main page. How do I use another page as my default page? For example if in my gh-pages branch I have my html in a folder src/. How do I set ./src/index.html as my default instead of ./index.html?

2021-06-15 09:40:02    分类:问答    github   hosting   github-pages

“411 Length Required” Exception when pushing to Github from Eclipse

I am working on an Android app in Eclipse for a school project and trying to push to Github. It was working fine for a while, then suddenly it started telling me " An internal Exception occurred during push: http://github.com/[my user name]/[repo name].git: 411 Length Required" I didn't change any of my settings in Eclipse or Git, so I'm not sure why it worked for one push but not the next. I was even more confused when Google told me that the '411 Length Required' exception was usually an HTTP-related problem. If it helps, I've double checked my settings in Eclipse several times, it's running

2021-06-15 07:54:22    分类:问答    eclipse   github