oscardelben/RailsOneClick

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

Opened this issue · 10 comments

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$ 

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

> ls
> ls bin
> which ruby
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$

Thanks, I'll take a look

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.

This is what it does:

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

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$ 

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?

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

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

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