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

Didn't work, what can I do to debug? #4

Open
incompl opened this issue Oct 30, 2012 · 10 comments
Open

Didn't work, what can I do to debug? #4

incompl opened this issue Oct 30, 2012 · 10 comments

Comments

@incompl
Copy link

incompl commented Oct 30, 2012

Westvleteren:rails_one_click gsmith$ rails
Rails is not currently installed on this system. To get the latest version, simply type:

    $ sudo gem install rails

You can then rerun your "rails" command.
Westvleteren:rails_one_click gsmith$ 
@oscardelben
Copy link
Owner

Can you do (on that directory) the following commands and paste the output?

> ls
> ls bin
> which ruby

@incompl
Copy link
Author

incompl commented Oct 30, 2012

Westvleteren:rails_one_click gsmith$ ls
readme.txt  ruby
Westvleteren:rails_one_click gsmith$ ls bin
ls: bin: No such file or directory
Westvleteren:rails_one_click gsmith$ which ruby
/usr/bin/ruby
Westvleteren:rails_one_click gsmith$

@oscardelben
Copy link
Owner

Thanks, I'll take a look

@oscardelben
Copy link
Owner

I think the issue here is that you're supposed to open that directory from the RailsOneClick application, which will automatically export the sandboxed ruby interpreter into your shell (this wont work if you cd to that directory manually). This is an usability issue, thanks for the report.

@oscardelben
Copy link
Owner

This is what it does:

cd ~/Documents/rails_one_click; export PATH=~/Documents/rails_one_click/ruby/bin:$PATH; clear

@incompl
Copy link
Author

incompl commented Nov 6, 2012

That directory doesn't exist for me:

Westvleteren:ruby gsmith$ cd ~/Documents/rails_one_click/ruby/
Westvleteren:ruby gsmith$ ls
include lib
Westvleteren:ruby gsmith$ 

@oscardelben
Copy link
Owner

That's interesting. Can you wipe out the whole rails_one_click directory and try to install from scratch, and maybe past the application log from the main screen of Rails One Click to see if we spot anything useful?

@incompl
Copy link
Author

incompl commented Nov 9, 2012

Updated to 1.1.3, it failed, here is the log: https://gist.github.com/4046657

@oscardelben
Copy link
Owner

Thanks, it appears to be a problem with readline. I'll try to investigate.

@incompl
Copy link
Author

incompl commented Nov 19, 2012

I think there may be something f'd up on my machine in general. No idea how to fix it though.

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