[Rails] Re: -bash: ruby: command not found

2012-11-04 Thread Johann Aman
hey, @keerthi! when I installed ruby 1.9 on Debian 6 box, I encountered same problem, because on Debian Ruby executable called ruby1.9.1, so I just symlinked it: # ln -s /usr/bin/ruby1.9.1 /usr/bin/ruby maybe this is related to your issue, try to type ruby^TAB on your console On Thursday,

[Rails] Re: Could not find a JavaScript runtime -- Bundler Rbenv

2012-05-04 Thread Johann Aman
AFAIK execjs and rubyracer are not JS runtimes themselves, only wrappers (though I may be wrong!). I got this error too, installed NodeJS on my server, and everything worked perfectly, so I made a conclusion, that NodeJS is suitable JS runtime for Rails:))) On May 3, 9:40 pm, Ari King

[Rails] Re: Problems with pg 0.13.0 gem

2012-02-14 Thread Johann Aman
thank you, kennyj, I already installed it:) On Feb 13, 4:58 pm, kennyj ken...@gmail.com wrote: Dear, Johann Aman pg gem 0.13.1 was released. And, the bahavior was changed. You can use it ! Please see alsohttps://github.com/rails/rails/pull/5002. On 2月12日, 午前1:09, kennyj ken...@gmail.com

[Rails] Problems with pg 0.13.0 gem

2012-02-11 Thread Johann Aman
after updating pg gem to 0.13.0 got following error on production server (rails 3.2.1 + unicorn): Use of uninitialized PG::Connection. (fatal), here is some trace from unicorn_error.log: /srv/site/shared/bundle/ruby/1.9/gems/activerecord-3.2.1/lib/

[Rails] Re: Low performance

2011-11-05 Thread Johann Aman
1. are you sure all foreign keys are indexed 2. could you also post table structures and queries generated, it might help to understand the problem On Nov 4, 11:35 pm, Edgar Gonzalez li...@ruby-forum.com wrote: i dealing with this code, but i always getting more than 10 seconds to load, i even

[Rails] Re: ROR setup on ubuntu machine

2011-10-12 Thread Johann Aman
I do not think it's ok for a beginner to deal with RVM. amvis, take the latest versions of Ruby (1.9.2) and Rails (3.1) and play with them as if they are the only ones:))) On Oct 12, 12:58 pm, Colin Law clan...@googlemail.com wrote: On 12 October 2011 09:53, 0v3rr!d3 nirvana...@gmail.com wrote: