From: Martin B. <dr....@t-...> - 2016-08-16 06:29:25
Attachments:
signature.asc
|
Am 16.08.2016 um 03:46 schrieb John David Galt jd...@di... [18xx]: > On 08/15/2016 10:30 AM, 'Tom McCorry' wrote: >> This has been a fascinating discussion on 1856 strategy. The tone is getting >> a little hostile so hopefully we can keep this to a state your view and not >> a "I need to prove the other person wrong" dialog. >> >> With that said, I would be happy to moderate an 1856 game via Rails to let >> the various strategy proponents show their stuff in a friendly game. Should >> be a great discussion item and a value to the larger 18xx community. >> >> What say ye? > I'm certainly trying to attack only ideas and not people, and I've been > very tempted to intervene to shut down certain recent flame-wars but > decided it wasn't really necessary yet. > > I sent that last missive before I was really ready; what I should have > said is the BBG takes a $90 loan, then buys the LPS's (or GW's) 3-train > for $1090. > > To the game proposal -- I would like to play but I have yet to get Rails > to compile or run on my new Ubuntu system. Any ideas appreciated. > Hi JDG, care to be a little bit more elaborative on your problems ? Regards, Martin |
From: John D. G. <jd...@di...> - 2016-08-16 18:01:51
|
On 08/15/2016 11:29 PM, Martin Brumm dr....@t-... [18xx] wrote: > Am 16.08.2016 um 03:46 schrieb John David Galt > jd...@di... [18xx]: >> On 08/15/2016 10:30 AM, 'Tom McCorry' wrote: >>> This has been a fascinating discussion on 1856 strategy. The tone is getting >>> a little hostile so hopefully we can keep this to a state your view and not >>> a "I need to prove the other person wrong" dialog. >>> >>> With that said, I would be happy to moderate an 1856 game via Rails to let >>> the various strategy proponents show their stuff in a friendly game. Should >>> be a great discussion item and a value to the larger 18xx community. >>> >>> What say ye? >> I'm certainly trying to attack only ideas and not people, and I've been >> very tempted to intervene to shut down certain recent flame-wars but >> decided it wasn't really necessary yet. >> >> I sent that last missive before I was really ready; what I should have >> said is the BBG takes a $90 loan, then buys the LPS's (or GW's) 3-train >> for $1090. >> >> To the game proposal -- I would like to play but I have yet to get Rails >> to compile or run on my new Ubuntu system. Any ideas appreciated. >> > Hi JDG, > > care to be a little bit more elaborative on your problems ? > Regards, > Martin OK. I go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and download the JDK, jdk-8u101-linux-x64.tar.gz Next, I double click on that file, and extract the files to /home/jdgalt/Programming/Java which creates the folder /home/jdgalt/Programming/Java/jdg1.8.0_101 . This exhausts the instructions given at https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html#BJFGGEFG so I don't know what to do next. I'm guessing there are paths and other settings that need to be done before Java will run. Now, what am I doing wrong? |
From: Mark W. <mw...@so...> - 2016-08-17 05:37:31
|
On 08/16/16 10:43 AM, John David Galt wrote: > On 08/15/2016 11:29 PM, Martin Brumm dr....@t-... [18xx] > wrote: >> Am 16.08.2016 um 03:46 schrieb John David Galt >> jd...@di... [18xx]: >>> On 08/15/2016 10:30 AM, 'Tom McCorry' wrote: >>>> This has been a fascinating discussion on 1856 strategy. The tone is getting >>>> a little hostile so hopefully we can keep this to a state your view and not >>>> a "I need to prove the other person wrong" dialog. >>>> >>>> With that said, I would be happy to moderate an 1856 game via Rails to let >>>> the various strategy proponents show their stuff in a friendly game. Should >>>> be a great discussion item and a value to the larger 18xx community. >>>> >>>> What say ye? >>> I'm certainly trying to attack only ideas and not people, and I've been >>> very tempted to intervene to shut down certain recent flame-wars but >>> decided it wasn't really necessary yet. >>> >>> I sent that last missive before I was really ready; what I should have >>> said is the BBG takes a $90 loan, then buys the LPS's (or GW's) 3-train >>> for $1090. >>> >>> To the game proposal -- I would like to play but I have yet to get Rails >>> to compile or run on my new Ubuntu system. Any ideas appreciated. >>> >> Hi JDG, >> >> care to be a little bit more elaborative on your problems ? >> Regards, >> Martin > > OK. I go to > > http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html > and download the JDK, > jdk-8u101-linux-x64.tar.gz > Next, I double click on that file, and extract the files to > /home/jdgalt/Programming/Java > which creates the folder /home/jdgalt/Programming/Java/jdg1.8.0_101 . > > This exhausts the instructions given at > > https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html#BJFGGEFG > so I don't know what to do next. I'm guessing there are paths and other > settings that need to be done before Java will run. > > Now, what am I doing wrong? Just a note, the issue you are currently having isn't related to rails, but rather related to getting java installed. However, after you extract it, /home/jdgalt/Programming/Java should contain the java installation, eg, the javac executable itself being /home/jdgalt/Programming/Java/jdk1.8.0_101/bin/java (some files will exist in .../jdk1.8.0_101/jre/bin/ At least the old official release I have on my system (1.7.12) has a rails.sh, but it is a pretty trivial program. If you use an official release, you probably don't need to worry about compiling, and can just do something like: /home/jdgalt/Programming/Java/dk1.8.0_101/jre/bin/java rails-<version>.jar |
From: John D. G. <jd...@di...> - 2016-08-18 23:00:48
|
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? |
From: Justin R. <jus...@gm...> - 2016-08-18 23:04:40
|
chmod +x rails.sh Alternately, run: "sh rails.sh" On Thu, Aug 18, 2016 at 4:00 PM John David Galt < 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? > > > ------------------------------------------------------------------------------ > _______________________________________________ > Rails-users mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-users > |
From: John D. G. <jd...@di...> - 2016-08-19 23:51:33
|
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... <mailto: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? > > ------------------------------------------------------------------------------ > _______________________________________________ > Rails-users mailing list > Rai...@li... > <mailto:Rai...@li...> > https://lists.sourceforge.net/lists/listinfo/rails-users > |
From: Justin R. <jus...@gm...> - 2016-08-19 23:55:40
|
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...> 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... <mailto: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? > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Rails-users mailing list > > Rai...@li... > > <mailto:Rai...@li...> > > https://lists.sourceforge.net/lists/listinfo/rails-users > > > > |
From: john g. <gr...@gm...> - 2016-08-20 00:02:33
|
Or type: sh rails.sh from the directory it's in On Friday, August 19, 2016, Justin Rebelo <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? >> > >> > ----------------------------------------------------------- >> ------------------- >> > _______________________________________________ >> > Rails-users mailing list >> > Rai...@li... >> <javascript:_e(%7B%7D,'cvml','Rai...@li...');> >> > <mailto:Rai...@li... >> <javascript:_e(%7B%7D,'cvml','Rai...@li...');>> >> > https://lists.sourceforge.net/lists/listinfo/rails-users >> > >> >> |
From: John D. G. <jd...@di...> - 2016-08-20 00:09:51
|
"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? > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Rails-users mailing list > > Rai...@li... > <javascript:_e(%7B%7D,'cvml','Rai...@li...');> > > <mailto:Rai...@li... > <javascript:_e(%7B%7D,'cvml','Rai...@li...');>> > > https://lists.sourceforge.net/lists/listinfo/rails-users > <https://lists.sourceforge.net/lists/listinfo/rails-users> > > > |
From: Martin B. <dr....@t-...> - 2016-08-20 09:27:11
Attachments:
signature.asc
|
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 |