On which platform are u? Mac OSX or Windows? It looks like RhoStudio uses system ruby that obsolete. Start RhoStudio form console, it will ask you with ruby to use, select 1.9.3 then.
Its Mac OSX. I know this and i am opening it from the terminal only and RhoElements are working fine. I have made this demo http://docs.rhomobile.com/rhoelements/rhoelements-tutorial and its working but on creating RhoConnect Source Adapter in RHoConnect application, its giving this error.
Can you do the following commands in console from your project directory and post results, pls:
$ ruby -v
$ rhoconnect source <your-adapter-name>
Thanks for the reply.
For $ ruby -v :-
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
and for $ rhoconnect source adapter1 :-
/Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/resolver.rb:287:in `resolve': Could not find gem 'SystemTimer (~> 1.2.3) ruby' in the gems available on this machine. (Bundler::GemNotFound)
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/resolver.rb:161:in `start'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/resolver.rb:128:in `block in resolve'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/resolver.rb:127:in `catch'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/resolver.rb:127:in `resolve'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/definition.rb:192:in `resolve'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/definition.rb:127:in `specs'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/environment.rb:27:in `specs'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.6/lib/rubygems-bundler/noexec.rb:41:in `candidate?'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.6/lib/rubygems-bundler/noexec.rb:60:in `setup'
from /Users/training/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.6/lib/rubygems-bundler/noexec.rb:75:in `<top (required)>'
from /Users/training/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from /Users/training/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from /Users/training/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /Users/training/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:9:in `<main>'
Post output of the this command pls
$ bundle show
If you see SystemTimer line there, then your Gemfile.lock outdated. In that case delete it and run "bundle install"
I have solved my problem. Actually i have two versions of xcode installed on my mac i.e. 4.2 and 4.5 and the Xcode4.2 was set in the terminal. That's why this issue was occurring.
Thanks for your cooperation.