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

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.

Hi,

Of course you can using Ruby 1.9.2 and Rails 3 on Windows 7.

Pls download ruby at here
http://rubyinstaller.org/downloads/

Unzip the 7z to a folder and then add the .\bin to you system path.

So far you can run ruby file in your box.

Install rails.
gem install rails

sqlite3-ruby
You also need sqlite3-ruby to run a site if you using sqlite3 as db.

System will give you a address of sqlite3, just download the file for
windows, and upzip to ruby\bin
gem install sqlite3-ruby

Done!!!

winter heat wrote in post #958431:

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.

Both those gems should build on Leopard. What errors are you getting?

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

On Mon, Nov 1, 2010 at 1:46 AM, winter heat [email protected]
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