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

Possible problem in setup_environment.bat #95

Closed
cqcn1991 opened this issue Apr 22, 2017 · 1 comment
Closed

Possible problem in setup_environment.bat #95

cqcn1991 opened this issue Apr 22, 2017 · 1 comment

Comments

@cqcn1991
Copy link

Here is the problem that I have:
I uninstalled previous RailsInstaller on windows, and download and installed the new version (so I can upgrade to Rails 5).

After install, I open the Command Prompt with Ruby and Rails as ususal, and run bundle install, the system tells me it can't find it. As I notice, it should be the problem in setup_environment.bat

qq

Here the chinese simply tells that it can't find the path

I take look at the setup_environment.bat, I think the problem might be this line

SET PATH=%RUBY_DIR%\bin;%RUBY_DIR%\lib\ruby\gems\1.9.1\bin;%ROOT_DIR%\DevKit\bin;%PATH%

SET PATH=%RUBY_DIR%\bin;%RUBY_DIR%\lib\ruby\gems\1.9.1\bin;%ROOT_DIR%\DevKit\bin;%PATH%

Since we don't have 1.9.1 and the bin at all.

@sylhare
Copy link

sylhare commented May 18, 2017

Hi!
I've downloaded it as well and it I had the same kind of errors (for rails.bat and bundle.bat) solved thanks to #72 and #70.

But I'm wondering, if there's a way to correct that so we don't run into issue #70 and #72 when installing it. Like here, the version 1.9.1 should not be hardcoded.

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