librelist archives

« back to archive

New integrity setup failing rails build due to missing gem that is installed on the server

New integrity setup failing rails build due to missing gem that is installed on the server

From:
Jeff Dutil
Date:
2010-02-15 @ 15:31
Hey,
I am having trouble running Integrity.  Once I get everything up and running
I am trying to run tests on a rails project, and the build keeps failing.  I
get the error that Rails version 2.3.5 gem is not installed, but it is
installed on the Integrity server...  This must be some sort of gotcha or
something that I am running into, but I can't figure it out when the gem is
clearly installed on the server.  Any help is appreciated.

Re: [integrity] New integrity setup failing rails build due to missing gem that is installed on the server

From:
Matt Davies
Date:
2010-02-15 @ 15:41
Hi Jeff

Are you using gem bundler?

Matt


On 15 Feb 2010, at 15:31, Jeff Dutil wrote:

> Hey,
> I am having trouble running Integrity.  Once I get everything up and 
running I am trying to run tests on a rails project, and the build keeps 
failing.  I get the error that Rails version 2.3.5 gem is not installed, 
but it is installed on the Integrity server...  This must be some sort of 
gotcha or something that I am running into, but I can't figure it out when
the gem is clearly installed on the server.  Any help  is appreciated.

Re: [integrity] New integrity setup failing rails build due to missing gem that is installed on the server

From:
Jeff Dutil
Date:
2010-02-15 @ 15:43
I am using bundler for the integrity setup, but bundler is not _yet_ used
for the rails app I am testing.  Is this a requirement for integrity?

On Mon, Feb 15, 2010 at 10:41 AM, Matt Davies <mjdavies@glam.ac.uk> wrote:

> Hi Jeff
>
> Are you using gem bundler?
>
> Matt
>
>
> On 15 Feb 2010, at 15:31, Jeff Dutil wrote:
>
> > Hey,
> > I am having trouble running Integrity.  Once I get everything up and
> running I am trying to run tests on a rails project, and the build keeps
> failing.  I get the error that Rails version 2.3.5 gem is not installed, but
> it is installed on the Integrity server...  This must be some sort of gotcha
> or something that I am running into, but I can't figure it out when the gem
> is clearly installed on the server.  Any help  is appreciated.
>
>

Re: [integrity] New integrity setup failing rails build due to missing gem that is installed on the server

From:
Matt Davies
Date:
2010-02-15 @ 15:53
I don't think it's a requirement Jeff, but I'm not sure.  If I was you I'd
make the jump to bundler now anyway.

There was some talk of old bundler messing with your PATHS, check out the 
google group called integrity for more info Jeff.

Here's one post that might be involved in your problem.

http://groups.google.com/group/integrityapp/browse_thread/thread/1755f822551617ac

Matt




On 15 Feb 2010, at 15:43, Jeff Dutil wrote:

> I am using bundler for the integrity setup, but bundler is not _yet_ 
used for the rails app I am testing.  Is this a requirement for integrity?
> 
> On Mon, Feb 15, 2010 at 10:41 AM, Matt Davies <mjdavies@glam.ac.uk> wrote:
> Hi Jeff
> 
> Are you using gem bundler?
> 
> Matt
> 
> 
> On 15 Feb 2010, at 15:31, Jeff Dutil wrote:
> 
> > Hey,
> > I am having trouble running Integrity.  Once I get everything up and 
running I am trying to run tests on a rails project, and the build keeps 
failing.  I get the error that Rails version 2.3.5 gem is not installed, 
but it is installed on the Integrity server...  This must be some sort of 
gotcha or something that I am running into, but I can't figure it out when
the gem is clearly installed on the server.  Any help  is appreciated.
> 
> 

Re: [integrity] New integrity setup failing rails build due to missing gem that is installed on the server

From:
Jeff Dutil
Date:
2010-02-16 @ 01:49
Well thanks for the tip Matt.

I've gotten past the the rails gem missing, however, this didn't come about
how I was expecting.  I ended up having to add rails to Integrity's
Gemfile.  I'm assuming I am going about it wrong, but maybe not.  I tried
converting my app to use bundler, but I don't want to bundle my gems into
the git repo.  I've created a rake task for Integrity to call when building
the project that runs the gem bundle command, and then invokes rake test.
This doesn't seem to work either for me.  It doesn't feel right to have to
put gems into Integrity's Gemfile so I think I must be doing something
wrong.  How are other people using bundler with Integrity?  Do you keep your
gems in your repository to get the builds to run?  Or am I just messing
something up with trying to have integrity bundle the projects gems before
running the tests?

On Mon, Feb 15, 2010 at 10:53 AM, Matt Davies <mjdavies@glam.ac.uk> wrote:

> I don't think it's a requirement Jeff, but I'm not sure.  If I was you I'd
> make the jump to bundler now anyway.
>
> There was some talk of old bundler messing with your PATHS, check out the
> google group called integrity for more info Jeff.
>
> Here's one post that might be involved in your problem.
>
>
> 
http://groups.google.com/group/integrityapp/browse_thread/thread/1755f822551617ac
>
> Matt
>
>
>
>
> On 15 Feb 2010, at 15:43, Jeff Dutil wrote:
>
> > I am using bundler for the integrity setup, but bundler is not _yet_ used
> for the rails app I am testing.  Is this a requirement for integrity?
> >
> > On Mon, Feb 15, 2010 at 10:41 AM, Matt Davies <mjdavies@glam.ac.uk>
> wrote:
> > Hi Jeff
> >
> > Are you using gem bundler?
> >
> > Matt
> >
> >
> > On 15 Feb 2010, at 15:31, Jeff Dutil wrote:
> >
> > > Hey,
> > > I am having trouble running Integrity.  Once I get everything up and
> running I am trying to run tests on a rails project, and the build keeps
> failing.  I get the error that Rails version 2.3.5 gem is not installed, but
> it is installed on the Integrity server...  This must be some sort of gotcha
> or something that I am running into, but I can't figure it out when the gem
> is clearly installed on the server.  Any help  is appreciated.
> >
> >
>
>

Re: [integrity] New integrity setup failing rails build due to missing gem that is installed on the server

From:
Matt Davies
Date:
2010-02-16 @ 10:10
Hi Jeff

I didn't have to edit Integrity's gemfile to get it to work, I suspect, as
you do, that something else is not quite right.

I think if you learn how to use the new bundler, then these problems will 
disappear.

Here's a railscast from Ryan

http://railscasts.com/episodes/201-bundler

And Yehuda's page is really good too

http://yehudakatz.com/2010/02/09/using-bundler-in-real-life/

There's also some great help on github too.

http://github.com/carlhuda/bundler

Matt

On 16 Feb 2010, at 01:49, Jeff Dutil wrote:

> Well thanks for the tip Matt.  
> 
> I've gotten past the the rails gem missing, however, this didn't come 
about how I was expecting.  I ended up having to add rails to Integrity's 
Gemfile.  I'm assuming I am going about it wrong, but maybe not.  I tried 
converting my app to use bundler, but I don't want to bundle my gems into 
the git repo.  I've created a rake task for Integrity to call when 
building the project that runs the gem bundle command, and then invokes 
rake test.  This doesn't seem to work either for me.  It doesn't feel 
right to have to put gems into Integrity's Gemfile so I think I must be 
doing something wrong.  How are other people using bundler with Integrity?
Do you keep your gems in your repository to get the builds to run?  Or am 
I just messing something up with trying to have integrity bundle the 
projects gems before running the tests?
> 
> On Mon, Feb 15, 2010 at 10:53 AM, Matt Davies <mjdavies@glam.ac.uk> wrote:
> I don't think it's a requirement Jeff, but I'm not sure.  If I was you 
I'd make the jump to bundler now anyway.
> 
> There was some talk of old bundler messing with your PATHS, check out 
the google group called integrity for more info Jeff.
> 
> Here's one post that might be involved in your problem.
> 
> 
http://groups.google.com/group/integrityapp/browse_thread/thread/1755f822551617ac
> 
> Matt
> 
> 
> 
> 
> On 15 Feb 2010, at 15:43, Jeff Dutil wrote:
> 
> > I am using bundler for the integrity setup, but bundler is not _yet_ 
used for the rails app I am testing.  Is this a requirement for integrity?
> >
> > On Mon, Feb 15, 2010 at 10:41 AM, Matt Davies <mjdavies@glam.ac.uk> wrote:
> > Hi Jeff
> >
> > Are you using gem bundler?
> >
> > Matt
> >
> >
> > On 15 Feb 2010, at 15:31, Jeff Dutil wrote:
> >
> > > Hey,
> > > I am having trouble running Integrity.  Once I get everything up and
running I am trying to run tests on a rails project, and the build keeps 
failing.  I get the error that Rails version 2.3.5 gem is not installed, 
but it is installed on the Integrity server...  This must be some sort of 
gotcha or something that I am running into, but I can't figure it out when
the gem is clearly installed on the server.  Any help  is appreciated.
> >
> >
> 
> 

Re: [integrity] New integrity setup failing rails build due to missing gem that is installed on the server

From:
Jeff Dutil
Date:
2010-02-16 @ 16:53
Odd I guess I had just needed to get bundler 0.9.5 running on the machine.
I was using 0.8.0 since that is what the instructions for integrity were
based on, but after some tinkering to get things running on 0.9.5 it is now
working as expected.  Thanks for the help.

On Tue, Feb 16, 2010 at 5:10 AM, Matt Davies <mjdavies@glam.ac.uk> wrote:

> Hi Jeff
>
> I didn't have to edit Integrity's gemfile to get it to work, I suspect, as
> you do, that something else is not quite right.
>
> I think if you learn how to use the new bundler, then these problems will
> disappear.
>
> Here's a railscast from Ryan
>
> http://railscasts.com/episodes/201-bundler
>
> And Yehuda's page is really good too
>
> http://yehudakatz.com/2010/02/09/using-bundler-in-real-life/
>
> There's also some great help on github too.
>
> http://github.com/carlhuda/bundler
>
> Matt
>
> On 16 Feb 2010, at 01:49, Jeff Dutil wrote:
>
> > Well thanks for the tip Matt.
> >
> > I've gotten past the the rails gem missing, however, this didn't come
> about how I was expecting.  I ended up having to add rails to Integrity's
> Gemfile.  I'm assuming I am going about it wrong, but maybe not.  I tried
> converting my app to use bundler, but I don't want to bundle my gems into
> the git repo.  I've created a rake task for Integrity to call when building
> the project that runs the gem bundle command, and then invokes rake test.
>  This doesn't seem to work either for me.  It doesn't feel right to have to
> put gems into Integrity's Gemfile so I think I must be doing something
> wrong.  How are other people using bundler with Integrity?  Do you keep your
> gems in your repository to get the builds to run?  Or am I just messing
> something up with trying to have integrity bundle the projects gems before
> running the tests?
> >
> > On Mon, Feb 15, 2010 at 10:53 AM, Matt Davies <mjdavies@glam.ac.uk>
> wrote:
> > I don't think it's a requirement Jeff, but I'm not sure.  If I was you
> I'd make the jump to bundler now anyway.
> >
> > There was some talk of old bundler messing with your PATHS, check out the
> google group called integrity for more info Jeff.
> >
> > Here's one post that might be involved in your problem.
> >
> >
> 
http://groups.google.com/group/integrityapp/browse_thread/thread/1755f822551617ac
> >
> > Matt
> >
> >
> >
> >
> > On 15 Feb 2010, at 15:43, Jeff Dutil wrote:
> >
> > > I am using bundler for the integrity setup, but bundler is not _yet_
> used for the rails app I am testing.  Is this a requirement for integrity?
> > >
> > > On Mon, Feb 15, 2010 at 10:41 AM, Matt Davies <mjdavies@glam.ac.uk>
> wrote:
> > > Hi Jeff
> > >
> > > Are you using gem bundler?
> > >
> > > Matt
> > >
> > >
> > > On 15 Feb 2010, at 15:31, Jeff Dutil wrote:
> > >
> > > > Hey,
> > > > I am having trouble running Integrity.  Once I get everything up and
> running I am trying to run tests on a rails project, and the build keeps
> failing.  I get the error that Rails version 2.3.5 gem is not installed, but
> it is installed on the Integrity server...  This must be some sort of gotcha
> or something that I am running into, but I can't figure it out when the gem
> is clearly installed on the server.  Any help  is appreciated.
> > >
> > >
> >
> >
>
>

