Bundler problems

hi there,

I have a few issues with bundler.

  1. running “gem install bundler” in my project directory as a regular
    user is impossible due to permissions problem. I had to use sudo

  2. running “bundle install” in my project directory as a regular user,
    I got the following permission problem.

"Installing rspec (1.3.0) from .gem files at /home/ct9a/projects/myApp/
vendor/bundle/cache /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/
installer.rb:518:in `initialize’: Permission denied - /home/ct9a/
projects/myApp/vendor/bundle/gems/rspec-1.3.0/.document
(Errno::EACCES) "

Any ideas why bundle is trying to refer to my ruby interpretor in /usr/
local/lib?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs