Extract the .gem file into a new directory. After extracting, copy that directory into /vender/gems directory of your application. add the gem into the gemfile( gem "GemName", "Version", :path => "vendor/gems/Gem Directory Name".) . after that run bundle install. Enjoy.
Ruby on Rails
Sunday, July 15, 2012
Monday, July 9, 2012
Wednesday, July 4, 2012
Tuesday, May 15, 2012
Auto refresh page
"<script language="javascript" type="text/javascript">setTimeout("location.reload();",20000);</script>"
Thursday, January 19, 2012
Monday, December 19, 2011
ruby step iterator
A loop from 0 to 12 by 3 can be written as follows.
0.step(12, 3) {|x| print x, " " }
produces:
0 3 6 9 12
Subscribe to:
Posts (Atom)