What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-29 20:44:02
serve current directory from command line
#Simplest way possible (thanks Aaron Patterson/n0kada): ruby -run -e httpd . -p 9090 # I have this in my .bashrc : function serve { port="${1:-3000}" ruby -run -e httpd . -p $port } # It serves the current directory on port 3000 by defa... Add solution -
Other 2021-08-29 00:21:02
undefined method `invoke_with_build_args' for nil:NilClass
# This case use rails I switched ruby version from 2.3.3 to 2.6.3 # Step 1 - in your terminal run: $ rvm list === Output === =* ruby-2.3.3 [ x86_64 ] ruby-2.6.2 [ x86_64 ] ruby-2.6.3 [ x86_64 ] ruby-2.6.5 [ x86_64 ] ruby-2.7.1 [ x86_64 ] # =&... Add solution -
Html 2021-08-27 12:13:03
how to use ruby in html
<!-- The <ruby> tag is used to display smaller text on top of another element. While it was designed for annotating Asian languages, it can be useful as a quick way of overlaying text. --> <!-- The <ruby> tag is a block contai... Add solution
Best helpers
Andrew Lowe
+5
Catimann
+5
Thruston
+5
Tralston
+5
Silver Rain
+5
Mahnaz
+5
JohnDoe
+5
Akiman Barwa
+5
PixelZerg
+5
Jeff Ava
+5