[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help with running tests for rails using gems



2013/6/4 Praveen A <praveen@debian.org>:
> Sam,
>
> You can just substitute the package name in the git clone url to get other
> packages. So change ruby-shoulda-matchers to ruby-i18n to checkout i18n
> debian package repo. Follow the same process for building it.
>
> Praveen

Hi Sam,

Anyway these are already uploaded by Antonio. In any case just to be
clear (I was on a mobile so posting links were difficult)

You already knew repo url of ruby-shoulda-matchers as

git://anonscm.debian.org/pkg-ruby-extras/ruby-shoulda-matchers.git and
if you wanted to get repos of other packages, like the ones Christian
mention he has updated, you can just change the package name in url.
Like if you wanted to checkout i18n you could checkout,

git://anonscm.debian.org/pkg-ruby-extras/ruby-i18n.git

And there is also another tool to make it easier called mr. See
http://wiki.debian.org/Teams/Ruby/Packaging#Obtaining_the_master_repository

And with the changes Christian made, I was able to run rails new
testapp, successfully. Also I had to add rubygems-integration to build
deps, so it could find rails. I also added some more build deps so it
has all the libraries it need to run tests (try git pull and
git-buildpackage again). Now we are back to my original bug where it
is looking to find config/database.yml from the root of the library
rather than the testapp root.


Reply to: