dbadmin icon indicating copy to clipboard operation
dbadmin copied to clipboard

Error starting.

Open rchrd2 opened this issue 12 years ago • 0 comments

Hello, this tool looks useful, and I wanted to try it out, but ran into an issue after installing.

My Ruby experience is close to none, because I mostly use python. I tried installing with this command gem install --no-user-install --install-dir=/usr/lib/ruby/gems/1.8 --bindir=/usr/bin dbadmin, but now get this error on startup.

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /usr/lib/ruby/gems/1.8/gems/dbadmin-0.1.0/lib/dbadmin.rb:55: syntax error, unexpected ':', expecting ')' (SyntaxError)
    Rack::Server.start(options.merge(app: self))
                                         ^
/usr/lib/ruby/gems/1.8/gems/dbadmin-0.1.0/lib/dbadmin.rb:101: syntax error, unexpected $end, expecting kEND
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/dbadmin-0.1.0/bin/dbadmin:3
    from /usr/bin/dbadmin:19:in `load'
    from /usr/bin/dbadmin:19

My ruby version is:

ruby --version
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

Maybe you can shed some light?

rchrd2 avatar Aug 06 '13 23:08 rchrd2