Difference between pages "Talk:Funtoo Filesystem Guide, Part 1" and "Package:Ruby"

(Difference between pages)
(comments about gfs2 & ocfs2)
 
m (almost ironed all the bugs out, possible another commit and it will be ready for production)
 
Line 1: Line 1:
gfs2, & ocfs2 are both clustering file systemsthey are used for high availability, they are specifically for primary/primary mode where both nodes have read write over their file systems, neither suffer from "split brain" as they are always split.
+
{{Ebuild
 +
|Summary=Centralized Ruby extension management system
 +
|CatPkg=dev-ruby/rubygems
 +
|Maintainer=
 +
|Homepage=http://rubyforge.org/projects/rubygems/
 +
}}
 +
{{fancywarning|this is a rough draft, and may need revision.}}
 +
 
 +
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 itArch 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 json rake racc</console>
 +
 
 +
<console>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.
 +
 
 +
==ruby on rails==
 +
<console>###i##gem install rails
 +
###i##rails new testproject
 +
###i##cd testproject
 +
###i##bundle install</console>
 +
 
 +
{{EbuildFooter}}

Revision as of 06:28, August 18, 2014

dev-ruby/rubygems


Source Repository:Gentoo Portage Tree
Homepage

Summary: Centralized Ruby extension management system

Use Flags

server
Install support for the rubygems server

News

Drobbins

Newsletter, Volume 1

Discussed: ati-drivers, GitHub integration, Funtoo on ARM, GNOME updates, Organizations, and two new devs.
27 January 2015 by Drobbins
Drobbins

New Media Mix-ins

Funtoo Linux now has new media mix-ins. Learn about them and how to use them.
11 January 2015 by Drobbins
Drobbins

The Many Builds of Funtoo Linux

We now have lots of different builds of Funtoo Linux for various CPUs, as well as Hardened, Stable and ARM, and a new UI to browse them. Learn more here.
25 December 2014 by Drobbins
View More News...

Ruby

Tip

This is a wiki page. To edit it, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Warning

this is a rough draft, and may need revision.

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:

#emerge ruby rubygems

Remove bunk gems:

#emerge -C dev-ruby/rake dev-ruby/racc dev-ruby/json dev-ruby/rdoc

Flush bunk gems bad specs:

#mv /usr/local/lib64/ruby/gems/2.1.0/specifications/ /usr/local/lib64/ruby/gems/2.1.0/specifications.backup


Fetch gems via rubygems:

#gem install rdoc json rake racc
rubygems-update

update gem system:

#update_rubygems
#gem update --system
#gem pristine --all

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.

ruby on rails

#gem install rails
#rails new testproject
#cd testproject
#bundle install