Installing Ruby

Hy guys! :slight_smile:

I ve been trying to install ruby but i ve a problem with my bundle
install:

Macintosh-7:update_01 felipevelasquez$ bundle install
Fetching source index for http://rubygems.org/
/Users/felipevelasquez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:147:in
`initialize': Permission denied -
/Users/felipevelasquez/.rvm/gems/ruby-1.8.7-p352@metrocubico/cache/rake-0.9.2.gem
(Errno::EACCES)

I think it could be a path problem, what do you think?

Thanks guys!!

:slight_smile:

路路路

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

You're getting an EACCES (permission issue) error, so that means you need to run it with sudo:

$ sudo bundle install

Regards,
Chris White
Twitter: http://twitter.com/cwgem

路路路

On Jul 31, 2011, at 5:03 AM, Felipe Velasquez wrote:

Hy guys! :slight_smile:

I ve been trying to install ruby but i ve a problem with my bundle
install:

Macintosh-7:update_01 felipevelasquez$ bundle install
Fetching source index for http://rubygems.org/
/Users/felipevelasquez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:147:in
`initialize': Permission denied -
/Users/felipevelasquez/.rvm/gems/ruby-1.8.7-p352@metrocubico/cache/rake-0.9.2.gem
(Errno::EACCES)

No! It means the OP has screwed up his RVM install, probably by
running some rvm or gem command using sudo -- you should never
have to use sudo with rvm installed in your own home directory. :slight_smile:

Use sudo to change back ownership of everything under ~/.rvm to
yourself.

路路路

On Sun, Jul 31, 2011 at 5:08 AM, Chris White <cwprogram@live.com> wrote:

`initialize': Permission denied -
/Users/felipevelasquez/.rvm/gems/ruby-1.8.7-p352@metrocubico/cache/rake-0.9.2.gem
(Errno::EACCES)

You're getting an EACCES (permission issue) error, so that means you need to run it with sudo:

$ sudo bundle install

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

twitter: @hassan

Yikes, skipped over that crucial part when I was reading the output. I shall discipline myself by reciting the sudo man page 100 times.

Regards,
Chris White

路路路

On Jul 31, 2011, at 6:59 AM, Hassan Schroeder wrote:

On Sun, Jul 31, 2011 at 5:08 AM, Chris White <cwprogram@live.com> wrote:

`initialize': Permission denied -
/Users/felipevelasquez/.rvm/gems/ruby-1.8.7-p352@metrocubico/cache/rake-0.9.2.gem
(Errno::EACCES)

You're getting an EACCES (permission issue) error, so that means you need to run it with sudo:

$ sudo bundle install

No! It means the OP has screwed up his RVM install, probably by
running some rvm or gem command using sudo -- you should never
have to use sudo with rvm installed in your own home directory. :slight_smile:

Use sudo to change back ownership of everything under ~/.rvm to
yourself.

And if you ever do need sudo with rvm, it's just 'rvmsudo'.