Monthly Archives: May 2015

Google App Engine Upload Error – This application does not exist

If you started getting the error “This application does not exist” after you started using OAuth to authenticate and upload your application, This is the solution.

Cause – Its only saving the OAuth token for a single account. So if you like me is using multiple app engine accounts you might want to follow this instructions.

App engine launcher saves the OAuth token on your home folder and its named –

.appcfg_oauth2_tokens

You need to find and delete this file. On windows machines it will be under C:\Users\admin or C:\Users\[Username]

Advertisements

Installing Zurb Foundation gem on Ruby on Rails

HI guys, today I am going to list down the steps on how to install foundation (http://foundation.zurb.com/) for a ruby on rails projects.

1. Go to your rails project folder and open the Gemfile. And add the following line,

gem <span class="string">'foundation-rails'</span>

2. then go to terminal and run the following command from your project folder,

rails g foundation:install

This should add foundation into your project. More info on the installation can be found here. But like me if you get an error when you go to your project on the browser saying,

Invalid CSS after "...ules: $modules ": expected "}", was "!global;"

you might want to do some adjustments, because above error is caused by a sass version included in ruby on rails by default and the sass version on foundation being mismatched. So you might want to specify an earlier version of foundation like following on your GemFile,

gem 'sass-rails', '&gt;= 4.0.4'

gem 'foundation-rails', '5.4.5'

More info on fixing this error can be found here.