sudo gem list | cut -d" " -f1 | xargs gem uninstall -aIx is the command I used when getting the error message:
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /usr/local/lib/ruby/gems/1.9.1 directory. ________________________________ From: Arthur Baldwin <[email protected]> To: "[email protected]" <[email protected]> Sent: Monday, December 19, 2011 8:50 AM Subject: Re: [Hobo Users] Latest InstantHobo install script for Ubuntu 11.10 OK Quiliro, When I try to execute the first line you listed below, I get the following error message: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /usr/local/lib/ruby/gems/1.9.1 directory. So now what? Arthur ________________________________ From: Arthur Baldwin <[email protected]> To: "[email protected]" <[email protected]> Sent: Friday, December 16, 2011 3:30 PM Subject: Re: [Hobo Users] Latest InstantHobo install script for Ubuntu 11.10 I removed the line: sudo gem install mysql2 -v ???? because it seemed like it was duplicating the task of : bundle install mysql2 do I need to put that statement back? Arthur ________________________________ From: Quiliro Ordóñez <[email protected]> To: [email protected] Sent: Friday, December 16, 2011 1:49 PM Subject: Re: [Hobo Users] Latest InstantHobo install script for Ubuntu 11.10 On 16/12/11 16:43, Arthur Baldwin wrote: >Hmmmm...... >why can't we adjust the script to do something so that bundler does NOT have >to run in the new app directory? >I need to be able to issue the command: hobo new myapp -d mysql > >without any hiccups. > > > That is exactly what we are trying to do. I just asked you to run that command to test what was missing and include it in the script. Nevertheless, there are many gems missing. I would like you to remove all gems and then rerun the script. These should be the commands: sudo gem list | cut -d" " -f1 | xargs gem uninstall -aIx ./InstantHobo.sh Remove the app and create it again and then tell us what the output was. That will tell us what is missing from the script. Note: The remove gems command was found at http://geekystuff.net/2009/01/14/remove-all-ruby-gems/ -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
