![]() To start off, all major platforms support Ruby: *nix, Mac, Windows.For example: redirect_to root_url unless current_user.admin?. Therefore, programs in Ruby can often be read like a plain English text. Yukihiro wanted to present a language that’s comfortable to use, easy to understand, and that doesn’t try to surprise you. Its main philosophy is aimed towards the developer’s happiness and productivity. Ruby was influenced by languages such as Smalltalk and Eiffel. Ruby is a dynamic, object-oriented programming language that was created in 1995 by Yukihiro Matsumoto, a Japanese developer. After it finishes installing, check that rails is installed: $ rails -v. Use the following to install the latest version of rails: $ gem install rails. If a new version is out you can name the gemset it appropriately. At the time of this writing, rails 4.2 is the current version. This one works if you've used the binaries supplied from the mysql website to install it on your Mac. Ask Question Asked 9 years, 6 months ago. Installing mysql2 gem for Ruby on Rails with Mac OSX 10.6. For more reference consult the GitHub page. There is an alternative for RVM (which is not supported on Windows), PIK. Linux and Mac OS X have a great tool called RVM to manage Ruby versions and gems. Rails is still very popular these days, and other web frameworks have borrowed many ideas from it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |