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

Error in create script: undefined method 'realpath' #8

Open
paulbatum opened this issue Nov 10, 2013 · 4 comments
Open

Error in create script: undefined method 'realpath' #8

paulbatum opened this issue Nov 10, 2013 · 4 comments

Comments

@paulbatum
Copy link

Pauls-MacBook-Pro-2:Projects pbatum$ git clone https://github.com/paulcbetts/starter-mobile.git
Cloning into 'starter-mobile'...
remote: Counting objects: 894, done.
remote: Compressing objects: 100% (495/495), done.
remote: Total 894 (delta 443), reused 829 (delta 382)
Receiving objects: 100% (894/894), 19.81 MiB | 1.09 MiB/s, done.
Resolving deltas: 100% (443/443), done.
Pauls-MacBook-Pro-2:Projects pbatum$ cd starter-mobile/
Pauls-MacBook-Pro-2:starter-mobile pbatum$ script/create StarterTestPb
script/create:34: undefined method `realpath' for File:Class (NoMethodError)
    from script/create:34:in `map'
    from script/create:34

WAT

Maybe this is the problem?

Pauls-MacBook-Pro-2:starter-mobile pbatum$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
@paulbatum
Copy link
Author

Yeah this worked once I ran it with ruby 2.0. Maybe check the ruby version number at the start of your script?

@anaisbetts
Copy link
Owner

@paulbatum I'll probably just switch it with Pathname so it works everywhere. You gotta get on that Mavericks action :)

@paulbatum
Copy link
Author

Ruby isn't a great option given that some Xamarin users run on Windows now.
Maybe you should stick node.exe in the repo and use that instead?

On Sunday, November 10, 2013, Paul Betts wrote:

@paulbatum https://github.com/paulbatum I'll probably just switch it
with Pathname so it works everywhere. You gotta get on that Mavericks
action :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-28153801
.

@anaisbetts
Copy link
Owner

Ugh. Sounds like a horrible life. People can install Ruby

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