[Rails] Re: couldn't parse YAML at line 17 column 14

2011-02-03 Thread Solrac Caritas
there is a post there about my problem: http://blog.segment7.net/2011/01/31/rubygems-1-5 --- RubyGems 1.5.0 seems to force use of the psych yaml parser if you have it in your system. If you are having trouble parsing some yaml files, or if you have yaml files which use merge

[Rails] couldn't parse YAML at line 17 column 14

2011-02-02 Thread Solrac Caritas
After an update... do you have a idea? /home/dhe/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/psych.rb:148:in `parse' /home/dhe/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/psych.rb:148:in `parse_stream' /home/dhe/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/psych.rb:119:in

[Rails] Re: LoadError html/sanitizer

2011-01-19 Thread Solrac Caritas
I found it on git https://github.com/carlhuda/bundler/issuesearch?state=open&q=sanitizer#issue/967 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrai

[Rails] Re: LoadError html/sanitizer

2011-01-19 Thread Solrac Caritas
Thank But how to downgrade Bundler? The bugs is reported on Github? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To un

[Rails] LoadError html/sanitizer

2011-01-19 Thread Solrac Caritas
Hi, do you have a idea? This problem appeared today, but yesterday it was ok, and I changed nothing... LoadError in Demandes#show Showing /home/caritas/public_html/web_gdc/app/views/demandes/show.html.erb where line #12 raised: no such file to load -- html/sanitizer Extracted source (around lin

[Rails] Re: Form_for problem after upgrading

2010-10-27 Thread Solrac Caritas
> <%= form_for @user_session, :url => user_session_path do |f| %> > Email > <%= text_field_tag :login %> > Password > <%= f.password_field :password %> > Remember Me > <%= f.check_box :remember_me %> > <%= f.submit "Login" %> > <% end %> replace <%= text_field_tag :login %> with

[Rails] Re: Passenger is not working

2010-10-25 Thread Solrac Caritas
http://www.dimitri.eu/configure-ruby-on-rails-with-phusion-passenger-mod_rails/ gem install passenger passenger-install-apache2-module cd /etc/apache2/mods-available sudo touch passenger.load sudo vi passenger.load LoadModule passenger_module /home/caritas/.rvm/gems/ruby-1.9.2-p0/gems/passen

[Rails] Re: Problem while installing passenger for apache

2010-10-19 Thread Solrac Caritas
you nedd to recompile the ruby ssl module. if you have installed ruby with rvm: cd $HOME cd .rvm/src/ruby-1.9.2-p0/ext/openssl ruby extconf.rb make make install -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rail

[Rails] Re: Rails2/Rails3 nested form, fields_for not displayed

2010-10-04 Thread Solrac Caritas
> > <% f.fields_for :author do |author_form|%> > > <%= author_form.label :name%> > <%= author_form.text_field :name %> > > <% end %> replace <% f.fields_for :author do |author_form|%> with <%= f.fields_for :author do |author_form|%> -- Posted via http://www.ruby-for

[Rails] Re: Changing app from Rails 3 RC to final

2010-09-26 Thread Solrac Caritas
it's very easy you can update your gems in your computer: su cd / gem update gem cleanup gem list (you will see something like this: actionmailer (3.0.0)... in you project directory: vi Gemfile (delete the line with 3.0.0-RC) bundle update gem list -- Posted via http://www.ruby-forum.com/. --

[Rails] Re: Re: Re: I cant use any rails command in my created project WHY!

2010-09-24 Thread Solrac Caritas
Tanawat Limungkura wrote: > Solrac Caritas wrote: >> >> I don't see mysql...what is the output of: >> cd / >> su root >> gem install mysql > > The result is > > ERROR: Error installing mysql: > ERROR: Failed to build gem native extension

[Rails] Re: Re: Re: I cant use any rails command in my created project WHY!

2010-09-24 Thread Solrac Caritas
I don't see mysql...what is the output of: cd / su root gem install mysql -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com.

[Rails] Re: Re: Re: I cant use any rails command in my created project WHY!

2010-09-24 Thread Solrac Caritas
cd / su root (enter your password) gem update gem install mysql gem list -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. T

[Rails] Re: Re: Re: I cant use any rails command in my created project WHY!

2010-09-24 Thread Solrac Caritas
rajeevsharma86 wrote: > you are on linux how did you install rails from which tutorial > > On Fri, Sep 24, 2010 at 4:36 PM, Tanawat Limungkura > wrote: > >> >> Try running `bundle install`. >> >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> any repository >> rubyonrails-talk+un

[Rails] Re: I cant use any rails command in my created project WHY!

2010-09-24 Thread Solrac Caritas
Tanawat Limungkura wrote: > Peter De Berdt wrote: >> On 24 Sep 2010, at 10:59, Tanawat Limungkura wrote: >> >>> I use rails 3.0 In my created dir I tried to use any command of rails >>> just like >>> rails -v but it show me that >>> Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the