Padwan needs help!

58 views
Skip to first unread message

Diego Schmunis

unread,
Aug 15, 2013, 2:56:02 AM8/15/13
to rubyonra...@googlegroups.com
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

GitHub rep at: https://github.com/dschmunis/omrails

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?

Best,
Diego

Walter Lee Davis

unread,
Aug 15, 2013, 3:27:12 PM8/15/13
to rubyonra...@googlegroups.com
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


>
> Best,
> Diego
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/61dea6f5-e613-450b-b013-799e6a3f5168%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Maximilian Busch

unread,
Aug 16, 2013, 4:17:59 AM8/16/13
to rubyonra...@googlegroups.com
Can you verify that Ruby 2.0.0 is installed correctly? Does the Rails app work as expected, neglecting the issues with the Bootstrap gem bundle?

Do you get "rvm is a function" after typing "type rvm | head -n 1" into the terminal?

Perhaps you should start with installing Ruby again, as it is a small thing to do with an RVM environment.

Max

Diego S.

unread,
Aug 19, 2013, 12:27:09 AM8/19/13
to rubyonra...@googlegroups.com
Walter Davis wrote in post #1118808:
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:
http://stackoverflow.com/questions/5583422/rvm-gem-install-error

Best,
Diego

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

Diego S.

unread,
Aug 19, 2013, 12:29:11 AM8/19/13
to rubyonra...@googlegroups.com
Hi Max,

After putting:'type rvm | head -n 1 into the terminal I did get 'rvm is
a function' but still bundle install didn't work.

Finally someone pointed me to:
http://stackoverflow.com/questions/5583422/rvm-gem-install-error and got
it working!
Reply all
Reply to author
Forward
0 new messages