Comments (4)
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.
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.
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.
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)
- Perform a git-reset before doing a git pull HOT 1
- Poller Error "cannot start a transaction within a transaction" HOT 7
- Fix home page refresh HOT 6
- RVM fails to work properly if the .rvmrc is checked in HOT 3
- Use .rvmrc ruby if it exists
- suggestion: culprit checking code shouldn't be in view HOT 6
- allow periods (.) in project names HOT 6
- Portability issues / suggestions HOT 6
- time of _projects.html.haml and builds.html.haml not necessarily in sync HOT 4
- svn cleanups HOT 2
- suggestion: making running more complex build commands easier HOT 4
- not easy to run! HOT 7
- Measure & Report on build times HOT 1
- Show commit message on the build page HOT 1
- Doesn't send any mail notification upon build completion HOT 6
- Show status as success even build has been failed HOT 2
- Updated configuration page with jruby configuration HOT 4
- Run ajax functionality specs using goldberg HOT 2
- Capybara specs are failing some time on goldberg HOT 1
- Not able to run specs through goldberg
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goldberg.