[Rails] Re: Cannot install ruby-postgres on Windows

2010-02-26 Thread Sébastien Clément
Roger Pack wrote: > >> Try setting the platform to mswin32 and it will hopefully install the >> binary version. >> >> gem install ruby-postgres --platform=mswin32 > > Looks like this only installs binaries for 1.8.6 (same with the pg gem). > If you want to use ruby mingw 1.9.1 with them (which

[Rails] Re: "no such file to load -- gettext/rails" error

2010-02-24 Thread Sébastien Clément
Sharagoz -- wrote: > Did you add init_gettext to the application controller? > class ApplicationController < ActionController::Base > init_gettext "aaa_arb" > end Ok, error from my part, the RAILS_GEM_VERSION variable in environment.rb was left by mistake to 2.0.1. I uninstalled rails 2.0.1, a

[Rails] Re: "no such file to load -- gettext/rails" error

2010-02-24 Thread Sébastien Clément
Sharagoz -- wrote: > Did you add init_gettext to the application controller? > class ApplicationController < ActionController::Base > init_gettext "aaa_arb" > end Hi Sharagoz, I followed the recommendations to migrate to rails 2.3 with gettext here: http://www.yotabanana.com/hiki/ruby-gettext-

[Rails] Re: "no such file to load -- gettext/rails" error

2010-02-23 Thread Sébastien Clément
Sharagoz -- wrote: > Did you add init_gettext to the application controller? > class ApplicationController < ActionController::Base > init_gettext "aaa_arb" > end It was already there. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Goo

[Rails] Re: "no such file to load -- gettext/rails" error

2010-02-23 Thread Sébastien Clément
Sharagoz -- wrote: >> Then I try to restart the server: > You should also add this to the environment file: > config.gem "locale" > config.gem "locale_rails" > config.gem "gettext" > config.gem "gettext_activerecord" > config.gem "gettext_rails" > > Isn't the solution to your error message present

[Rails] Re: "no such file to load -- gettext/rails" error

2010-02-23 Thread Sébastien Clément
Sharagoz -- wrote: >> Do you suggest removing that ? > Yes, and then look at the documentation here for how to set up > gettext_rails: > http://github.com/mutoh/gettext_rails Okay, I commented the line, and here's what I did, according to that page: C:\Windows\system32>gem uninstall gettext Rem

[Rails] Re: "no such file to load -- gettext/rails" error

2010-02-23 Thread Sébastien Clément
Sharagoz -- wrote: > "Rails support has been removed. Rails / ActiveRecord specific code now > lives in locale_rails, gettext_rails and gettext_activerecord." > http://github.com/mutoh/gettext > > Just a wild guess. Thanks Sharagoz, I installed those 3 gems + the locale gem, but the error persi

[Rails] "no such file to load -- gettext/rails" error

2010-02-23 Thread Sébastien Clément
I get the error below when I try to start my server. Here are the versions installed: OS: Windows Server 2008 Ruby: 1.8.7 Gems: actionmailer (2.3.5, 1.3.5) actionpack (2.3.5, 1.13.5) actionwebservice (1.2.5) activerecord (2.3.5, 1.15.5) activeresource (2.3.5) act

[Rails] Re: "no such file to load -- gettext/rails" error

2010-02-23 Thread Sébastien Clément
Sharagoz -- wrote: >> C:/rails_apps/aaa_arb/config/environment.rb:17 > What does this line contain? it contains: require 'gettext/rails' Do you suggest removing that ? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Re: Error starting server

2010-02-22 Thread Sébastien Clément
Sharagoz -- wrote: > http://www.ruby-forum.com/topic/203527#886517 Thank you. -- 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.c

[Rails] Error starting server

2010-02-22 Thread Sébastien Clément
OS: Windows Server 2008 Ruby: ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32] Rails: Rails 2.3.5 Rails app created with: Rails 1.2.5 --- When I try to start the server, a window pops up with the following message: ==

[Rails] Re: Cannot install ruby-postgres on Windows

2010-02-21 Thread Sébastien Clément
Fernando Perez wrote: > ruby-postgres is deprecated. Use "pg" instead. Hello Fernando, It also works with your suggestion, thank you. But then, if both the deprecated ruby-postgres is installed along with pg (see the gem list below), is there any problem ? Will rails use by default pg instead

[Rails] Re: Cannot install ruby-postgres on Windows

2010-02-21 Thread Sébastien Clément
Sharagoz -- wrote: >> You have to install development tools firs > > Hello again. > It is trying to install from source instead of binary, which requires a > compiler. > Try setting the platform to mswin32 and it will hopefully install the > binary version. > > gem install ruby-postgres --platf

[Rails] Cannot install ruby-postgres on Windows

2010-02-19 Thread Sébastien Clément
My system is Windows Server 2008 SP2 Ruby and gem versions: -- C:\Windows\system32>ruby -v ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32] C:\Windows\system32>gem -v 1.3.5 When I try to install the ruby-postgres gem, here is what it says: ---

[Rails] Re: Cannot install Rails with Gems on WIndows

2010-02-19 Thread Sébastien Clément
Sharagoz -- wrote: >> HOMEDRIVE=P: > Your problem is probably there. > Run "set HOMEDRIVE=C:" > To verify that it has been set correctly run "echo %HOMEDRIVE%", which > should now print out "C:". Try to install rails. > > If that enables you to install gems you may want to edit the value > perma

[Rails] Re: Cannot install Rails with Gems on WIndows

2010-02-19 Thread Sébastien Clément
Aldric Giacomoni wrote: > Sébastien Clément wrote: >> I am using Windows Server 2007 SP2 > >> >> Then, starting the DOS console as an administrator and retyping the >> command gives the following result: >> >> - >> C:\&

[Rails] Re: Cannot install Rails with Gems on WIndows

2010-02-19 Thread Sébastien Clément
Sharagoz -- wrote: > The only thing I can think of is that something might be up with an > environment variable somewhere. If you run "set >> c:\dump.txt" from the > command line it will export the variables into that file. Post the > result here if you want us to have a look. Here is the resul

[Rails] Re: Cannot install Rails with Gems on WIndows

2010-02-18 Thread Sébastien Clément
Sharagoz -- wrote: > I definatly should have read your opening post more carefully. I see > that there's a difference between the error message in normal and > elevated mode now, which is weird. > > I would start by uninstalling Ruby and then reinstalling it into a > directory without a space i

[Rails] Re: Re: Cannot install Rails with Gems on WIndows

2010-02-18 Thread Sébastien Clément
Greg Donald wrote: > On Thu, Feb 18, 2010 at 2:25 PM, Sharagoz -- > wrote: >> If that makes no difference, see if you have the same problem with Ruby >> v1.8.6 > > 1.8.7 for windoze is available here: > > http://rubyinstaller.org/download.html > > > > -- > Greg Donald > destiney.com | gregdo

[Rails] Re: Cannot install Rails with Gems on WIndows

2010-02-18 Thread Sébastien Clément
Sharagoz -- wrote: > I definatly should have read your opening post more carefully. I see > that there's a difference between the error message in normal and > elevated mode now, which is weird. > > I would start by uninstalling Ruby and then reinstalling it into a > directory without a space i

[Rails] Re: Cannot install Rails with Gems on WIndows

2010-02-18 Thread Sébastien Clément
I am both administrator on the system and doing "Run as administrator" to launch the DOS console. Sharagoz -- wrote: > Do you mean that you're running it under an administrator account, or > are you right-clicking on the cmd icon and chosing "run as > administrator"? > You need to do the latte

[Rails] Re: Cannot install Rails with Gems on WIndows

2010-02-18 Thread Sébastien Clément
Hi Sharagoz, Please see the second part of my message above. That's exactly what I did, but there's still an error. Sharagoz -- wrote: > Try running the command prompt as administrator -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

[Rails] Cannot install Rails with Gems on WIndows

2010-02-18 Thread Sébastien Clément
I am using Windows Server 2007 SP2 When I try to install Rails using Gems, it gives me the following error in the DOS console: - C:\>gem install rails ERROR: While executing gem ... (Errno::EACCES) Permission denied - C:/Program Files/Ruby19/bin/rake.bat C:\>

[Rails] Re: Cannot install Rails version 1.2.5

2009-07-01 Thread Sébastien Clément
Rick, you nailed it. Many thanks. Seems the - was replaced for another similar character somewhere (I suspect Windows). Now works: c:\testror\TreeSNPs_pub>gem install rails -v1.2.5 --include-dependencies INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies

[Rails] Re: Cannot install Rails version 1.2.5

2009-07-01 Thread Sébastien Clément
I updated gems just in case (gem update --system). After trying to install Rails v1.2.5, I got a different error message, but no more success: C:\testror>gem install rails -v 1.2.5 --include-dependencies INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies

[Rails] Cannot install Rails version 1.2.5

2009-07-01 Thread Sébastien Clément
We have an application that was developed under Rails 1.2.5, and will not work as it is on Rails 2.0 and above. However, when we try to install the earlier Rails version as follows, it forces the installation of v2.3.2: C:\testror>gem install rails -v 1.2.5 --include-dependencies Bulk updating