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

Already on GitHub? Sign in to your account

Run commands from ruby project root #226

Closed
alex88 opened this Issue Feb 9, 2014 · 1 comment

Comments

Projects
None yet
2 participants

alex88 commented Feb 9, 2014

Is there a way to run commands from the rails root?

It's because in sublime I open my code folder with all my projects in it, each project has a different ruby version, so in this case I'm in code/projectname/spec/controller/users_controller_spec.rb but running the specs from that file I get:

rbenv: rspec: command not found

The `rspec' command exists in these Ruby versions:
  jruby-1.7.9
  rbx-2.2.3

but my .ruby-version file states rbx-2.2.3 so the command isn't run within the project root folder.

Is there a way to solve this?

newmen commented Feb 21, 2015

I suggest #251 pull request for fix it

@alex88 alex88 closed this Apr 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment