rails s err
Opened this issue · 1 comments
Who help me.My system is ubuntu.The err is:
mafuaikai@ubuntu:~/bitcoin-central$ rails s
=> Booting WEBrick
=> Rails 3.1.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in load': /home/mafuaikai/bitcoin-central/config/initializers/will_paginate.rb:5: invalid multibyte char (US-ASCII) (SyntaxError) /home/mafuaikai/bitcoin-central/config/initializers/will_paginate.rb:5: invalid multibyte char (US-ASCII) /home/mafuaikai/bitcoin-central/config/initializers/will_paginate.rb:5: syntax error, unexpected $end, expecting ')' :previous_label => "← #{I18n.t('will_paginate.previous')}", ^ from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in
block in load'
from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in block in load_dependency' from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in
new_constants_in'
from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in load_dependency' from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in
load'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:556:in block (2 levels) in <class:Engine>' from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:555:in
each'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:555:in block in <class:Engine>' from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in
instance_exec'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in run' from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:55:in
block in run_initializers'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in each' from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in
run_initializers'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/application.rb:96:in initialize!' from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in
method_missing'
from /home/mafuaikai/bitcoin-central/config/environment.rb:5:in <top (required)>' from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
require'
from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in block in require' from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in
block in load_dependency'
from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in new_constants_in' from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in
load_dependency'
from /var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in require' from /home/mafuaikai/bitcoin-central/config.ru:4:in
block in
from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in
instance_eval' from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in
initialize'from /home/mafuaikai/bitcoin-central/config.ru:1:in
new' from /home/mafuaikai/bitcoin-central/config.ru:1:in
'from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:40:in
eval' from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:40:in
parse_file'from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:200:in
app' from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands/server.rb:46:in
app'from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:301:in
wrapped_app' from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:252:in
start'from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands/server.rb:70:in
start' from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:54:in
block in <top (required)>'from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in
tap' from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in
<top (required)>'from script/rails:6:in
require' from script/rails:6:in
'Please help me,Thanks.
Hello!!
I have a working "Bitcoin Central" source code, but it is a fork, called
Bitfication, check it out!
https://bitbucket.org/tmartinx/bitfication
Best!
Thiago
On 7 December 2013 13:11, mafuaikai notifications@github.com wrote:
Who help me.My system is ubuntu.The err is:
mafuaikai@ubuntu:~/bitcoin-central$ rails s
=> Booting WEBrick
=> Rails 3.1.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in
load':
/home/mafuaikai/bitcoin-central/config/initializers/will_paginate.rb:5:
invalid multibyte char (US-ASCII) (SyntaxError)
/home/mafuaikai/bitcoin-central/config/initializers/will_paginate.rb:5:
invalid multibyte char (US-ASCII)
/home/mafuaikai/bitcoin-central/config/initializers/will_paginate.rb:5:
syntax error, unexpected $end, expecting ')'
:previous_label => "← #{I18n.t('will_paginate.previous')}",
^
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:inblock
in load'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in
block in load_dependency'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in
new_constants_in'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in
load_dependency'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in
load'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:556:in block
(2 levels) in class:Engine'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:555:in
each'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:555:in block
in class:Engine'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in
instance_exec'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in
run'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:55:inblock
in run_initializers'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in
each'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in
run_initializers'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/application.rb:96:in
initialize!'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in
method_missing'
from /home/mafuaikai/bitcoin-central/config/environment.rb:5:in <top
(required)>'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
require'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
block in require'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:inblock
in load_dependency'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in
new_constants_in'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in
load_dependency'
from
/var/lib/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
require'
from /home/mafuaikai/bitcoin-central/config.ru:4:inblock in '
from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in
instance_eval'
from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in
initialize'
from /home/mafuaikai/bitcoin-central/config.ru:1:in new'
from /home/mafuaikai/bitcoin-central/config.ru:1:in'
from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:40:in eval'
from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:40:in
parse_file'
from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:200:in app'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands/server.rb:46:in
app'
from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:301:in
wrapped_app'
from /var/lib/gems/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:252:instart'
from
/var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands/server.rb:70:in
start'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:54:inblock
in '
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in
tap'
from /var/lib/gems/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in'
from script/rails:6:in require'
from script/rails:6:in'
Please help me,Thanks.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/104
.