Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Mina on Debian #186

Closed
schikulski opened this issue May 5, 2014 · 4 comments
Closed

Installing Mina on Debian #186

schikulski opened this issue May 5, 2014 · 4 comments

Comments

@schikulski
Copy link

Hi! I'm trying to install Mina on my Debian server. I've installed rubygems via apt-get and installed mina using gem install mina.

But there seems to be something with Rake missing. So I tried install rake with gem install rake, but I still get this same error:

mina init 
mina aborted!
SyntaxError: /home/simen/joss_dev_sites/elverum-kulturskole/config/deploy.rb:25: syntax error, unexpected kIN
    on roles(:app), in: :sequence, wait: 5 do
                      ^
/var/lib/gems/1.8/gems/mina-0.3.0/bin/mina:46
/var/lib/gems/1.8/gems/mina-0.3.0/bin/mina:26
/var/lib/gems/1.8/gems/mina-0.3.0/bin/mina:25:in `instance_eval'
/var/lib/gems/1.8/gems/mina-0.3.0/bin/mina:25
(See full trace by running task with --trace)
Error loading Rakefile!
mina aborted!
There may be a problem with config/deploy.rb and/or Rakefile
/var/lib/gems/1.8/gems/mina-0.3.0/bin/mina:49
/var/lib/gems/1.8/gems/mina-0.3.0/bin/mina:26
/var/lib/gems/1.8/gems/mina-0.3.0/bin/mina:25:in `instance_eval'
/var/lib/gems/1.8/gems/mina-0.3.0/bin/mina:25
(See full trace by running task with --trace)
@schikulski
Copy link
Author

My bad. If anyone are experiencing the same problem, make sure you don't already have a config/deploy.rb. I was working on a WordPress installation with that file already present(but for Capistrano). Deleting the file fixed the problem.

@rstacruz
Copy link
Member

rstacruz commented May 5, 2014

Thanks for the insight!

On a separate note, that looks like an old Ruby version. What version of Debian is this?

@schikulski
Copy link
Author

That's odd. Running Wheezy(7), fully updated:

# uname -a
Linux jossbox 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
# gem -v
1.8.24

@schikulski
Copy link
Author

There were actually some issues using the old ruby version and Mina. So I updated ruby using RVM instead, and now Mina is working perfectly(ruby 2.1.1p76)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants