Luke Cowell wrote in post #977559:
> On 2011-01-25, at 8:49 PM, Ismail Haqq wrote:
>>
>>
>> I tried repairing permissions via disk utility but was unsuccessful, I
>> also
>> ran chmod -R 0777 /usr/lib/sqlite3 in the command line and it spits out
>> the same error message.
>
> Put sudo before your command. If you don't have permission to read,
> you'll almost certainly not have permission to write.
>
> Luke

Now when I run sudo rails db I get
sudo rails db
/Users/musdev/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rubygems.rb:762:in 
`report_activate_error': Could not find RubyGem rails (>= 0) 
(Gem::LoadError)
  from 
/Users/musdev/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rubygems.rb:219:in 
`activate'
  from 
/Users/musdev/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rubygems.rb:1065:in 
`gem'
  from /Users/musdev/.rvm/gems/ruby-1.9.2-p136/bin/rails:18:in `<main>'

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to