Re: [integrity] New integrity setup failing rails build due to missing gem that is installed on the server

From:
Matt
Date:
2010-02-16 @ 19:19
No worries jeff

Sent from my iPhone

On 16 Feb 2010, at 16:53, Jeff Dutil <jdutil21@gmail.com> wrote:

> Odd I guess I had just needed to get bundler 0.9.5 running on the  
> machine.  I was using 0.8.0 since that is what the instructions for  
> integrity were based on, but after some tinkering to get things  
> running on 0.9.5 it is now working as expected.  Thanks for the help.
>
> On Tue, Feb 16, 2010 at 5:10 AM, Matt Davies <mjdavies@glam.ac.uk>  
> wrote:
> Hi Jeff
>
> I didn't have to edit Integrity's gemfile to get it to work, I  
> suspect, as you do, that something else is not quite right.
>
> I think if you learn how to use the new bundler, then these problems  
> will disappear.
>
> Here's a railscast from Ryan
>
> http://railscasts.com/episodes/201-bundler
>
> And Yehuda's page is really good too
>
> http://yehudakatz.com/2010/02/09/using-bundler-in-real-life/
>
> There's also some great help on github too.
>
> http://github.com/carlhuda/bundler
>
> Matt
>
> On 16 Feb 2010, at 01:49, Jeff Dutil wrote:
>
> > Well thanks for the tip Matt.
> >
> > I've gotten past the the rails gem missing, however, this didn't  
> come about how I was expecting.  I ended up having to add rails to  
> Integrity's Gemfile.  I'm assuming I am going about it wrong, but  
> maybe not.  I tried converting my app to use bundler, but I don't  
> want to bundle my gems into the git repo.  I've created a rake task  
> for Integrity to call when building the project that runs the gem  
> bundle command, and then invokes rake test.  This doesn't seem to  
> work either for me.  It doesn't feel right to have to put gems into  
> Integrity's Gemfile so I think I must be doing something wrong.  How  
> are other people using bundler with Integrity? Do you keep your gems  
> in your repository to get the builds to run?  Or am I just messing  
> something up with trying to have integrity bundle the projects gems  
> before running the tests?
> >
> > On Mon, Feb 15, 2010 at 10:53 AM, Matt Davies  
> <mjdavies@glam.ac.uk> wrote:
> > I don't think it's a requirement Jeff, but I'm not sure.  If I was  
> you I'd make the jump to bundler now anyway.
> >
> > There was some talk of old bundler messing with your PATHS, check  
> out the google group called integrity for more info Jeff.
> >
> > Here's one post that might be involved in your problem.
> >
> > 
http://groups.google.com/group/integrityapp/browse_thread/thread/1755f822551617ac
> >
> > Matt
> >
> >
> >
> >
> > On 15 Feb 2010, at 15:43, Jeff Dutil wrote:
> >
> > > I am using bundler for the integrity setup, but bundler is not  
> _yet_ used for the rails app I am testing.  Is this a requirement  
> for integrity?
> > >
> > > On Mon, Feb 15, 2010 at 10:41 AM, Matt Davies  
> <mjdavies@glam.ac.uk> wrote:
> > > Hi Jeff
> > >
> > > Are you using gem bundler?
> > >
> > > Matt
> > >
> > >
> > > On 15 Feb 2010, at 15:31, Jeff Dutil wrote:
> > >
> > > > Hey,
> > > > I am having trouble running Integrity.  Once I get everything  
> up and running I am trying to run tests on a rails project, and the  
> build keeps failing.  I get the error that Rails version 2.3.5 gem  
> is not installed, but it is installed on the Integrity server...   
> This must be some sort of gotcha or something that I am running  
> into, but I can't figure it out when the gem is clearly installed on  
> the server.  Any help  is appreciated.
> > >
> > >
> >
> >
>
>