Ruby on Rails Monday, November 1, 2010

On Mon, Nov 1, 2010 at 1:46 AM, winter heat <lists@ruby-forum.com> 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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment