Sophrinix / TryRuby

Try Ruby is a interactive shell that quickly and whimsically teaches the Ruby programming language. Originally _why's idea, it has been recreated from the ground up by Rubyists who have a passion for Ruby and for teaching their fellow (wo)man how to program.
tryruby.org
345 stars 80 forks source link

require is not allowed #55

Open lukas2511 opened 13 years ago

lukas2511 commented 13 years ago

the tutorial is saying:

Type: require 'popup'

if i do this i just get a message telling me that i am not allowed to run this command :-/

Sophrinix commented 13 years ago

yeah when I fixed a security issue that was discovered last weekend, it apparently overly restricted try ruby. I am looking into it. Thanks for letting me know.

flammablesheep commented 13 years ago

Reporting similar issue, Google Chrome 6.0.458.1 dev, Mac OS X 10.6

corydeppen commented 13 years ago

Same here on 6.0.472.4 dev, OSX 10.6.4.

dmorrill commented 13 years ago

Just bumped into this as well. To other n00b users like me: don't forget you can just type "next" to keep going, don't get discouraged!

noctux commented 13 years ago

Just bumped into this as well. To other n00b users like me: don't forget you can just type "next" to keep going, don't get discouraged!

Problem is that you then miss the whole popup/link stuff :P So as a temporary fix, maybe preload them by default, so that next works

Occurs here on: Gecko/20100713 Firefox/3.6.7 Windows 7 and UZBL on Ubuntu 9.10 (sry, no version atm, because I haven't got the laptop with me)

ghost commented 13 years ago

require 'Popup' makes it say "false".

BrianHicks commented 13 years ago

Same, Google Chrome 5.0.375.125 regular on Windows. Although I doubt that has anything to do with it. ;)

ericdfields commented 13 years ago

Bump

Sophrinix commented 13 years ago

this should work. ill look into later why it doesn't. I have reverted the code base back to being ruby cgi based, so the session issue (a much bigger issue) was solved.

Sophrinix commented 13 years ago

this is a confirmed bug