Difference between pages "Package:Ruby" and "Template:Arch"

(Difference between pages)
(Created page with "{{Ebuild |Summary=Centralized Ruby extension management system |CatPkg=dev-ruby/rubygems |Maintainer= |Homepage=http://rubyforge.org/projects/rubygems/ }} {{fancywarning|this...")
 
 
Line 1: Line 1:
{{Ebuild
+
<includeonly>
|Summary=Centralized Ruby extension management system
+
{{#set:arch={{{arch|}}}|arch_desc={{{arch_desc|}}}}}
|CatPkg=dev-ruby/rubygems
+
 
|Maintainer=
+
{{#ask: [[CPU Family::{{PAGENAME}}]]
|Homepage=http://rubyforge.org/projects/rubygems/
+
| ?subarch
 +
| mainlabel=-
 +
| format=ul
 
}}
 
}}
{{fancywarning|this is a rough draft, and may need revision.}}
+
[[Category:CPU Family]]
 
+
</includeonly>
Rubygems is a package management system to extend the ruby language.
+
 
+
Gems are packaged wonky in portage so this page will explain how to work with rubygems rather than fight it.  Arch wiki outlines a similar method. 
+
 
+
https://wiki.archlinux.org/index.php/Ruby#RubyGems
+
 
+
Emerge ruby & rubygems:
+
<console>###i##emerge ruby rubygems</console>
+
 
+
Remove bunk gems:
+
<console>###i##emerge -c dev-ruby/rake dev-ruby/racc dev-ruby/json dev-ruby/rdoc</console>
+
 
+
Flush bunk gems bad specs:
+
<console>###i##mv /usr/local/lib64/ruby/gems/2.1.0/specifications/ /usr/local/lib64/ruby/gems/2.1.0/specifications.backup</console>
+
 
+
 
+
Fetch gems via rubygems:
+
<console>###i##gem install rdoc rubygems-update</console>
+
 
+
update gem system:
+
<console>###i##update_rubygems
+
###i##gem update --system
+
###i##gem pristine --all
+
</console>
+
 
+
Now you're ready to use gem to manage gems.  The reason this came about is that bundler can't be run with out conflicts.
+
{{EbuildFooter}}
+

Revision as of 07:11, December 20, 2014