Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/zollrcom/public_html/textpattern/lib/txplib_db.php on line 14
Brian Zollinhofer - A Jack of All Trades, A Master of One

Ruby on Rails - sample_app - 2011-03-31 12:13

I couldn’t get rails server to run, and then to get the repo from github to work as well. So I scrapped the sample_app folder and started over.

$ cd ~/rails_projects
$ rails new sample_app
$ cd sample_app
$ gedit Gemfile

or instead of gedit (on my Linux box):
$ mate Gemfile
(which is Textmate on the Mac)

I then edited the Gemfile and uncommented the following lines:

#gem ‘nokogiri’

#gem ‘sqlite3-ruby’, :require => ‘sqlite3’

back to the terminal:
$ bundle install
$ git clone git@github.com:username/sample_app.git

That seemed to do it! We’ll see if it still works in a bit…