On Sat, Apr 3, 2010 at 9:22 AM, Jonathan Nielsen <[email protected]> wrote:

> Hi all,
>
> I decided to try out Rails 3 and immediately ran into big issues... I
> am using ruby-1.8.7-p249 compiled with rvm on Ubuntu 9.10 and followed
> the install instructions for Rails 3 from
> http://guides.rails.info/3_0_release_notes.html
>
> My first issue was it required me to install the sqlite3-ruby gem
> despite changing the adapters in config/database.yml.  After trying to
> find a way around this I gave up and just installed the extra gem.
> After this, doing a rake db:create caused this error:
>
> :~/rails_app$ rake db:create
> (in -snip-/rails_app)
> !!! Please install the mysql gem and try again: gem install mysql.
> rake aborted!
> no such file to load -- mysql
>
> The mysql gem is definitely installed, and correctly loads if I do the
> following:
>
> :~/rails_app$ irb
> ruby-1.8.7-p249 > require 'rubygems'
>  => true
> ruby-1.8.7-p249 > require 'mysql'
>  => true
>
> So I'm stuck.  Googling has not provided any answers.  Anyone figured
> this one out?
>
> (Yes, 'which rake' shows it is loading the correct rake...)
>
>
What does the following say?

$ gem environment
$ gem list mysql

BTW, I was able to install on both Linux and Mac OS using the following
combinations:

Ruby 1.8.7/1.9.2, Rails 3.0 beta, Linux
Ruby 1.8.7/1.9.2, Rails 3.0 beta, Mac OS

-Conrad


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

-- 
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