Technology Stack for Rails
Core
- Rails 3.0.1
- Ruby 1.9.2 (use RVM for mgmt.)
Development
- Bundler – manage gem dependencies
Technology Stack for Rails
Core
Development
.irbrc for Win32 | |
Create a file called anything you like (e.g. “_irbrc” or “irb.rc”) and place it anywhere you like (say C:\Documents and Settings\), and set that full path to the ENV variable IRBRC, e.g. C:\Documents and Settings\\_irbrc | |
## Libraries | |
require 'rubygems' | |
require 'irb/completion' | |
require 'map_by_method' | |
require 'what_methods' | |
require 'pp' |
require 'RMagick' | |
include magick | |
# Demonstrate the GradientFill class | |
Rows = 100 | |
Cols = 300 | |
Start = "#900" | |
End = "#000" |
require "mini_magick" | |
image = MiniMagick::Image.from_file("c:\\test.jpg") | |
image.resize "100x100" | |
image.write("c:\\output.jpg") |