Skip to content

Instantly share code, notes, and snippets.

DEVARAJ K devudilip

Block or report user

Report or block devudilip

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@devudilip
devudilip / create rails app with older version
Created Apr 23, 2012
How to create rails app with older version
View create rails app with older version
Hi geeks,
my rails new version is 3.2.3.
if i wanted to create new rails app with older version say 3.0.5,
i can create using the command
rails _3.0.5_ new app
but i was getting an error
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:316:in `bin_path': can't find gem railties (["3.0.5"]) with executable rails (Gem::GemNotFoundException)
@devudilip
devudilip / Rails neww app with Mysql as a default Database
Created Feb 17, 2012
Create Rails new Application With default Mysql Database(If sqllite or any other is default)
View Rails neww app with Mysql as a default Database
when Rails create App with SqlLite Database as Default.
Then U wanted to create app with mysql, follow the steps
1> First of all u need to install mysql2 in your system(install mysql2 not mysql)
"sudo gem install mysql2 -v=0.2.11" // Version is according to your combinational needs of your rails
2> Once you installed, Then u r ready to create New app with Mysql as default
"rails new sample_app -d mysql"
3>so your app is now created with mysql2 database, (Check in your gem file it will be Present)
@devudilip
devudilip / SUBLIME TEXT2 INSTALLATION
Created Oct 22, 2011
HOW TO INSTALL SUBLIME TEXT 2 ON UBUNTU 11.10
View SUBLIME TEXT2 INSTALLATION
#BECOME SUPER USER#
sudo -i
#add sublime to repository#
add-apt-repository ppa:webupd8team/sublime-text-2
#update#
You can’t perform that action at this time.