[Rails] Paperclip permission denied error

2010-04-03 Thread Chris Mentch
I am hoping someone could shed some light on this problem. I am setting up a new server to host a Rails app and it is almost done. The only error I'm getting is permission denied when the Paperclip plugin uploads the image and attempts to move it to its final location. It can upload to the temp

[Rails] Re: Re: ERROR NoMethodError: private method `gsub!' called

2010-03-18 Thread Chris Mentch
As much of the trace as I can get from my Windows command prompt. It doesn't log this to log/development.log. You'll see GET calls and then the 500 error followed by the private method `gsub!' error message repeatedly. Seems to affect all of the static files---stylesheets, javascripts,

[Rails] Re: Re: ERROR NoMethodError: private method `gsub!' called

2010-03-18 Thread Chris Mentch
Colin Law wrote: You can tell whether it changed anything by checking your current version against the version in your version control repository. If you are not using one (git for example) start by setting one up. When messing about upgrading rails and so on you need to be able to track

[Rails] Re: Re: Re: ERROR NoMethodError: private method `gsub!' called

2010-03-18 Thread Chris Mentch
Out of interest have you tried mongrel? script/server mongrel Otherwise I am out of my depth I am afraid. Colin Well, I executed gem install mongrel, then ruby script/server webrick and everything is loading!! What a bad problem with webrick. My staging server is mongrel, but my

[Rails] Re: Re: Re: Re: ERROR NoMethodError: private method `gsub!' called

2010-03-18 Thread Chris Mentch
Well, I executed gem install mongrel, then ruby script/server webrick and everything is loading!! I presume you mean ruby script/server mongrel Colin Yes... Sorry. Webrick still on the mind. ruby script/server mongrel Works! -- Posted via http://www.ruby-forum.com/. -- You

[Rails] ERROR NoMethodError: private method `gsub!' called

2010-03-17 Thread Chris Mentch
I have just upgraded to Ruby 1.8.7 and Rails 2.2.2. My previous project was at Ruby 1.8.6 and Rails 2.0.2. My platform is Windows and Webrick for development. When I run Webrick, the server starts without error, the application runs, database connections work and I can click through the pages

[Rails] Re: ERROR NoMethodError: private method `gsub!' called

2010-03-17 Thread Chris Mentch
Chris, when you switched your app from 2.0.2 to 2.3.5, did you run 'rake rails:update' in the root of your project? -Conrad It was to 2.2.2 and, yes, I did run 'rake rails:update'. Not sure if it did anything. It didn't give any output and returned to the command prompt. Since I was