Tag Archives: Ruby

Learn Ruby programming language by playing a fun game : Ruby Warrior

I played a really cool game to learn Ruby syntax in a funny way! :D You should try it.

Just control and be a player by typing some Ruby code lines.

It was great to improve myself in loops, conditions, method declaration syntaxes.

Even if I liked the music, at lease the first two minutes ‘-_- , you can disable it top-left of your screen.

Be a Ruby Warrior now ! ;)

Read More →

Error running Development: Rails 3.x launcher script was found instead of Rails 4.x one.

Error running Development: XXXX: Rails 3.x launcher script was found instead of Rails 4.x one. You need ‘C:/XXXX/bin/rails’ script to launch Rails server. Please update server launcher according to Rails 4.x documentation.

We had an error when upgrading from rails 3.2 to 4.0.0. To resolve it, you need to adapt the project structure by renaming the script directory into bin.

Now you should have /bin/rails and no more error.

If you still have a problem, just create a new rails project and copy the bin folder to your old one that need an upgrade to 4.0.0.

Rails 4.0.0 Release Notes

How to install your Ruby Rails environment

Before playing with rails, you have some prerequisites. You need the ruby engine, a DevKit to let you compile native extension and the rails gem.

I will show you how to install all of them on windows. It’s a lot easier on Linux ! (apt-get install ruby && gem install rails)

  • Grab the latest installer 32 or 64 bit, install it on C:\Ruby
  • Download the DevKit too, if you don’t have MinGW installed on your computer, take the MinGW included auto extractor 32 or 64 bit. Extract it on C:\DevKit Read More →