Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ANN] emerge-gem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Pistos
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 175
Location: Canada

PostPosted: Tue Mar 10, 2009 9:51 pm    Post subject: [ANN] emerge-gem Reply with quote

Code:
# emerge-gem --help
/usr/bin/emerge-gem [options] <gem name> [gem name...] [-- <emerge options>]
    -h --help              show usage
    --no-emerge            don't actually execute any emerge commands
    --portage-base-dir     (default /usr/local/portage)
    --portage-path         relative to portage base dir (default dev-ruby)
    --verbose              print more details about work being done
Example:
Code:
emerge-gem ramaze -- -atv

I'd like to introduce emerge-gem, a Portage tool to transparently install gems into Portage without the need for official ebuilds.

Download: http://purepistos.net/emerge-gem-0.3.9.tar.bz2
Install: ruby install.rb [--prefix <prefix>]

See the README in the emerge-gem repo for more details. Though optional, it is recommended to emerge eix.

Naturally, this is alpha software, but it has been working well for me so far. Tryouts, testing and feedback welcome!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43551
Location: 56N 3W

PostPosted: Tue Mar 10, 2009 10:15 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

as its user supported software
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Wed Mar 11, 2009 9:02 am    Post subject: Reply with quote

That sounds pretty interesting.. How thightly is it integrated with portage and how hard would it be to get it working with paludis...

If it will just build an ebuild on the fly and then call portage, then it should be no problem to do the same with paludis.
Back to top
View user's profile Send private message
Pistos
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 175
Location: Canada

PostPosted: Wed Mar 11, 2009 1:18 pm    Post subject: Reply with quote

That's pretty much it: It crafts an ebuild locally based on the contents of the gemspec, then emerges it. Besides that, there are a few checks and guards for users who have used the gem system outside of Portage. If there is interest, I can build in a call to paludis via some --switches or configuration.
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Wed Mar 11, 2009 1:26 pm    Post subject: Reply with quote

I'd most certainly be interested!
Back to top
View user's profile Send private message
Pistos
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 175
Location: Canada

PostPosted: Wed Mar 11, 2009 3:24 pm    Post subject: Reply with quote

BlackEdder: Okay, try http://purepistos.net/emerge-gem-0.4.0.tar.bz2. Use the switch "--emerge-bin paludis". You can make a shell alias or little wrapper script to do that all the time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum