Please see my post. I tried everything that was suggested by those messages.

On Thu, Oct 6, 2011 at 6:39 AM, Leonardo Mateo <[email protected]>wrote:

> On Wed, Oct 5, 2011 at 6:02 PM, Ruby Student <[email protected]>
> wrote:
> > Hello Boys and Girls,
> >
> > I don't know where this item belong. I am posting it on both, Ruby and
> Rails
> > forums.
> >
> > # ruby -v
> > ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
> >
> > # rails -v
> > Rails 3.1.0
> >
> > Red Hat Enterprise Linux Workstation release 6.0 (Santiago) (64bit)
> >
> > I just installed Rails 3.1.0 as described on:
> > http://guides.rubyonrails.org/getting_started.html
> > One of the step while trying to create my first project was to: Creating
> the
> > Database
> >
> > $rake db:create
> > (in /opt/rails_3.1.0/Code/Ruby/blog)
> > Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in
> your
> > Gemfile.
> >
> > So, I assumed that sqlite3 was not installed.
> > I proceeded to make several attempts to get sqlite3 installed but got
> > errors. I also tried installing sqlite3-devel as suggested below by the
> > error messages, but got errors.
> >
> > # gem install sqlite3
> > Building native extensions.  This could take a while...
> > /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/ext/builder.rb:48: warning:
> > Insecure world writable dir /usr/local/shoes in PATH, mode 040777
> > ERROR:  Error installing sqlite3:
> >     ERROR: Failed to build gem native extension.
> >
> >         /usr/local/bin/ruby extconf.rb
> > checking for sqlite3.h... no
> This is telling you don't have the development files for sqlite installed.
>
> > sqlite3.h is missing. Try 'port install sqlite3 +universal'
> > or 'yum install sqlite3-devel' and check your shared library search path
> This is suggesting you what packages to install, depending on the
> platform you are.
>
> Hope it helps.
>
> --
> Leonardo Mateo.
> There's no place like ~
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
Ruby Student

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to