From: Martin B. <dr....@t-...> - 2016-08-20 09:27:11
|
Am 20.08.2016 um 02:09 schrieb John David Galt: > "sh rails.sh" produces the message: > > Error: Unable to access jarfile ./rails-@VERSION@.jar > > FWIW, there is no file with a name of that form in the project > directory. Here's what "ls" produces: > > AUTHORS > buildRails.xml > data > doc > html > images > lib > LICENSE > localisedText.properties > log4j.properties > make_rails_pkg.sh > manifest > my.properties > rails > rails.bat > Rails-format.xml > rails.sh > README > readme.txt > test > tiles > tools > version.number > > > On 08/19/2016 05:02 PM, john guthrie wrote: >> Or type: >> sh rails.sh >> from the directory it's in >> >> On Friday, August 19, 2016, Justin Rebelo <jus...@gm... >> <mailto:jus...@gm...>> wrote: >> >> I was figuring the issues is that it's not executable, which it >> would need to be for a "./script" type command to execute. >> >> So what does running "sh rails.sh" produce then? That should work >> even with simple read permissions. >> >> >> On Fri, 19 Aug 2016, 16:51 John David Galt, >> <jd...@di... >> <javascript:_e(%7B%7D,'cvml','jd...@di...');>> wrote: >> >> rails.sh is world readable. So is java. >> >> On 08/18/2016 04:04 PM, Justin Rebelo wrote: >> > chmod +x rails.sh >> > >> > Alternately, run: >> > >> > "sh rails.sh" >> > >> > On Thu, Aug 18, 2016 at 4:00 PM John David Galt >> > <jd...@di... >> <javascript:_e(%7B%7D,'cvml','jd...@di...');> >> <mailto:jd...@di... >> <javascript:_e(%7B%7D,'cvml','jd...@di...');>>> >> > wrote: >> > >> > Now I've gotten the JDK and git installed, and Rails >> cloned. However, >> > when I go to the Rails repository and perform >> > ./rails.sh >> > I get "permission denied". Any ideas? >> > >> Good Morning John, you havent build the jar-file yet. The directory listing you show is the srcdistribution from sourgeforge. rails.sh is in there because its needed and will be put into the release file by the build process. What kind of IDE do you use or plan to use ? eclipse ? If so and you have it installed switch to the ant-view in eclipse add the build.xml from the root-src-directory and run build project or build release. This should lead to a directory named rails-1.9.x or rails-2.x to appear :) Inside that directory you'll find another rails.sh this then should start rails from the commandline. if you want to work without an IDE you need to have "Apache Ant" installed to work with the provided build.xml in the root directory. Kind regards, Martin |