[Rails] Re: Rails or separate packages, RedHat

2009-04-11 Thread Rob Redmon

Solved.  I just built up my own Ruby and RubyGems environment and all is 
well.  Thanks for the tips.

R
-- 
Posted via http://www.ruby-forum.com/.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: Rails or separate packages, RedHat

2009-04-07 Thread RobR

I tried that and this is what happened.  The system Ruby is 1.8.7.

[~/] gem install rails
ERROR:  While executing gem ... (Errno::EACCES)
Permission denied - /var/lib/gems/1.8/cache/rake-0.8.4.gem


On Apr 7, 5:40 pm, Freddy Andersen  wrote:
> If you install the gems as a non root user it will be installed in
> ~/.gems
>
> gem install rails
>
> will install it in ~/.gems
>
> On Apr 7, 3:44 pm,RobR wrote:
>
>
>
> > Good point.  Ok, a dumb question.
>
> > I found I can run "gem install -i install_dir -d bin_dir"
>
> > Where do people usually install such things in their user spaces?
> > /home/user/var/lib/gems
>
> > What about the "-d bin_dir"?  What kind of things go in there?  .so
> > libraries like mysql.so?  What default location do those usually end
> > up in?  Where is a usual place to put them in my home space?
>
> > What environment variables do I need to work with to make my installed
> > gems are used instead of older system installed gems?
>
> > Regards,
>
> > Rob
>
> > On Apr 6, 2:07 am, Roderick van Domburg 
> > s.net> wrote:
> > > Rob Redmon wrote:
> > > > So, do I ask the IT department to install Ruby on Rails or continue
> > > > asking for particular packages?  I'd rather just get the whole thing.
> > > > If so, will an install of "rails" override or interfere with already
> > > > installed rails libraries?  They will only install RedHat 5 managed
> > > > packages without a huge fight.  Other packages, I have to compile and
> > > > install in my own user space (/home).
>
> > > RHEL doesn't carry a lot of gems, and certainly not recent versions.
> > > Installing them yourself is the way to go.
>
> > > --
> > > Roderick van Domburghttp://www.railscluster.nl
> > > --
> > > Posted viahttp://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: Rails or separate packages, RedHat

2009-04-07 Thread Freddy Andersen

If you install the gems as a non root user it will be installed in
~/.gems

gem install rails

will install it in ~/.gems

On Apr 7, 3:44 pm, RobR  wrote:
> Good point.  Ok, a dumb question.
>
> I found I can run "gem install -i install_dir -d bin_dir"
>
> Where do people usually install such things in their user spaces?
> /home/user/var/lib/gems
>
> What about the "-d bin_dir"?  What kind of things go in there?  .so
> libraries like mysql.so?  What default location do those usually end
> up in?  Where is a usual place to put them in my home space?
>
> What environment variables do I need to work with to make my installed
> gems are used instead of older system installed gems?
>
> Regards,
>
> Rob
>
> On Apr 6, 2:07 am, Roderick van Domburg 
>
>
> s.net> wrote:
> > Rob Redmon wrote:
> > > So, do I ask the IT department to install Ruby on Rails or continue
> > > asking for particular packages?  I'd rather just get the whole thing.
> > > If so, will an install of "rails" override or interfere with already
> > > installed rails libraries?  They will only install RedHat 5 managed
> > > packages without a huge fight.  Other packages, I have to compile and
> > > install in my own user space (/home).
>
> > RHEL doesn't carry a lot of gems, and certainly not recent versions.
> > Installing them yourself is the way to go.
>
> > --
> > Roderick van Domburghttp://www.railscluster.nl
> > --
> > Posted viahttp://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: Rails or separate packages, RedHat

2009-04-07 Thread RobR

Good point.  Ok, a dumb question.

I found I can run "gem install -i install_dir -d bin_dir"

Where do people usually install such things in their user spaces?
/home/user/var/lib/gems

What about the "-d bin_dir"?  What kind of things go in there?  .so
libraries like mysql.so?  What default location do those usually end
up in?  Where is a usual place to put them in my home space?

What environment variables do I need to work with to make my installed
gems are used instead of older system installed gems?

Regards,

Rob

On Apr 6, 2:07 am, Roderick van Domburg  wrote:
> Rob Redmon wrote:
> > So, do I ask the IT department to install Ruby on Rails or continue
> > asking for particular packages?  I'd rather just get the whole thing.
> > If so, will an install of "rails" override or interfere with already
> > installed rails libraries?  They will only install RedHat 5 managed
> > packages without a huge fight.  Other packages, I have to compile and
> > install in my own user space (/home).
>
> RHEL doesn't carry a lot of gems, and certainly not recent versions.
> Installing them yourself is the way to go.
>
> --
> Roderick van Domburghttp://www.railscluster.nl
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: Rails or separate packages, RedHat

2009-04-06 Thread Roderick van Domburg

Rob Redmon wrote:
> So, do I ask the IT department to install Ruby on Rails or continue
> asking for particular packages?  I'd rather just get the whole thing.
> If so, will an install of "rails" override or interfere with already
> installed rails libraries?  They will only install RedHat 5 managed
> packages without a huge fight.  Other packages, I have to compile and
> install in my own user space (/home).

RHEL doesn't carry a lot of gems, and certainly not recent versions. 
Installing them yourself is the way to go.

--
Roderick van Domburg
http://www.railscluster.nl
-- 
Posted via http://www.ruby-forum.com/.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---