Old 19-06-2007, 05:51   #1 (permalink)
mhillman159
Think Different
 
mhillman159's Avatar
 
Join Date: Nov 2006
Location: Wiltshire, UK
Posts: 31
Send a message via MSN to mhillman159 Send a message via Skype™ to mhillman159
Rake/RoR Need help!

Hi all,

Im a newbie with this so am a bit confused as to where to go what to do next. I recently followed instructions from Hivelogic - Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X. On running $ rake migrate in terminal it came up with the following error:

~/expenses matthewhillman$ rake migrate
(in /Users/matthewhillman/expenses)
The rake task migrate has been deprecated, please use the replacement version db:migrate

As I am unfamiliar with this system and language I am stuck as to what to do next, can someone advise me on what to do or where to go to fix this!

Im using Mac OS X 10.4.9 and have

Ruby
Ruby on Rails
Mongrel
Subversion
MySQL

all running and working.

Hope someone can help me!

I have also tried to install rake using:

gem install --remote rake

but comes up with the following error:

Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/local/lib/ruby/gems/1.8 directory.


Matt.

Last edited by mhillman159 : 19-06-2007 at 06:01.
  Reply With Quote
Old 19-06-2007, 08:20   #2 (permalink)
cam
vague™
 
cam's Avatar
 
Join Date: Mar 2004
Location: Glasgow
Posts: 5,337
run rake db:migrate, like it tells you.

also, even though you don't need to for rake (as you clearly have it installed), remember to use sudo when installing gems on OSX - 'sudo gem install gemname'
__________________
Random goodness at The Blog

  Reply With Quote
Old 19-06-2007, 08:50   #3 (permalink)
mhillman159
Think Different
 
mhillman159's Avatar
 
Join Date: Nov 2006
Location: Wiltshire, UK
Posts: 31
Send a message via MSN to mhillman159 Send a message via Skype™ to mhillman159
Thanks. I have done that and it worked. As I said earlier I have never used this language before so didnt know what is what but thanks for helping even if it was grudged.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8