Aliaspooryorik
ColdFusion ORM Book

Ruby on Rails on Windows

It's always good to look at other languages and frameworks so I decided to try out Ruby on Rails.

I've just tried to install RoR onto Windows 7 using the instructions on the http://rubyonrails.org/download page. and it failed with the error:

Could not find gem `sqlite3 (>=0)` in any of the gem sources listed in your Gemfile.

All you need to do is to type into the command prompt:

gem install sqlite3

Once that has finished you'll need to get the appropriate dll from http://www.sqlite.org/sqlitedll-3_7_3.zip. Extract the .dll file into your ruby/bin folder (wherever you installed Ruby). You should now be able to start up the rails server by typing:

rails server

To see your app running type http://localhost:3000/ into your web browser

  • Posted in:
  • RoR

6 comments

  1. If you are starting to look into other sandboxes Lift is pretty radical...

    Comment by Aaron Greenlee – April 04, 2011
  2. Thanks for the pointer Aaron, looks very interesting.

    Comment by John Whish – April 04, 2011
  3. Thanks for this post John no doubt ROR is a little more easier on time and construction - still there are age old organizations not so keen to adopt it due to existing rules.

    https://www.facebook.com/pages/Ruby-On-Rails-Lounge/193251087376948

    Regards
    Pervara

    Comment by Pervara Kapadia – April 08, 2011
  4. I just wanted to thank you! This helped a lot to solve my problem on "Could not find gem `sqlite3 (>=0)` in any of the gem sources listed in your Gemfile."

    Comment by efe – April 10, 2011
  5. Thanks, you just got me started with RoR (by solving the only speedbump in the install process).

    Much appreciated!

    -D

    Comment by dschwozzle – May 06, 2011
  6. Thanks for this excellent post. I was on lookout for Instant Rails package for installing rails 3 on windows when google landed me to your blog. Took me five minutes to get the whole thing running on Vista - keep up the good work.

    Comment by Rooby G – January 26, 2012

Leave a comment

If you found this post useful, interesting or just plain wrong, let me know - I like feedback :)

Please note: If you haven't commented before, then your comments will be moderated before they are displayed.

Please subscribe me to any further comments
 

Search

Wish List

Found something helpful & want to say ’thanks‘? Then visit my Amazon Wish List :)

Categories

Recent Posts