Hi everyone, new to the group, new to programing and most certainly new
to
RoR (so forgive me if this questions is stupid)
Last week I started to take the RoR course at onemonthrails.com and I’ve
been stuck on Adding Bootstrap lesson since last week. Every time I run
‘bundle install’ after adding the bootstrap-sass Gem to the Gemfile I
get:
Installing bootstrap-sass (2.3.2.1)
Errno::EACCES: Permission denied -
/Users/Diego/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper
An error occurred while installing bootstrap-sass (2.3.2.1), and Bundler
cannot continue.
Make sure that gem install bootstrap-sass -v '2.3.2.1' succeeds before
bundling.
When I look in:
/Users/Diego/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper
and do: ls -a
I don’t see the ruby_noexec_wrapper file
I’ve spent countless hours googling the issue and reading post on
Stackoverflow but can’t find a solution and haven’t gotten any responses
on
the course’s Comments page.
I don’t want to give up on RoR or the course as I was starting to feel
good
with my progress and what I was learning, but unless I’m able to get
past
this spot I don’t know what else to do/try.
I’ve spent countless hours googling the issue and reading post on Stackoverflow
but can’t find a solution and haven’t gotten any responses on the course’s
Comments page.
I don’t want to give up on RoR or the course as I was starting to feel good with
my progress and what I was learning, but unless I’m able to get past this spot I
don’t know what else to do/try.
Can any one please help?
The error message says that the issue is permissions-related. Have you
looked at the location where bundler is trying to install the Gem and
listed out the permissions? In Terminal.app, do this:
cd /Users/Diego/.rvm/gems/ruby-2.0.0-p247/
ls -al
Pay particular attention to the letters in front of bin in that listing:
drwxr-xr-x
is what you should see, and the owner and group should be your short
account name in Mac OS X.
IF you don’t see this, then you may have a botched rvm install. You may
have installed as root in your user account, by using sudo before the
rvm install command. They warn you not to do that at least 8 times on
the installation instructions page.
Anyway, report back what you find, and someone here may be able to help
you further. You may just need to step back and remove rvm and then
re-install it.
I’ve spent countless hours googling the issue and reading post on Stackoverflow
but can’t find a solution and haven’t gotten any responses on the
course’s
Comments page.
I don’t want to give up on RoR or the course as I was starting to feel good
with
my progress and what I was learning, but unless I’m able to get past
this spot I
don’t know what else to do/try.
Can any one please help?
The error message says that the issue is permissions-related. Have you
looked at the location where bundler is trying to install the Gem and
listed out the permissions? In Terminal.app, do this:
cd /Users/Diego/.rvm/gems/ruby-2.0.0-p247/
ls -al
Pay particular attention to the letters in front of bin in that listing:
drwxr-xr-x
is what you should see, and the owner and group should be your short
account name in Mac OS X.
IF you don’t see this, then you may have a botched rvm install. You may
have installed as root in your user account, by using sudo before the
rvm install command. They warn you not to do that at least 8 times on
the installation instructions page.
Anyway, report back what you find, and someone here may be able to help
you further. You may just need to step back and remove rvm and then
re-install it.
Walter
Hi Walter,
Thanks for the help. Permissions were set as you suggested above
(drwxr-xr-x)
I was able to find this issue in Stackoverflow and after some further
reading and modification it looks like I got bootstrap-sass installed
properl: