plamoni / SiriProxy

A (tampering) proxy server for Apple's Siri
GNU General Public License v3.0
2.12k stars 343 forks source link

rake install won't run unless root. #443

Closed 128keaton closed 11 years ago

128keaton commented 11 years ago

Here is the output from my administrator user using rake install: * Invoke install (first_time) * Execute install siriproxy 0.3.2 built to pkg/siriproxy-0.3.2.gem rake aborted! Couldn't install gem, run gem install /Users/keaton/SiriProxy/pkg/siriproxy-0.3.2.gem' for more detailed output /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bundler-1.2.3/lib/bundler/gem_helper.rb:68:ininstall_gem' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bundler-1.2.3/lib/bundler/gem_helper.rb:43:in block in install' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:228:incall' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:228:in block in execute' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:223:ineach' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:223:in execute' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:166:inblock in invoke_with_call_chain' /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:159:ininvoke_with_call_chain' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:152:in invoke' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:143:ininvoke_task' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:101:in block (2 levels) in top_level' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:101:ineach' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:101:in block in top_level' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:110:inrun_with_threads' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:95:in top_level' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:73:inblock in run' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:160:in standard_exception_handling' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:70:inrun' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/bin/rake:33:in <top (required)>' /usr/local/rvm/gems/ruby-1.9.3-p374/bin/rake:19:inload' /usr/local/rvm/gems/ruby-1.9.3-p374/bin/rake:19:in <main>' /usr/local/rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:ineval' /usr/local/rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `

' Tasks: TOP => install

But running it as root causes problems later.

plamoni commented 11 years ago

You probably ran parts of your rvm installation as root when you should have run them as an unprivileged user. You will need to reinstall rvm as an unprivileged user. It will probably complain during the install that you don't have permissions (because the places it needs to install are owned by root). So you'll need to change permissions where necessary. It's a big pain and if you're running this on a fresh install and you're not very familiar with Linux, you should probably consider just doing a fresh Linux install.

It's very important to not run any of the installation steps as root unless you're explicitly told to do so.

Sorry for the trouble!