[Rails] Re: Learning Rails - Advice for development environment

2013-03-24 Thread Tommy Pollák
Yes, it seems that Linux's (Ubuntu in my case) battery management is not as good as that of Windows 7. I am running 12.04 and W7 as alternative OS on a Dell XPS. As an old Unix developer I use emacs on Ubuntu (and xemacs on W7) as editor. It has nice modes for a lot of programming languages. D

[Rails] Re: Help to send email required

2013-03-24 Thread Tommy Pollák
:26 UTC+1, Tommy Pollák wrote: > > I tried to set up a different mail account I have. The response was > different "Connection refused - connect(2)". This is OK, I believe, because > my ISP does not allow mail relay. > > So obviously I get in touch with my ISP but am unable t

[Rails] Re: Help to send email required

2013-03-24 Thread Tommy Pollák
0:15 UTC+1, jle...@socit.co.uk wrote: > > Hi, Sorry I do not know. This also confused me. Try using a name > associated with your email service provider. It should not have anything > to do with where your app server is running from. > > John > > On Sunday, 24 March 201

[Rails] Re: Help to send email required

2013-03-24 Thread Tommy Pollák
bsite", > :port => 465, > :name=> 'youremailaddress', > :password => 'accountpassword', > :authentication => :login, > :enable_starttls_auto => false } > > Lubuntu

[Rails] Help to send email required

2013-03-24 Thread Tommy Pollák
>From a Rails application containing email addresses I want to send emails. Therefore I am testing sending emails. It does not work though I have read a lot about how to do it. I guess my .../config/initializers/mail.rb is wrong. I have based the settings on the answers here but I do not unders

[Rails] Re: file sqlite3.h missing

2013-03-23 Thread Tommy Pollák
Thanks! Worked perfectly. Really astonishing fast help! On Saturday, 23 March 2013 16:59:36 UTC+1, Tommy Pollák wrote: > > When trying to generate a new Rails application (to test email posting) I > receive the message: > > Installing sqlite3 (1.3.7) with native extensions &

Re: [Rails] file sqlite3.h missing

2013-03-23 Thread Tommy Pollák
Sorry, forget to mention this, Ubuntu 12.04. On Saturday, 23 March 2013 17:04:29 UTC+1, Colin Law wrote: > > On 23 March 2013 15:59, Tommy Pollák > > > wrote: > > When trying to generate a new Rails application (to test email posting) > I > > receive the message

[Rails] file sqlite3.h missing

2013-03-23 Thread Tommy Pollák
When trying to generate a new Rails application (to test email posting) I receive the message: Installing sqlite3 (1.3.7) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/*/.rbenv/versions/1.9.3-p286/bin/ruby extconf.rb che

[Rails] Re: gem install fails so no installation of Rails

2012-11-10 Thread Tommy Pollák
No, the question is not silly at all. Actually, when I presented this problem in an Ubuntu forum I asked it myself. And, yes, uninstalling and reinstalling ruby 1.9.3-p286 solved the problem. Thank you very much! Den lördagen den 10:e november 2012 kl. 17:00:21 UTC+1 skrev Sam Pizzey: > > Pardon

[Rails] gem install fails so no installation of Rails

2012-11-10 Thread Tommy Pollák
On Ubuntu 12.04 trying to install Rails with $ gem install Rails fails with ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand Ruby was installed with rbenv. More info:

[Rails] Re: uninitialized constant ActionController::Flash::FlashHash [NameError])

2012-07-25 Thread Tommy Pollák
Thanks! Seems your description is relevant, see answer to previous advice. Den onsdagen den 25:e juli 2012 kl. 11:22:14 UTC+2 skrev Frederick Cheung: > > > On Monday, July 23, 2012 9:43:49 PM UTC+1, Tommy Pollák wrote: > > > The clue is this > > > ActionDispatch::S

Re: [Rails] uninitialized constant ActionController::Flash::FlashHash [NameError])

2012-07-25 Thread Tommy Pollák
Thanks! Works perfectly! Den onsdagen den 25:e juli 2012 kl. 09:19:02 UTC+2 skrev Colin Law: > > On 23 July 2012 21:43, Tommy Pollák wrote: > > My application, a very simple general ledger, that worked very well > until > > June 26 does not work any longer. It is used und

[Rails] uninitialized constant ActionController::Flash::FlashHash [NameError])

2012-07-24 Thread Tommy Pollák
My application, a very simple general ledger, that worked very well until June 26 does not work any longer. It is used under Ubuntu 12.04 and I believe there was a Ruby update after that. What happens? When I try to start the appIication I get the following output in my web browser: ActionDis