Our automated builds sometime fail because of an error on
rubygems.org. (example:
http://build.willowgarage.com/view/devel_diamondback/job/devel_diamondba...
)
Is there an easy way to create a package which contains a set of gems
that gem install can use instead of downloading them from rubygems.org
?
Peter
ruby gems package ?
On 06/24/2011 10:10 AM, Peter Soetens wrote:
> Our automated builds sometime fail because of an error on
> rubygems.org. (example:
> http://build.willowgarage.com/view/devel_diamondback/job/devel_diamondba...
> )
>
> Is there an easy way to create a package which contains a set of gems
> that gem install can use instead of downloading them from rubygems.org
> ?
I was looking into integrating bundler (which AFAIK is supposed to do
that). You might have a look ...
Sylvain
ruby gems package ?
On Fri, Jun 24, 2011 at 10:19 AM, Sylvain Joyeux <sylvain [dot] joyeux [..] ...> wrote:
> On 06/24/2011 10:10 AM, Peter Soetens wrote:
>>
>> Our automated builds sometime fail because of an error on
>> rubygems.org. (example:
>>
>> http://build.willowgarage.com/view/devel_diamondback/job/devel_diamondba...
>> )
>>
>> Is there an easy way to create a package which contains a set of gems
>> that gem install can use instead of downloading them from rubygems.org
>> ?
>
> I was looking into integrating bundler (which AFAIK is supposed to do that).
> You might have a look ...
Thanks. I settled for now with adding an rtt_gems package to the
orocos_toolchain_ros stack and have utilrb's Makefile check for that
directory. If it exists, all gems in there are installed. It seems to
work.
Peter
ruby gems package ?
> utilrb's Makefile
^^^^^^^^^^^^^^^^^
Beg your pardon ? What does that have to do with utilrb ?
Sylvain
ruby gems package ?
On Fri, Jun 24, 2011 at 12:28 PM, Sylvain Joyeux <sylvain [dot] joyeux [..] ...> wrote:
>> utilrb's Makefile
>
> ^^^^^^^^^^^^^^^^^
> Beg your pardon ? What does that have to do with utilrb ?
$ git diff HEAD~
diff --git a/Makefile b/Makefile
index 7519cef..2245bb2 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,7 @@ include $(shell rosstack find orocos_toolchain_ros)/env.mk
install: gems
rake
gems:
- gem install rake flexmock nokogiri facets
- gem install hoe --version 2.8.0
+ if [ -d ../rtt_gems ]; then gem install ../rtt_gems/*.gem;
else gem install rake flexmock nokogiri facets; gem install hoe
--version 2.8.0; fi
touch gems
clean:
rake clean
The ros-specific build code in utilrb's Makefile is what set-up the
gems for 'non-autoproj' builds.
Peter
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev