I have been trying to install and run rubyonrails in my macbook Snow Leoppard 10.6.8, with Ruby 1.9.2-p290.
When I write bundle install
im having this problem, not just with Postgres also with SQLite and MySQL.
Installing pg (0.11.0)
/Users/felipevelasquez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:585
:ininitialize': Permission denied -
/Users/felipevelasquez/.rvm/gems/ruby-1.9.2-p290/gems/pg-0.11.0/Rakefile` (Errno::EACCES)
When I write sudo bundle install
I have this:
/Users/felipevelasquez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (>= 0) amongst [mime-types-1.16, minitest-1.6.0, rack-1.3.2, rake-0.8.7, rdoc-2.5.8, rest-client-1.6.7, sequel-3.20.0, sinatra-1.0, sqlite3-1.3.4, sqlite3-ruby-1.3.3, taps-0.3.23] (Gem::LoadError)
sudo
for a bundle install. – x1a4gem install pg -v '0.11.0'
succeeds before bundling. – Pipevel