Re: Can use Rails 3 on Windows 7 or OS X Leopard?

David Kahn
2010-11-01T18:38:45Z

On Mon, Nov 1, 2010 at 1:46 AM, winter heat
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:

> So far the only platform I could use Ruby 1.9.2 with Rails 3.0.1 is on
> Mac Snow Leopard.
>
> Can they be used on Windows 7 or Mac Leopard?
>
> On Leopard whenever I install the gem of sqlite3-ruby or mysql2, it
> won''t build, so there is no way to really use it.
>

On Leopard, you need to add a switch or two. I use rvm and this lets me
install mysql (not sure if there would be a difference between mysql and
mysql2 gem, never used). (Note that I have found that I have to install the
gem successfully manually before running ''bundle install'' as I
am not sure
if you can add such parameters within the gemfile - never looked into)

gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config


>
> --
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.