Re: [Rails] RMagick Error

2014-06-24 Thread Duong vong veasna
Oh sorry i have install successfully ImageMagick in my pc. in the gemgile i'm use gem 'rmagick', require => 'RMagick' infect it work properly in localhost, but when i upload myapp into heroku it doesn't show the record that i have been enter in localhost. and one more when i input on heroku web s

Re: [Rails] Trouble with step 1.2.5 of Ruby on Rails tutorial, booting webrick and connecting to localhost:3000

2014-06-24 Thread Antônio Augusto Sousa Britto
Look at what the error is telling you: C:/Sites/rails_projects/first_app/config/environments/development.rb:1:in `': undefined method `configure' for # (NoMethodError) Generally, the exception is "*NoMethodError" *means that the interpreter was not able to find a method (in this case "*configure

[Rails] Twitter Authentication Error

2014-06-24 Thread Rekha Benada
Hi, I am developing a Ruby on Rails application for twitter users and I am using mongo for database I followed this post http://www.sitepoint.com/ruby-social-gems-twitter/ It worked fine when I used default database (Sqlit3) but with mongodb at the end it is showing this error and I didnt fin

[Rails] Trouble with step 1.2.5 of Ruby on Rails tutorial, booting webrick and connecting to localhost:3000

2014-06-24 Thread Will Acheson
Hello everyone, I am a total beginner to ruby and rails, but am really excited about learning the environment. I have to say, however, starting up with RoR is certainly most difficult! I am following along the Ruby on Rails tutorial found at railstutorial.org and I have gotten stuck at st

[Rails] Re: Re: Remove Http header response

2014-06-24 Thread Tok L.
Norbert Melzer wrote in post #1150632: > He gets that snippet from another server, the opening does not want to > create a body without headers, he wants to extract the actual body out > of a > full HTTP-response he got from external services. > > So easiest way would be to drop everything before t

Re: [Rails] Re: Remove Http header response

2014-06-24 Thread Norbert Melzer
He gets that snippet from another server, the opening does not want to create a body without headers, he wants to extract the actual body out of a full HTTP-response he got from external services. So easiest way would be to drop everything before the first (and including it) newline, the remainder

Re: [Rails] Re: Remove Http header response

2014-06-24 Thread Colin Law
On 24 June 2014 17:30, Jay Dee wrote: > You may think it is nonsense, W3 think otherwise. Perhaps you should > inform them of their nonsense? > > http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4 > > "message consist of a start-line, *zero* or more header fields" > Since it goes on to sa

[Rails] Re: Remove Http header response

2014-06-24 Thread Jay Dee
You may think it is nonsense, W3 think otherwise. Perhaps you should inform them of their nonsense? http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4 "message consist of a start-line, *zero* or more header fields" -- Posted via http://www.ruby-forum.com/. -- You received this message

Re: [Rails] Unable to set up Rails app by Apache on Mac OS X 10.9.3

2014-06-24 Thread Hassan Schroeder
On Mon, Jun 23, 2014 at 8:20 AM, Liz Huang wrote: > I just upgrade a few apps from Rails 2.3.18 to Rails 4.0.4 and make sure > the apps are running on WEBrick. I follow the steps I have done to set up > apps by Apache on Snow Leopard, first install passenger and add the > following to /etc/apache

[Rails] Re: Unable to set up Rails app by Apache on Mac OS X 10.9.3

2014-06-24 Thread Liz Huang
I checked error log in apache2 folder, it is empty. I wonder if it is related to permission for folders or files as I am not using root, but admin account to develop rails projects. Liz On Tuesday, June 24, 2014 10:11:30 AM UTC-4, Jim wrote: > > > and couldn't display http://localhost/most/rann

[Rails] Re: Unable to set up Rails app by Apache on Mac OS X 10.9.3

2014-06-24 Thread Liz Huang
Thanks! I will try and see if I can figure it out, I use rbenv to manage ruby versions. Best, Liz On Tuesday, June 24, 2014 10:11:30 AM UTC-4, Jim wrote: > > > and couldn't display http://localhost/most/rannumgenerator/index >> (rannumgenerator is controller I generated in most project).

Re: [Rails] Unable to set up Rails app by Apache on Mac OS X 10.9.3

2014-06-24 Thread Liz Huang
Thanks! I will check heroku. Liz On Monday, June 23, 2014 3:32:08 PM UTC-4, Sampath Weerasinghe wrote: > > > i used to go through this kind of drama, then one day someone told about > heroku. > > -Sam > > > On Mon, Jun 23, 2014 at 8:20 AM, Liz Huang > wrote: > >> >> >> Hi, >> >> I just upgra

[Rails] Re: Unable to set up Rails app by Apache on Mac OS X 10.9.3

2014-06-24 Thread Jim
> and couldn't display http://localhost/most/rannumgenerator/index > (rannumgenerator is controller I generated in most project). > > Wonder if something that I should do for Mac Mavericks or some setting for > Apache that I am not aware? > You may need to look in your error log (probably

[Rails] Calendar Rails 4

2014-06-24 Thread Rodrigo Sanguanini
Hello. I want to build a week calendar (with options to toggle bewteen month and day visions) in a Rails 4 app. I know that I can use a JS calendar, like FullCalendar, but, I dont know how to do this and if this will overload the client-side when i get a lot of events. I tried to search about i

[Rails] Re: why does installing ruby 2.1.0 copy to /etc/openssl/cert.perm?

2014-06-24 Thread Michał Papis
mike2r you were quite close with the guess, RVM updates this certificates based on a path from a binary ruby, now that path is hard coded within the ruby as it is statically linked to openssl - usually you should not use static linking, but in that case it was the only option to allow providing

[Rails] Re: How can I do disable email delivery in development mode?

2014-06-24 Thread Max
> I recommend using the letter opener gem. it's fantastic for development - > check it out: https://github.com/ryanb/letter_opener -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving

[Rails] Re: Integers not being stored in PostgreSQL (9.3) array via simple form (Rails 4.1.1)

2014-06-24 Thread Frederick Cheung
On Monday, June 23, 2014 10:12:04 PM UTC+1, Chris Butcher wrote: > > <%= f.input :impact, required: false, :error => false, input_html: { > class: 'form-control' } %> > > > <%= f.input :likelihood, required: false, :error => false, input_html: > { class: 'form-control' } %> > >

Re: [Rails] RMagick Error

2014-06-24 Thread Colin Law
On 24 June 2014 03:04, Duong vong veasna wrote: > Dear RoR Developers, > I have an error when i install RMagick, i have install ImageMagick already > but when i use it in gemfile gem install rmagick. i got error. > > ERROR: Error installing rmagick: > ERROR: Failed to build gem native ex