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

rake install fails with gemspecs error #191

Closed
prolificcoder opened this issue May 18, 2014 · 12 comments
Closed

rake install fails with gemspecs error #191

prolificcoder opened this issue May 18, 2014 · 12 comments

Comments

@prolificcoder
Copy link

I am trying to run tests on my machine Not to able to make sense of this error.
Do these install gems in a different location?
android_tests smalugu$ rake install --trace
** Invoke install (first_time)
** Execute install
bundle install
There are no gemspecs at /Users/smalugu/code/my-ruby_lib/android_tests.

@prolificcoder
Copy link
Author

I just cloned this and in android_tests dir BTW.

@bootstraponline
Copy link
Member

try
bundle update

@prolificcoder
Copy link
Author

No progress. bundle update also gave the same error. I went up one dir and tried bundle update there, it worked there but coming back to android_tests folder and running rake install gave the same error back

@bootstraponline
Copy link
Member

Should be fixed on master.

@prolificcoder
Copy link
Author

I made some progress with this but I had to add
platformVersion = "4.2"
device = "Android Emulator"
to appium.txt.

Can I make a pull request?

@prolificcoder
Copy link
Author

scratch above comment.

@prolificcoder
Copy link
Author

Sauce labs env variables were being sticky and I had to restart my computer to get these tests going. Now they are running. I wish they discourage this ENV madness..

@bootstraponline
Copy link
Member

If you do:

export SAUCE_USERNAME=""
export SAUCE_ACCESS_KEY=""

then the empty env var will be detected as nil and the tests run locally.

@bootstraponline
Copy link
Member

I pushed a fix which should help with this.

@DylanLacey
Copy link
Contributor

Ruby 1.9 doesn't have the __dir__ variable defined; For 1.9 I found that gemspec path: File.expand_path("#{File.dirname(File.realpath(__FILE__))}../../") worked best.

@bootstraponline
Copy link
Member

107a90c

@DylanLacey
Copy link
Contributor

👍

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

3 participants