• What are you working on? v7
    7,420 replies, posted
Yes, I completely agree, but when I install Passenger, it appears to detect the 1.8.7 installation and suggests me to set up nginx with "passenger_ruby /usr/bin/ruby1.8.7" even though it doesn't exist. And if I set it up to use the 1.9.3 installation ("passenger_ruby /usr/local/rvm/rubies/ruby-1.9.3-p125; ") it shows the error I previously shown to you.
did you happen to install passenger while 1.8.7 was installed?
Yeah, when I first installed it. Later I removed 1.8.7 because it was causing problems, then I install 1.9.3, then I (tried) reinstalled Passenger but it still thinks 1.8.7 exists..
It sounds like you have a borked Ruby situation. My recommendation is to install Arch (it's awesome, every package is up to date) and install ruby through the package manager. That way you'll have a clean slate to work with and you should have no issues.
I'll try a fresh install of Debian, if I f' that up too, I'll try Arch.
What's passanger and why is it good?
[QUOTE=jaybuz;35189942]What's passanger and why is it good?[/QUOTE] this is actually what i'm wondering why can't you just use the fastcgi server that came with rack
Passenger allows you to deploy multiple apps without having to deal with shitty fastcgi, you just add in "passenger_enabled on;" to your nginx vhost and you're pretty much ready to go. No mess, no fuss.
One question I need to ask, I'm working on the sentence generator thingy and I'm having troubles with mysql, this code works: [code] $query="SELECT * FROM Story WHERE Type = 'sentence'"; $sent_array=mysql_query($query,$link); $noofsent=mysql_numrows($sent_array); [/code] BUT this doesn't: [code] $query="SELECT * FROM Story WHERE Type = 'sentence' AND Check = 0"; $sent_array=mysql_query($query,$link); $noofsent=mysql_numrows($sent_array); [/code] And I'm getting this error: Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in storytiem/index.php on line 70 I've also tried this " Check = '0' " Also one more from my story generator, its coming along pretty well [quote]I went to this fashion show dressed up as a lubricated erotic Lollipop and I thought I was pretty clever until I saw this undead lubricated wrinkly old hyper fast European Barry . [/quote]
I'm currently working on a site called Codemash ([url]http://codemash.co.uk[/url]) basically its where people can share their useful code, help others and even ask for help yourself. It will have free webhosting, SVN, GIT hosting, live viewable coding so people can watch you code as you go along, and lots of other things that I am still thinking about. If you have a spare minute can you fill this in for me please. [url]https://docs.google.com/spreadsheet/viewform?formkey=dHpHVWdPZUJ1enNiVEIwM01Mb0VwNmc6MQ[/url]
[QUOTE=borisjake;35196232]One question I need to ask, I'm working on the sentence generator thingy and I'm having troubles with mysql, this code works: [code] $query="SELECT * FROM Story WHERE Type = 'sentence'"; $sent_array=mysql_query($query,$link); $noofsent=mysql_numrows($sent_array); [/code] BUT this doesn't: [code] $query="SELECT * FROM Story WHERE Type = 'sentence' AND Check = 0"; $sent_array=mysql_query($query,$link); $noofsent=mysql_numrows($sent_array); [/code] And I'm getting this error: Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in storytiem/index.php on line 70 I've also tried this " Check = '0' " Also one more from my story generator, its coming along pretty well[/QUOTE] I assume you mean mysql_num_rows and do mysql_query(<whatever>) or die(mysql_error()); to find out what's wrong.
[QUOTE=wilki;35201927]I'm currently working on a site called Codemash ([url]http://codemash.co.uk[/url]) basically its where people can share their useful code, help others and even ask for help yourself. It will have free webhosting, SVN, GIT hosting, live viewable coding so people can watch you code as you go along, and lots of other things that I am still thinking about. If you have a spare minute can you fill this in for me please. [url]https://docs.google.com/spreadsheet/viewform?formkey=dHpHVWdPZUJ1enNiVEIwM01Mb0VwNmc6MQ[/url][/QUOTE] sooooo github-but-not-github?
[code]PCRE (required by Nginx) not installed, downloading it... # wget -O /tmp/root-passenger-27881/pcre.tar.gz ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz --2012-03-19 13:51:33-- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz => `/tmp/root-passenger-27881/pcre.tar.gz' Resolving ftp.csx.cam.ac.uk... 131.111.8.80 Connecting to ftp.csx.cam.ac.uk|131.111.8.80|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/software/programming/pcre ... done. ==> SIZE pcre-8.12.tar.gz ... done. ==> PASV ... done. ==> RETR pcre-8.12.tar.gz ... No such file `pcre-8.12.tar.gz'. -------------------------------------------- PCRE could not be downloaded Nginx requires PCRE for its rewrite module, so this installer will attempt to install Nginx without the rewrite module.[/code] Who moved my file!
[QUOTE=H4Z3Y;35202902]sooooo github-but-not-github?[/QUOTE] Pretty much yeah but it will have alot more features that github doesn't have.
[QUOTE=wilki;35203144]Pretty much yeah but it will have alot more features that github doesn't have.[/QUOTE] like what? [editline]19th March 2012[/editline] and how do you plan to do the git hosting
[QUOTE=jaybuz;35203062][code]PCRE (required by Nginx) not installed, downloading it... # wget -O /tmp/root-passenger-27881/pcre.tar.gz ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz --2012-03-19 13:51:33-- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz => `/tmp/root-passenger-27881/pcre.tar.gz' Resolving ftp.csx.cam.ac.uk... 131.111.8.80 Connecting to ftp.csx.cam.ac.uk|131.111.8.80|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/software/programming/pcre ... done. ==> SIZE pcre-8.12.tar.gz ... done. ==> PASV ... done. ==> RETR pcre-8.12.tar.gz ... No such file `pcre-8.12.tar.gz'. -------------------------------------------- PCRE could not be downloaded Nginx requires PCRE for its rewrite module, so this installer will attempt to install Nginx without the rewrite module.[/code] Who moved my file![/QUOTE] install libpcre-dev
Have no idea what to do with the menu... [url]http://hrvoje.microskip.com/bb/[/url]
[QUOTE=Miljaker;35210398]Have no idea what to do with the menu... [url]http://hrvoje.microskip.com/bb/[/url][/QUOTE] Not sure what exactly you should do but it looks a little too much like the content, maybe work with different shades or maybe even invert the colours around to the background on the nav is the same colour as the text and the text is what the background was.
[QUOTE=Miljaker;35210398]Have no idea what to do with the menu... [url]http://hrvoje.microskip.com/bb/[/url][/QUOTE] the extra white space you have in the menus. add like 3-5 more padding in the right.
[QUOTE=Miljaker;35210398]Have no idea what to do with the menu... [url]http://hrvoje.microskip.com/bb/[/url][/QUOTE] Bit more whitespace, maybe make the smaller text lighter? And color on the larger text on hover?
[img]http://i.jung3o.com/img_222503.png[/img] WAYWO :D It's for MyBB :smile:
[url]http://dl.dropbox.com/u/41041550/index.html[/url] :D
[QUOTE=dije;35215397][url]http://dl.dropbox.com/u/41041550/index.html[/url] :D[/QUOTE] Such a shame it's never saved. Maybe you should look up a way to do that?
[QUOTE=T3hGamerDK;35215828]Such a shame it's never saved. Maybe you should look up a way to do that?[/QUOTE]That's my plan
just reigstered the domain name weaboos.com, then found out i spelled weeaboo wrong goddamnit
[IMG]http://puu.sh/lMh6[/IMG] Thoughts? Too much green?
Personally I don't think it's too much green, but "Dashboard-title" have a weird shadow :S and the icons on each sides of the "Dashboard-title" is blurry. I do like the design :)
The shadow on the dashboard text is due to me trying to have some kind of inner shadow effect on my text, can't quite work it out though. I'll sort out those icons too.
Neck deep in RSpec right now writing a bunch of tests for some fairly complicated search functionality.
[QUOTE=inconspicious;35235445]The shadow on the dashboard text is due to me trying to have some kind of inner shadow effect on my text, can't quite work it out though. I'll sort out those icons too.[/QUOTE] Try to make the text-shadow only at the top, if u want it engraved.
Sorry, you need to Log In to post a reply to this thread.