Difference: RubyNotes (9 vs. 10)

Revision 1003 Mar 2013 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
Deleted:
<
<
RVM is a nice tool that manages multiple installations of Ruby, JRuby, gems, etc. It's very useful if you're working on both Ruby and JRuby projects. http://rvm.beginrescueend.com/
Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436
 Citrus is a fun parser generator for Ruby. It lets you mix small bits of Ruby code in with your parser grammar. http://mjijackson.com/citrus/
Changed:
<
<
Invoking a method with a ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html
>
>
Invoking a method with an ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html
  Github's style guide: https://github.com/styleguide/ruby

RVM

Changed:
<
<
http://rvm.beginrescueend.com/ - RVM is the Ruby Version Manager. It's a nice solution to having multiple versions of Ruby and sets of Ruby gems installed
>
>
RVM is a nice tool that manages multiple installations of Ruby, JRuby, gems, etc. It's very useful if you're working on both Ruby and JRuby projects. http://rvm.beginrescueend.com/
Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436

When you install RVM, run rvm requirements and install everything it recommends. You'll probably also need libpq-dev (postgresql) and libcurl-dev (curl).

  Debian - when I used RVM on Debian for the first time, I had to use RVM to install copies of zlib and openssl in RVM's tree. For some reason configure couldn't see the Debian's versions.
http://rvm.beginrescueend.com/packages/openssl/
Line: 30 to 30
 http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by hand
Also need to install sqlite3, libsqlite3-dev, and the sqlite3-ruby gem.
$ cd activerecord && rake test-sqlite3
Deleted:
<
<
http://michalf.me/blog:make-ruby-1-9-default-on-ubuntu-9-10-karmic-koala - HOWTO install Ruby 1.9 as the default on Ubuntu
 \ No newline at end of file
View topic | History: r18 < r17 < r16 < r15 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback