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 -- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
On Aug 15, 2013, at 2:56 AM, Diego Schmunis wrote:> 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?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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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.-- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/BF8665D6-BB86-4178-96BA-65C781FF0E99%40wdstudio.com. For more options, visit https://groups.google.com/groups/opt_out.
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 Am Donnerstag, 15. August 2013 08:56:02 UTC+2 schrieb Diego Schmunis:> > 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 >-- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/78023536-5350-4196-a4f1-38daeeb54aa2%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Walter Davis wrote in post #1118808:> On Aug 15, 2013, at 2:56 AM, Diego Schmunis wrote: > >> /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 goodwith> 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. > > WalterHi 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/. -- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/03d24cc2a351a6d5c4970926d648a1d0%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
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! Best, Diego -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a4778821e3310601c3aae30a95920673%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.