Rake db:migrate rake gems:install
Home
Having a crap time with rails this afternoon...
Trying some rails stuff, failing... I want to use oauth, trying to install the gems, it seems to be mostly working, but not. Run some code "you need to install this first", install that, "successfully installed that", run some code "you need to install this first"... I JUST DID, you told me I did:$ rake db:migrate
(in /Users/paulclarke/my-app)
Missing these required gems:
oauth
You're running:
ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
rubygems 1.3.7 at /Users/paulclarke/.bundle/ruby/1.8
Run `rake gems:install` to install the missing gems.
$ rake gems:install
(in /Users/paulclarke/my-app)
gem install oauth
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the ./Object directory.
Successfully installed oauth-0.4.2
1 gem installed
Installing ri documentation for oauth-0.4.2...
gem install authlogic-oauth
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the ./OauthCallbackFilter directory.
Successfully installed authlogic-oauth-1.0.8
1 gem installed
Installing ri documentation for authlogic-oauth-1.0.8...
$ rake db:migrate
(in /Users/paulclarke/my-app)
Missing these required gems:
oauth
You're running:
ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
rubygems 1.3.7 at /Users/paulclarke/.bundle/ruby/1.8
Run `rake gems:install` to install the missing gems.
$
WTF am I doing wrong? I see the permissions error there, I think it's just about installing documentation though... it says it successfully installed oauth.
Just writing all this out has given em an idea, to run through everything I can find changing permissions... I have obviously installed some things as root on this machine and so logged in as me I'm having problems. chmod 777 everything!
Yeah this is one of those posts...
pauly :: 2010 :: Comment / reply
Over to you, discussion about anything local, but please be considerate... Folkestone on TV, Kent gigs, Find a flatmate, rent a room, property queries, current news, what's new, local events, for sale, local services, what I like about Folkestone, ask questions, offer advice, plug yourself... the more it's used the more useful a resource it will become. If you want a gig listed click here to add it (fixed now!), or just click here to post a message...
Also from the same week
Some more blog posts from the same week as .
RE: Bar Vasa closing... again? [Tuesday 31 August 2010]
Is that Vasa or Vassa? Are they the same place? Speaking of Bar Vasa rumours... [Tuesday 31 August 2010]
Chambers listings should be added to the site starting this week [Friday 3 September 2010]
RE: Bar Vasa closing... again? [Friday 3 September 2010]
buisness as uaual [Friday 3 September 2010]
Bar Vasa opening a cocktail bar on the first floor? [Saturday 4 September 2010]
Bar Vasa closing... again? I heard this rumour today, anyone else? [Thursday 22 July 2010]
RE: Bar Vasa closing... again? [Saturday 24 July 2010]

