my situation is this:
I installed rvm as root user on Ubuntu 10.04. As root, I installed ruby ββ1.9.2 and rails 3.0.1 using rvm at the location '/rvm/gems/ruby1.9.2-p0/'. Then I logged in as I am on ubuntu and tried to create a rails application in / home / myself / www / myapp. When I do "bundle install", I get the following error:
'Permission Denied' - home / myself / www / myapp / Gemfile.lock (Errno: EAccess) from / usr / local / rvm / gems / ruby ββ1.9.2-p0 / gems / bundler-1.0.7 / lib / Bundler / definition.rb
I also cannot install sudo bundle install.
Also, when I log back as root and try to install the package there ... I get an error message:
bash: bundle: command not found.
Now I am very lost. How can I make this work?
source
share