RailsOneClick icon indicating copy to clipboard operation
RailsOneClick copied to clipboard

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

Open incompl opened this issue 13 years ago • 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$ 

incompl avatar Oct 30 '12 16:10 incompl

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

> ls
> ls bin
> which ruby

oscardelben avatar Oct 30 '12 18:10 oscardelben

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$

incompl avatar Oct 30 '12 18:10 incompl

Thanks, I'll take a look

oscardelben avatar Oct 30 '12 20:10 oscardelben

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 avatar Nov 04 '12 18:11 oscardelben

This is what it does:

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

oscardelben avatar Nov 04 '12 18:11 oscardelben

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$ 

incompl avatar Nov 06 '12 15:11 incompl

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?

oscardelben avatar Nov 07 '12 23:11 oscardelben

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

incompl avatar Nov 09 '12 16:11 incompl

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

oscardelben avatar Nov 10 '12 23:11 oscardelben

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

incompl avatar Nov 19 '12 15:11 incompl