Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

osx - I'm confused, what's the easiest way to install Ruby 1.9.2 on OS X? -


my current version ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10]

step 1. install homebrew: https://github.com/mxcl/homebrew

this enables install various *ix projects on mac. may need install xcode part of this, may need os x disc hand. homebrew useful many other things - thing have installed anyway.

step 2. install ruby version manager:

brew install rvm 

step 3. install whichever ruby version want. means can have multiple ruby installations (with own sets of rubygems) running independently of 1 another. 1.9.2 try this:

rvm install 1.9.2 

if 'readline' error, try this:

rvm package install readline rvm remove 1.9.2 rvm install 1.9.2 --with-readline-dir=$rvm_path/usr 

you should able test ruby version:

ruby --version 

to switch version of ruby, use rvm command.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -