artemeff / redis

Redis commands for Elixir
MIT License
358 stars 63 forks source link

warning: the dependency :exredis requires Elixir "~> 1.0.0" but you are running on v1.1.1 #47

Closed davidmoshal closed 9 years ago

davidmoshal commented 9 years ago

Wondering how best to handle this (OSX):

warning: the dependency :exredis requires Elixir "~> 1.0.0" but you are running on v1.1.1

artemeff commented 9 years ago

@davidmoshal what version do you use? @kwojtaszek fixed it in master branch.

kwojtaszek commented 9 years ago

@davidmoshal I can confirm that current master branch works correctly with exredis, so either use master branch or wait for exredis release

davidmoshal commented 9 years ago

@artemeff Yuri: I'm just running mix deps.get From the Exredis.Mixfile it looks like version 0.2.0:

defmodule Exredis.Mixfile do
  use Mix.Project

  def project do
    [ app: :exredis,
      version: "0.2.0",
      elixir: "~> 1.0.0",
      name: "exredis",
      source_url: "https://github.com/artemeff/exredis",
      homepage_url: "http://artemeff.github.io/exredis",
      deps: deps,
      package: package,
      description: "Redis client for Elixir",
      docs: [readme: true, main: "README.md"] ]
  end

  # Configuration for the OTP application
  def application do
    [applications: [:eredis]]
  end

  # Dependencies
  defp deps do
    [{:eredis,  ">= 1.0.8"}]
  end

  defp package do
    [
      contributors: ["Yuri Artemev", "Joakim Kolsjö", "lastcanal", "Aidan Steele",
        "Andrea Leopardi", "Ismael Abreu", "David Rouchy", "David Copeland",
        "Psi", "Andrew Forward", "Sean Stavropoulos"],
      licenses: ["MIT"],
      links: %{"GitHub" => "https://github.com/artemeff/exredis"}
    ]
  end
end
davidmoshal commented 9 years ago

@kwojtaszek Is there a way to specify master branch with Mix? Or, do I manually download Exredis master branch and copy it to deps directory? Thanks Dave ps: am new to Elixir, trying it out on existing app which uses Redis pubsub to route json messages between NodeJS and Groovy applications.

artemeff commented 9 years ago

@davidmoshal yup.

defp deps do
  [{:exredis, github: "artemeff/exredis"}]
end
davidmoshal commented 9 years ago

Thanks, works for me. Great dependency management system.