Topic: rails dbconsole command getting permission denied/Help


Im new to rails, and though I love it i just want to code instead of always runing into problems getting my environment right.

When i enter rails dbconsole under my project dir, iget the following error below

/Users/musdev/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/dbconsole.rb:94:in `exec': Permission denied - /usr/lib/sqlite3 (Errno::EACCES)
    from /Users/musdev/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/dbconsole.rb:94:in `start'
    from /Users/musdev/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/dbconsole.rb:9:in `start'
    from /Users/musdev/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands.rb:36:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

What do I need to do in order to fix this? Thank u all in advance