Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
quick howto for installing ruby on rails with ruby 1.9
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
stealthy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 118
Location: ONTARIO CANADA

PostPosted: Tue Oct 19, 2010 10:56 pm    Post subject: quick howto for installing ruby on rails with ruby 1.9 Reply with quote

This requires keyword ~x86

1. edit /etc/make.conf

add line
Code:
RUBY_TARGET="ruby19 ruby18"


2. edit /etc/portage/package.unmask

add line
Code:
dev-lang/ruby



3. If you don't have have /etc/portage/profile/use.mask

Code:
 mkdir /etc/portage/profile


4. edit file /etc/portage/profile/use.mask

add line
Code:
-ruby_targets_ruby19


5.
Code:
emerge ruby


Now you should be able to run :

Code:
gem install rails

_________________
All your Gentoo are belong to us.
Back to top
View user's profile Send private message
duderonomy
Guru
Guru


Joined: 20 Mar 2004
Posts: 349
Location: SF Bay Area

PostPosted: Tue Feb 21, 2012 9:30 pm    Post subject: Re: quick howto for installing ruby on rails with ruby 1.9 Reply with quote

Hello,

I wanted to install ruby 1.9 today...
This doc reflects info found here: Gentoo Ruby Project (if carefully read).
Your post was helpful in validating what needs to be done.
thank you very much.
I have a question.
Is step 2,
stealthy wrote:
2. edit /etc/portage/package.unmask
add line
Code:
dev-lang/ruby

equivalent to making an entry like the following in /etc/portage/package.keywords?
Code:
dev-lang/ruby ~amd64

Cheers,
:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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