Skip to content

Error installing basic template #1015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jasonperrone opened this issue Dec 21, 2021 · 2 comments · Fixed by #1029
Closed

Error installing basic template #1015

jasonperrone opened this issue Dec 21, 2021 · 2 comments · Fixed by #1029

Comments

@jasonperrone
Copy link

Looks like it's going after a branch named master that doesn't exist, the branch is named main:

 Rubygems    Adding Thin into Gemfile...
--------------------------------------------------------------------------------

     gemfile    thin
     gemfile    mocha
     gemfile    rails-controller-testing
        gsub    Gemfile
        gsub    Gemfile
        gsub    Gemfile
        gsub    Gemfile

    Rubygems    Adding Elasticsearch libraries into Gemfile...
--------------------------------------------------------------------------------

     gemfile    elasticsearch
     gemfile    https://github.com/elasticsearch/elasticsearch-rails.git
     gemfile    https://github.com/elasticsearch/elasticsearch-rails.git
         run    git add Gemfile* from "."
         run    git commit -m 'Added libraries into Gemfile' from "."
[master b3d0011] Added libraries into Gemfile
 1 file changed, 7 insertions(+), 1 deletion(-)

 Application    Disabling asset logging in development...
--------------------------------------------------------------------------------

         run    git add config/ from "."
         run    git commit -m 'Disabled asset logging in development' from "."
[master 0c25ea6] Disabled asset logging in development
 1 file changed, 2 insertions(+)

    Rubygems    Installing Rubygems...
--------------------------------------------------------------------------------

         run    bundle install from "."
Fetching https://github.com/elasticsearch/elasticsearch-rails.git
fatal: Needed a single revision
Git error: command `git rev-parse --verify master` in directory /home/jason/Workspace/searchapp has failed.
Revision master does not exist in the repository https://github.com/elasticsearch/elasticsearch-rails.git. Maybe you misspelled it?
If this error persists you could try removing the cache directory
'/home/jason/.rvm/gems/ruby-2.7.3@hearingtracker/cache/bundler/git/elasticsearch-rails-60da80899bf51572b681abf96e88fe8b6c0727b4'
@rodricios
Copy link

@picandocodigo , your fix doesn't appear to be on any branch on this repo:
Screen Shot 2022-01-20 at 11 15 54 PM

@tabuchid
Copy link
Contributor

@picandocodigo @rodricios Looks like the issue was actually in the Gemfile generation. Opened PR #1029 to address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants