Blog Archives

Capistrano + RVM = Problem with deployment?

Most of the time when I had issues with deploying on rvm environment it helps you to do the following. Create a file in $home folder touch .rvmrc And paste following code: rvm_trust_rvmrcs_flag=1

Posted in development, ruby on rails

Working OAuth2 with Foursquare on Sinatra

123456789101112131415161718192021222324252627282930313233343536373839404142434445require ‘rubygems’ require ‘sinatra’ require ‘oauth2′ require ‘json’ require ‘net/https’ require ‘foursquare2′ set :port, 80 CLIENT_ID = ‘****************************************************’ CLIENT_SECRET = ‘****************************************************’ CALLBACK_PATH = ‘/callbacks/foursquare’ def client   OAuth2::Client.new(CLIENT_ID, CLIENT_SECRET,       {:site            => ‘https://foursquare.com/’,

Tagged with:
Posted in development, ruby, ruby on rails, sinatra

Latest eclipse app on Mac OS Lion preference pane

When upgrading to a new eclipse app and selecting existing workspace it makes preference pane unavailable. So to be able to access settings you have to either create a new workspace and migrate projects to a new workspace or remove

Tagged with:
Posted in development, mac os