Magesh Sathasiva pandian wrote in post #987274:
but the file itself is missing in the specified location.
Change database.yml to reflect wherever the socket is on your system
If you do not know how to do that,
try creating another rails app using the command
$ rails new appname -d
Fredrik wrote in post #987341:
Can you connect to mysql outside of rails?
mysql -S /var/run/mysqld/mysqld.sock -u username -p
mysql -h hostname -u username -p password database_name
-Fredrik
thank you guys,
not sure what happend but it is working now..
mysqld.sock is there
Thnsk again
--
Hi peers,
i am facing a problem ..
trying to test a website locally ..some pages work fine but some others
calling MySQl give me the following errors :
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'
what i have noticed :
1- no socket file in the
Frederick Cheung wrote in post #987179:
On Mar 13, 1:55pm, korssane korssane li...@ruby-forum.com wrote:
Hi peers,
i am facing a problem ..
trying to test a website locally ..some pages work fine but some others
calling MySQl give me the following errors :
If by 'calling mysql' you mean
hi ,
thanks for the quick reply .
1)
line 5 has the following :
#init_gettex text_domain
2)
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:161:
def call(*args, block)
evaluate_method(method, *args, block) if
should_run_callback?(*args)
rescue
Frederick Cheung wrote in post #986018:
On 7 Mar 2011, at 03:57, korssane korssane li...@ruby-forum.com wrote:
message : i even tried to force but no way
app/controllers/application.rb:5: undefined method `init_gettex' for
ApplicationController:Class
That mostly sounds like someone has
Colin Law wrote in post #986048:
On 7 March 2011 19:53, korssane korssane li...@ruby-forum.com wrote:
Fred
hi Fred,
what i am supposed to do ?
I think the suggestion is that line 5 of application.rb that has
init_gettex
on it, should be
init_gettext
In an earlier post you showed
Hi ,
I am helping out my friend to maintain his website built using ruby
1.8.6 and rails 2.1.0 ...at lesst that what noticed in the production
side.
i am trying to create the same environment as so mant experts in this
forum suggested to meto avoid conflicts and problems..
i was able to create
Colin Law wrote in post #985599:
On 5 March 2011 03:47, korssane korssane li...@ruby-forum.com wrote:
Hi Folks,
i want to add a table with some currecny exchange values that i have to
update 2-3 times a day.
Do you mean a table on a web page or a table in the database?
the problem is i
HI peers,
not sure if i am in the right place.
I am trying to modify an index.html.erb file with po files en/fr/es
accrdignalybut i can not have the changes reflected on my website.
i have the following in my html.erf file :
%=_('view_finance_content_3_detail_1')%br /
and have the followinf
Hi Folks,
i want to add a table with some currecny exchange values that i have to
update 2-3 times a day.
the problem is i have to update the file and restart the webserver to
have the change taking effect .
Is there another way to do it on a simple file without having to restart
the webserver ?
how can i add a banner into my master page built using Ruby 1.8 ?
Any suggestions are welcome
thank
--
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
Hassan Schroeder wrote in post #983024:
On Mon, Feb 21, 2011 at 5:35 PM, korssane korssane
li...@ruby-forum.com wrote:
i figure out that the website is running using the following :
rails : 2.1.0
ruby 1.8.6
what i have to do in this case..
Update to rails 3 and try to run the website
thanks Hassane,
1 - iam already using Virtual box..lol
--
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 unsubscribe
in your application. If
there is a rails folder it is locked to the version of rails code in
that folder.
B.
On Tue, Feb 22, 2011 at 11:45 AM, korssane korssane
Hi Bryan ,
Thanks for this new suggestion. Unfortunately i see only pluging floder
under Vendor one ...which means the application
Bryan Crossland wrote in post #983170:
Hassan is correct. After getting it to run locally as 2.1 you're going
to want to move the site from Rails 2.1 to 2.2.2 then to 2.3.8 and
then finally 3.* There are going to be a lot of deprecations along the
way that you will need to fix in order to make
hey guys ,
i am trying to run script/server but getting the following error :
***
Booting WEBrick...
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- gettext/rails
(MissingSourceFile)
from
Hi guys,
I am working on importing a website locally to do some changes in a safe
mode.
Is there a way to go to the website itself and check what is the
package ( rails version ,..etc) in order to avoid any conflict?
i need simply to reproduce the same environment as in the production to
be
Colin Law wrote in post #982958:
On 21 February 2011 16:11, korssane korssane li...@ruby-forum.com
wrote:
Hi guys,
I am working on importing a website locally to do some changes in a safe
mode.
Is there a way to go to the website itself and check what is the
package ( rails version
korssane korssane wrote in post #982985:
Colin Law wrote in post #982958:
On 21 February 2011 16:11, korssane korssane li...@ruby-forum.com
wrote:
Hi guys,
I am working on importing a website locally to do some changes in a safe
mode.
Is there a way to go to the website itself and check
20 matches
Mail list logo