Ruby on Rails
Wednesday, February 26, 2014
Hi Colin
rails server
=> Booting WEBrick
=> Rails 3.2.8 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2014-02-27 03:37:20] INFO WEBrick 1.3.1
[2014-02-27 03:37:20] INFO ruby 1.8.7 (2011-06-30) [i686-linux]
[2014-02-27 03:37:25] INFO WEBrick::HTTPServer#start: pid=12143 port=3000
development.log is
Started GET "/assets/rails.png" for 127.0.0.1 at Thu Feb 27 03:44:29 +0100 2014
Connecting to database specified by database.yml
database.yml fragment is
development:
adapter: mysql2
host: <my server ip>
port: 3306
encoding: utf8
reconnect: false
database: rails32801blog_development
pool: 5
username: <my username>
password: <my password>
socket: /var/lib/mysql/mysql.sock
browser idle at http://0.0.0.0:3000/
can't see rails logo (can't load assets) of welcome aboard page
can't hit url http://0.0.0.0:3000/rails/info/properties
plus - can't properly shutdown webrick with ctrl-C
setup is ruby 1.8.7 and rails 3.2.8
same app with different setup (ruby 1.9.2 and rails 3.2.8) is fully working, so I think issue is related to ruby 1.8.7 + rails 3.2.8 setup
Il giorno mercoledì 26 febbraio 2014 21:53:03 UTC+1, Colin Law ha scritto:
-- rails server
=> Booting WEBrick
=> Rails 3.2.8 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2014-02-27 03:37:20] INFO WEBrick 1.3.1
[2014-02-27 03:37:20] INFO ruby 1.8.7 (2011-06-30) [i686-linux]
[2014-02-27 03:37:25] INFO WEBrick::HTTPServer#start: pid=12143 port=3000
development.log is
Started GET "/assets/rails.png" for 127.0.0.1 at Thu Feb 27 03:44:29 +0100 2014
Connecting to database specified by database.yml
database.yml fragment is
development:
adapter: mysql2
host: <my server ip>
port: 3306
encoding: utf8
reconnect: false
database: rails32801blog_development
pool: 5
username: <my username>
password: <my password>
socket: /var/lib/mysql/mysql.sock
browser idle at http://0.0.0.0:3000/
can't see rails logo (can't load assets) of welcome aboard page
can't hit url http://0.0.0.0:3000/rails/info/properties
plus - can't properly shutdown webrick with ctrl-C
setup is ruby 1.8.7 and rails 3.2.8
same app with different setup (ruby 1.9.2 and rails 3.2.8) is fully working, so I think issue is related to ruby 1.8.7 + rails 3.2.8 setup
Il giorno mercoledì 26 febbraio 2014 21:53:03 UTC+1, Colin Law ha scritto:
On 26 February 2014 16:34, Azroth <michelino...@gmail.com> wrote:
> got a strange issue on my development local machine, webrick idle
> http://0.0.0.0:3000 at .../statuses url link of rails welcome aboard page,
> and I can't see rails logo, seems a mysql2 connection fault, from my local
> machine I hit a remote mysql database, but I verified mysql remote access to
> my remote server, it's ok, verified socket, ok, no firewall blocks, etc.
>
> and when I try to close webrick can't shutdown with ctrl-C, I have to hit
> ctrl-C and ctrl-Z to shutdown correctly.
>
> OS independent, same issue, same setup - Aptana Studio 3, rails 3.2.8, ruby
> 1.8.7 - on CentOS 6.5 and Ubuntu 12.04
>
> BUT
> NO ISSUE with a different setup - rails 3.2.8 and ruby 1.9.2 (or 2.x) -
I think you need to give us some clues. I don't understand what you
mean by 'can't see rails logo'. Are there any errors in the server
terminal window or the rails log?
Colin
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 emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c4d58bd8-a0a0-4a3a-86ff-67610f50cdff%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment