Code Monkey home page Code Monkey logo

Comments (4)

aakashd avatar aakashd commented on July 21, 2024

Goldberg does execute bundle check || bundle install on projects where it finds Gemfile in source code. This might be some other issue as bundler is being takes care of by default.

To help us resolve it, could you please remove the project using ./bin/goldberg remove PROJECT_NAME; and post build_log of the first build after adding the project?

from goldberg.

professor avatar professor commented on July 21, 2024

I decided to add the same git url as a second project. Here was my experience.

Build 1 - RVM has encountered a not yet trusted .rvmrc file, so I did a "rvm ruby-1.8.7@rails2"
Build 2 - it worked

I realized the reason it worked was this wasn't a new rvm gemset. If goldberg is running on your development machine, this is fine. I'm wanting to run goldberg on a stand alone server so that my students don't need to install goldberg. Here's how I was able to reproduce the problem.

Step 1) Alter my .rvmrc to a new gemset
rvm ruby-1.8.7@rails2tmp

Build 3 - Gemset 'rails2tmp' does not exist, rvm gemset create 'rails2tmp' first and zsh:1: command not found: bundle
So I did a "rvm gemset create 'rails2tmp'" and a "gem install bundler" and a "gem install rake"

Build 6 - �[31mCould not find activesupport-2.3.4 in any of the sources�[0m
Which means that goldberg did not run bundle install

The following are the build files
1/buildlog
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/default*
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/passenger*
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/editor*

============================================================
RVM has encountered a not yet trusted .rvmrc file in the
current working directory which contains the following code:

rvm ruby-1.8.7@rails2

============================================================
Trusting an .rvmrc file means that whenever you cd into the
directory RVM will excecute this .rvmrc script in your shell

Do you wish to trust this .rvmrc from now on?

(y for yes, n for no) >

2/build_log
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/default*
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/passenger*
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/editor*
The Gemfile's dependencies are satisfied
rake aborted!
Error loading MorningGlory configuration files. Please check config/morning_glory.yml is configured correctly.
/Users/tsedano/.goldberg/projects/CMUEducation2/code/Rakefile:11
(See full trace by running task with --trace)
(in /Users/tsedano/.goldberg/projects/CMUEducation2/code)

3/build_log
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/default*
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/passenger*
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/editor*
Gemset 'rails2tmp' does not exist, rvm gemset create 'rails2tmp' first.
zsh:1: command not found: bundle
zsh:1: command not found: bundle

6/build_log
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/default*
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/passenger*
_rvm_reset:14: no matches found: /Users/tsedano/.rvm/bin/editor*
ESC[31mCould not find activesupport-2.3.4 in any of the sourcesESC[0m
ESC[31mCould not find activesupport-2.3.4 in any of the sourcesESC[0m

from goldberg.

aakashd avatar aakashd commented on July 21, 2024

We have done some major change in the way we are handling Gemfile.lock and also some environment changes. Please check if this solves the problem you are facing. If not we can probably discuss the issue over skype in greater details.

from goldberg.

professor avatar professor commented on July 21, 2024

I did a fresh project install and I'm no longer able to reproduce this issue, so I'm closing it.

from goldberg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.