Comments (6)
Got same error here.
running: ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux]
from betty.
I think this is due to the comments in the regex (the line with todo). It happens in earlier versions of Ruby. It wasn't happening in the pull request that this came from, or on my computer, due to our versions of Ruby being newer.
Someone made a PR with a fix, and I merged it. So try pulling again.
from betty.
pulled and tested master and dev branches. Got the same error but now on line 36 /process.rb:36
$ betty
/home/lpanebr/Applications/betty/main.rb:6:in `require': /home/lpanebr/Applications/betty/lib/process.rb:36: undefined (?...) sequence: / (SyntaxError)
(show|find|give|me|a|list|of|those|\s)*
(?<all>all\s)?
(?<my>my\s)?
PROCESS(es)?
(with|which|that|\s)*
(for|process|\s)* (id\s(?<process_id>[0-9]+))?
(for|belonging|belong|to|by|\s)* (user\s(?<user_id>\w+))?
((like|matching|with|pattern|containing|that|which|contain|\s)+ (?<pattern>\w+))?
/
from /home/lpanebr/Applications/betty/main.rb:6
from /home/lpanebr/Applications/betty/main.rb:6:in `each'
from /home/lpanebr/Applications/betty/main.rb:6
$ ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
from betty.
installing ruby1.9.1 solved the issue. I would be nice to?
- add a requirements section in the readme, and
- checking for requirements in the install script
On ubuntu 12.04 I solved it by:
$ sudo apt-get install ruby1.9.1
$ sudo update-alternatives --config ruby # when prompted select 1.9.1
from betty.
ruby1.9.1 solved it on ubuntu 10.04.
from betty.
requirement should be ruby 1.8, if a module needs higher ruby then it should give a warning instead of crashing. will be fixed ...
from betty.
Related Issues (20)
- Betty does not work with internet HOT 4
- Maintainer? HOT 1
- Go home doesn't actually work HOT 3
- betty says "Couldn't get a file descriptor referring to the console" while using web queries
- Add a setting to change the weather from Fahrenheit to Celsius and vice versa HOT 1
- Problem with command "go crazy"
- Problem with command "whats my real name" HOT 1
- command not found stuff on arch HOT 1
- command not found stuff on arch HOT 6
- Additional git support HOT 2
- BETTY warning Insecure world writable after speak to me command
- install.rb copies the wrong files if not in correct directory
- Can you please add a command for multiple directory creation
- Make installation possible via RubyGems? HOT 1
- Error: no say in HOT 1
- $ betty give me permission to this directory - incorrect semantics.
- how can i run it? HOT 4
- zsh install problems? HOT 3
- If you could add Italian HOT 1
- Can anyone update this code? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betty.